This repository is a starting point for exploring cross-chain inter-operability using the Attestcoin protocol. Today, it contains several examples covering Attestcoin readability. Coming soon: examples using Attestcoin writability!
By running through the tutorials in this repository, you will set up and interact with your own decentralized bridge and loan examples.
Before attempting any of the tutorials, make sure the following are installed:
Install dependencies from the repository root:
yarnSet up Foundry:
foundryup --version v1.2.3We recommend going through them in this order:
- 📚 Hello Bridge — pre-deployed contracts, manual proof submit
- 📚 Custom Contracts Bridging — deploy your ASC + optional worker (§7)
- 📚 Bridge Offchain Worker — short reference (main flow in custom-contracts §7)
- 📚 Loan Flow — reuses decoder library from bridge