Alfred Lu
@murmurlu
Alfred Lu
@murmurlu
🍩 Here is a Blockchain Developer from Taiwan. I am researching both Layer2 & ZKP & Account System to construct advanced patterns of decentralized applications, or even the underlying architecture of
🍩 Here is a Blockchain Developer from Taiwan. I am researching both Layer2 & ZKP & Account System to construct advanced patterns of decentralized applications, or even the underlying architecture of
Taipei, Taiwan
Devfolio stats
Devfolio stats
1
project
1
0
prizes
0
1
hackathon
1
0
Hackathons org.
0
GitHub
GitHub
458
contributions in the last year
Apr
S
M
T
W
T
F
S
Mar
37
stars earned
75
repositories
36
followers
Top Projects
Top Projects
Overview ZecretPipe is a privacy-first cross-chain messaging service between Starknet and Zcash. Unlike traditional bridges that only transfer tokens, ZecretPipe can transmit arbitrary data (as long as it can be cryptographically proven). This enables advanced use cases beyond simple asset transfers, including: dApp coordination: Cross-chain smart contract interactions and composability Privacy-preserving credentials: Anonymous identity verification and authentication across chains Custom applications: Developers can build their own cross-chain applications on top of ZecretPipe by designing custom payload formats Because ZecretPipe transmits verifiable information rather than just assets, it serves as a general-purpose messaging infrastructure that unlocks true cross-chain interoperability. Starknet ←→ [Messaging Layer] ←→ Zcash ↓ ↓ ↓ Events Relay Memo Field State Verify Transactions Contracts Route Notes The messaging layer provides the following capabilities: Event listening - Monitors state changes on both chains in real-time Message routing - Securely relays messages between chains with encryption Action triggering - Triggers corresponding actions on the destination chain automatically Verification - Ensures message integrity and authenticity of the source through cryptographic proofs > Acts as an orchestrator and relay layer that listens to transactions or state changes on one chain and securely mirrors or triggers corresponding actions on the other (cross chain interoperability). Why ZecretPipe Matters? Infrastructure Play: Building a protocol layer, not just a single application—enabling an entire ecosystem of cross-chain dApps First Mover Advantage: First-ever Starknet ↔ Zcash cross-chain messaging protocol Real Value: Solves actual needs for both ecosystems: Starknet: Gains privacy features leveraging Zcash's zero-knowledge technology Zcash: Gains DeFi composability and smart contract capabilities through Starknet integration Scalability & Extensibility: Today: Starknet ↔ Zcash messaging Tomorrow: Extensible architecture to support any chain Future: Become a universal privacy-preserving cross-chain messaging standard Application Examples > What we can build based on ZecretPipe as Infrastructure. Developers can design their own encoding formats in the payload—such as adding nonce, expiration, signature, etc.—to build custom applications on top of ZecretPipe for message passing and verification. Privacy-Preserving DeFi Bridge (wZEC) Wrap Zcash assets to use in Starknet DeFi protocols Maintain transaction privacy while enabling DeFi composability Bridge liquidity between privacy-focused and DeFi ecosystems Cross-Chain Notifications DeFi protocols notify users about liquidations, yield opportunities, or governance proposals Privacy-preserving alerts that don't reveal user identities or holdings Smart contract events trigger encrypted notifications across chains Anonymous Voting System DAO voting while preserving voter privacy Voting records stored publicly on Starknet for transparency Voter identities verified through Zcash for anonymity Prevents vote buying and coercion while maintaining verifiability Cross-Chain Identity Verification Prove cross-chain identity without revealing the specific address linkage Starknet users prove they control a Zcash address without exposing which one Enable privacy-preserving reputation systems across chains Security and Trust Consideration Relayer Network Design Phase 0 - Centralized MVP Just Zecret Official Relayer Phase 1 - Half Decentralized Relay Node 1 (Starkware) Relay Node 2 (Zcash ECC) Relay Node 3 (Trustworthy Community) Relay Node 4 (ZecretPipe Official) Relay Node 5 (Trustworthy Partner) Phase 2 - Totally Decentralized Relayer Network Reputation Mechanism Challenge Mechanism Staking Mechanism (stake ETH/STRK tokens) Economic Security: Slash malicious relayers & Reward honest behavior Privacy Solution Method A: Subscription Notifications (Lower Privacy) Pros: Real-time notifications, excellent user experience Cons: Relay knows you're expecting messages (metadata leakage) Method B: Stealth Addresses (Medium Privacy) Pros: Recipients can efficiently filter messages meant for them Cons: High technical complexity to implement Method C: Active Scanning (Highest Privacy) Pros: Complete privacy—no one knows you received a message Cons: Requires scanning all messages, lower efficiency
Medium Posts
Medium Posts

Something about MEV in StarkNet
medium.com
本文主要介紹當前 StarkNet 上的 MEV 背景資訊和未來展望。 Author: ChiHaoLu(chihaolu.eth) Current StarkNet Transaction Order 本章主要探索在當下中心化 sequencer 的模式下,交易的排序狀況 在目前的 StarkNet 中,交易主要被中心化 sequencer 做排序,這意味著只有一台機器在處理交易,而該機器由一個 StarkWare 官方的實體運作。 在 StarkNet 上,交易的生命週期如下:用戶的交易會直接提交給 sequencer,然後,sequencer 會標記用戶的交易已被接收(RECEIVED)。該交易會由 sequencer 於用戶的 AA 帳戶上進行驗證(如何驗證交易授權會以帳戶合約的實作而定)。 如果通過驗證,它會進入 FIFO 的交易池(PENDING)。隨後,它會由 sequencer 進行驗證和執行並且產生證明(ACCEPTED_ON_L2)。由於 StarkNet 是 ZK Rollup,只有當它為該交易所在的區塊產生證明並上傳到 L1 時,該交易才能得到最終敲定(ACCEPTED_ON_...
How to Optimize My Selenium for Faster Execution
medium.com
做壞壞的事情時的一些筆記 1. Reduce Browser Overhead Headless Mode: If visual feedback is unnecessary, use the --headless browser flag to run tests without displaying the browser. Block Unnecessary Resources: Disable images, CSS, or other elements that aren’t required for the tests via WebDriver options. 2. Efficient Waiting Mechanisms Avoid sleep(): Using sleep() can waste time or fail if the timing is unpredictable. Instead, rely on WebDriverWait with Expected Conditions: Use element_to_be_clickable() for action...
How to Make Python Run Faster
medium.com
How to Make My Python Run Faster 做壞壞的事情時的一些筆記 Factors Affecting Python Runtime Speed Python Interpreter Alternative Interpreters: Rewrite code as C extensions or use Cython, which allows writing fast extensions in a Python-like syntax. Use PyPy for Just-In-Time (JIT) compilation, which can significantly speed up long-running applications. Version Matters: Always use the latest stable Python version for the best optimizations. Virtual Environment Helps avoid dependency conflicts. Prevents global vari...