eosio storage smart contract for the dconnect network
eosio-cpp eosio_storage.cpp -o eosio_storage.wasm
cleos set contract ./
precede each action with the users name
(remove the <> brackets and add your own information)
cleos push action <contract name> set '[ "<user name>","<table key>","<value>" ]' -p <user name>@active
cleos push action <contract name> edit '[ "<user name>","<primary key>" ]' -p <user name>@active
cleos push action <contract name> erase '[ "<user name>","<primary key>" ]' -p <user name>@active
You can read items either from global scope
cleos -u https://dconnect.live get table <contract name> <contract name> post
You can also read items from user scope (look at this as the users profile)
cleos -u https://dconnect.live get table <contract name> <user name> post