Skip to content

A smart contract architecture built for realizing onchain carbon credit tokenomics.

License

Notifications You must be signed in to change notification settings

a2468834/agchain-contract

Repository files navigation

Agchain Contract

Please make sure you have already installed Foundry globally

Useful commands

  1. Install dependencies
$ forge install # Without any argument
  1. Compile
$ forge build
  1. Run test scripts
$ forge test
$ forge test -vvvv
$ (forge build; clear; forge test)
  1. Clean the build artifacts and cache
forge clean
  1. Deploy contracts
forge script script/deploy.s.sol:Deploy --rpc-url sepolia --broadcast --verify -vvvv
  1. Other commands
$ cast run <TXN_HASH> --rpc-url sepolia -vvv
$ cast tx <TXN_HASH> --rpc-url sepolia
$ cast receipt <TXN_HASH> --rpc-url sepolia

About

A smart contract architecture built for realizing onchain carbon credit tokenomics.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published