Skip to content

Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

celo-org/foundry

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Foundry with Celo support

This fork of Foundry adds features specific to the Celo blockchain to make it easier to develop, test, and deploy smart contracts on Celo. At the moment, the only addition is support for Celo's transfer precompile to anvil. To make use of it, run anvil with the --celo flag.

Transfer Precompile

The transfer precompile is necessary for Celo's [Token Duality feature] and is meant to be only called from the CELO token contract.

Validation of caller address

The real transfer precompile checks that the caller is the CELO token contract. To make testing and development easier, this check is not enforced in Foundry.

Gas estimation issues

When using operations that require a certain balance of native tokens (like sending CELO tokens via the tokens ERC20 transfer function), the gas estimation can fail even though there are valid gas limits that make the transaction succeed. You can work around this by manually specifying the gas limit for your transaction.

About

Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 99.4%
  • Shell 0.4%
  • Solidity 0.1%
  • Makefile 0.1%
  • Dockerfile 0.0%
  • Nix 0.0%