Skip to main content

One post tagged with "ink!"

View All Tags

Β· 21 min read

Our tool coq-of-rust enables formal verification of πŸ¦€Β Rust code to make sure that a program has no bugs given a precise specification. We work by translating Rust programs to the general proof system πŸ“Β Coq.

Here, we show how we formally verify an ERC-20 smart contract written in Rust for the Aleph Zero blockchain. ERC-20 smart contracts are used to create new kinds of tokens in an existing blockchain. Examples are stable coins such as the πŸ’²USDT.