Skip to content
Boilerplate for EOSIO Smart Contract
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
include Add notechain example to boilerplate Jul 6, 2019
resources Add notechain example to boilerplate Jul 6, 2019
src Add notechain example to boilerplate Jul 6, 2019
.gitignore Add initial files to boilerplate Jun 28, 2019
LICENSE
README.md Add notechain example to boilerplate Jul 6, 2019
build.sh Add notechain example to boilerplate Jul 6, 2019

README.md

EOSIO Smart Contract Boilerplate

Build

./build.sh

Smart Contract Name: notechain

Table struct:

  • notestruct: multi index table to store the notes
    • prim_key(uint64): primary key
    • user(name): account name for the user
    • note(string): the note message
    • timestamp(uint64): the store the last update block time

Public method:

  • isnewuser => to check if the given account name has note in table or not

Public actions:

  • update => put the note into the multi-index table and sign by the given account

Note: Replace the contract class name when you start your own project

You can’t perform that action at this time.