Examples

June 2, 2021 ยท View on GitHub

We provide some samples written in Ask!:

  • flipper : shows how to flip a boolean.
  • incrementer : shows how to load, modify and restore a state variable.
  • crosscall : shows how to do a cross call between contracts written in ink! and Ask!.
  • erc20: shows how to write an ERC20 contract with Ask!.
  • erc721: shows how to write an ERC721 contract with Ask!.
  • composite: shows how to store / reload composite data types.