Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Here is the code
I deployed it with the following command:
cleos set contract . demo.wast demo.abi -p demo
and query it with:
cleos get table demo demo demos
typedef multi_index<N(demos), d> demo_table
the first parameter is table name, please keep same with your abi description
Required, but never shown