You are viewing a single comment's thread from:

RE: Exploratory Analysis Shows World of Opportunity with JSON and STEEM

in #utopian-io6 years ago

Thanks. By database, I meant the blockchain that records data and can be accessed, but has permissions to prevent anyone from just entering any data they want on behalf of others, that there is a record of who enters data to validate it in some way.

For your example with transfer_stratos, the addition of a new transfer_stratos field saying to transfer is signed by the account, giving it authority, right? I just want to know if there is authorization to manage data. Like a database, there are access permissions. Fields in custom JSON have the account of whoever added that field I assume. So when an app adds data to custom JSON, it can do so on it's own account, or as a user ont he app that has authorized it to do so, for example with SteemConnect scope. Is this accurate?

I'll check out the thread. Thanks for taking the time!

Sort:  

Yes, the transfer is signed by the account’s posting key. And yes, also apps can sign custom_json transactions on behalf of users.

Thanks. Is there a guide somewhere on how to do custom JSON? With dsteem or another library? I'll try to google search for it at some point ;) Thanks again for the informative discussion!

The only way I know to access custom_json transactions is directly through blocks — I’ve written a library called steem-state (and helper library steem-transact) that uses dsteem to make it easier to make custom_json DApps. There’s 3 tutorials, the first of them being in the README at https://github.com/nicholas-2/steem-state

By the end of the 3 tutorials you’ll have a fully functioning custom_json token!

Sweet! Thanks again!