RE: Introducing DTube: a decentralized video platform using STEEM and IPFS

You are viewing a single comment's thread from:

Introducing DTube: a decentralized video platform using STEEM and IPFS

in video •  7 years ago 

There is a mechanism on the blockchain where you can share rewards of a content with other users. We force this feature on our upload page. I wrote another tool before to do it yourself, you can try it there: https://steemwhales.com/post/ (also you can see the source code in the html)

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Ok, understand thanks for the example. Where can I get an explanation of the methods that are available in steemjs ?

On Github its just listed: https://github.com/steemit/steem-js/tree/master/doc#content
But I dont understand what they do in context of interacting with the blockchain database. And what the expected parameters are when calling them.

Oh also, there is a quite active channel #steemjs on steemit.chat where many people can help you and answer questions ;)

you can find methods by exploring the steem object of steemjs, all reads are in api, all writes in broadcast.

To see the arguments passed to the blockchain, the best doc is this at the moment: https://steemit.github.io/steemit-docs/

The best way to do it in my opinion if you want to go in depth is to read the blockchain source source here: https://github.com/steemit/steem/blob/27b7bdf04c3d195b97328bb20c27d659dc8ae31d/libraries/app/database_api.cpp#L1491

Thanks :)