Skip to content

Repository files navigation

🌉 Attestcoin Protocol Examples 🌉

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 you start

Before attempting any of the tutorials, make sure the following are installed:

Install dependencies from the repository root:

yarn

Set up Foundry:

foundryup --version v1.2.3

Tutorials

We recommend going through them in this order:

  1. 📚 Hello Bridge — pre-deployed contracts, manual proof submit
  2. 📚 Custom Contracts Bridging — deploy your ASC + optional worker (§7)
  3. 📚 Bridge Offchain Worker — short reference (main flow in custom-contracts §7)
  4. 📚 Loan Flow — reuses decoder library from bridge

External Resources

About

This repository contains contracts, scripts, and instructions demonstrating how to use the Attestcoin Protocol to move data between blockchains.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages