A simple ink! contract that wraps the Asset Hub precompile.
This contract lets you interact with Passet Hub assets using standard ERC20 methods like totalSupply()
, balanceOf()
, and transfer()
.
- Install cargo-contract from master:
cargo install --git https://github.com/use-ink/cargo-contract cargo-contract --force
- Build the contract:
cargo contract build --release
Follow the ink! docs to deploy on Passet Hub.