cTh-LibraryBorrow Demo

Berachain Mainnet - Gas-Free Demo

Relay active - transactions are gas-free!

1. Connect Wallet

Connect your wallet to interact with the demo. Use MetaMask or WalletConnect.

2. Select Borrower Role

3. Execute Actions

Current State

Block
Book
None
B1 Status
⚪ Idle
B2 Status
⚪ Idle

Key Wrapping Visualization

Content Key K
Same for all borrowers
+ B1 ViewKey
wrapped_K1
+ B2 ViewKey
wrapped_K2
Both unwrap to same K:
unwrap(wrapped_K1, viewKey1)
= K ✓
unwrap(wrapped_K2, viewKey2)
= K ✓

Transaction Log

Connect wallet and execute actions to see transactions...

Contract Addresses

LibraryRegistry0x5b73C5498c1E3b4dbA84de0F1833c4a029d90519
BorrowQueue0x90193C961A926261B756D1E5bb255e67ff9498A1
NullifierRegistry0x7FA9385bE102ac3EAc297483Dd6233D62b3e1496
ViewingKeyRegistry0x34A1D3fff3958843C43aD80F30b94c510645C316
LibraryCore0xA8452Ec99ce0C64f20701dB7dD3abDb607c00496