Examples

Examples can be found in the examples directory. The equivalent C++ code has been provided where possible.

Directory Description
addressbook An example of how to interact with tables using secondary indexes.
eosio_token The standard eosio.token contract ported to Rust.
hello The most basic contract using the eosio crate.
hello_bare A bare bones version of the hello contract without any dependencies.
tictactoe An example of how to interact with EOSIO tables.