Some experiments on writing EOS contracts using AssemblyScript (A subset of Typescript)
There are 3 contracts currently:
- Helloworld
- Todolist
- Bank
Demonstrates a simple contract to print messages on the console
There are 6 actions on this contract:
- add
- assign
- get
- update
- remove
- removeall
This contract demonstrates how to interface with the EOS C API to store rows on the EOS database
There are 3 actions on this contract and a listener for the transaction action of eosio.token:
- transfer (listens to the transfer action when tokens are transfered to this contract)
- withdraw
- refundall
- getsymbol
This contract demonstrates handling of incoming transfers and using the send_inline
API to send actions.
Special thanks to EOSArgentina for the sample game of life contract.