The SteemIt SideChain looks so simple to use in code, could it really be that easy?

in #steem8 years ago (edited)

It seems that I'm getting kind of addicted to the wonders in the Steem realm. While I was roaming around from post to reply, voting up here and there, I started to dig deeper into API's and the howtos and the whatnots. Don't pull HTML and parse it, use the API, like Luke uses the force. Piston is cool, websocketd rocks and the steemjs lib does a great job.

And then I thought that I wanted to compile at least the Steem CLI wallet. What got me to the SteemIt github again. And there it was, like developer Dan had announced in a kind of teasing post: THE SIDECHAIN FILE! FOW!!! This was exciting, it is real, it is there, in code:

Outtakes of the sidechain.hpp file:

..
namespace steemit { namespace sidechain {
..
FC_REFLECT( sidechain_transfer_operation, (sidechain)(from)(to)(amount)(memo) )
..
FC_REFLECT_DERIVED( steemit::sidechain::side_account, (graphene::db::object),
(sidechain)(name)(steem_balance)(dollar_balance)
..

The complete code can be found at GitHub

Had left my mind wandering about how these SideChains would be implemented. And the crazy idea started to emerge about how a post itself could become a SubChain. Where the title could be some kind of genesis code, base64 encoded, bla bla bla, jada jada jada. The body text in the main post would not have to be human readable, it could be compressed byte code. And one would have a maximum of 24 hours to debug it, the length of a round. Kind of exciting idea... The replies would function likewise, connecting to the main genesis post and one could do just about anything with it.

Dreams, dreams, dreams

In the first post and the replies it could start off with a unique identifier, to let blog creators know they'd not need to bother losing parsing time on this one. Well, far fetched and weird, I know, but sometimes from these kind of brainstorms actually comes something usefull. And one thing where I got stuck in this whole wicked idea, that could be well used with the API, was where the payments would come in. Something could be done with Public Key encryption, where there is not only a password, but also an extra 8 figure nonce code. This would make a look-up-table password guess more difficult. But it would only work for members of the main chain at SteemIt.

And even if this kind of could have some use to it. Maybe for implementing it into a Wordpress driven Blog, an online Photoalbum or even somehow connected to Twitter, it was not what my real idea of a SubChain would be.

Sidechain with it's own accounts

So there it was, stared it right in the face, the code of Dan the man himself. Every SideChain will become a SteemIt realm of it's own, including it's own unique set of accounts... FOW! And it is still mind boggling to me, but I think this is going to turn things up a notch or two, soon. Can you imagine what would be possible with this?

Steem's getting more and more of an exciting adventure.

Sort:  

Good luck in your research
Respect the past, create the future!

Thanks! Like that credo.

Keep up the great work @oaldamster!

Gutentag @weenis, danke!

moin ! and thank you for this article!

Mind blowing when start thinking further, right ?

but be careful .. :)

BOLD WARNINGs

  • intotherabbithole
  • mind blowing
  • holy moly effect
  • intotherabbithole :P

last one named twice as u should as twice as careful...


(guess i'm biased so .. feel free to ignore my stupid comments) :)

Moi! You are welcome!

Hahaha, that might come in handy, that kind of warning.

And thanks for your reply, it made me a smile!

So you got your vote up!

@Dan has already plan out the futue of Steem.
https://steem.io/roadmap/

Thanks for the link!

You're welcome.

Not easy for everyone. Nice findings though.

Thanks, you are right, it is relatively, to the subject, 'easy'.

Just read the entire post, still have no clue what the implications really are?
Can someone explain in simple terms why sidechains would be good for steemit?
@oaldamster I'm just not a programmer, and I know almost zilch about coding so some of it reads like gibberish to me. :)

Will do my best to explain in a couple of hours @kareemaudi

Going to write another post on this.
Will put the link here when I'm done.

Still have 7 hours left to do so... ;-)

thank you

I wish it was that simple to me. Its a curse ive always been able to understand every system except programming... you should let me pay you to get my site online.

What you could do, with the use of SteemIt, is to write a post about what your site is supposed to do. An open invitation, so to speak. Making it a kind of crowdfunding too.

Because, allthough I do/did/willdo websites, I guess you mean non standard stuff, so not just a WordPress thing. But Steem connected. And I think there are very smart talented programmers here at SteemIt, that might wanto pick up the challenge.

Will then read it too for sure, but I know I'm not in that league that will be needed for, what I guess, is going to be quite a complex project, under the hood.

Saw that you also have an idea to use the current System with an extra addition. Think PM is going to be implementeren in SteemIt. Don't know on what time scale

Here is an Archive of Cryptocurrency App building Code on Github for anyone creating a Steemit app
https://steemit.com/steem/@marsresident/github-cryptocurrency-app-creation-archive

That is quite an extensive list there. It kind of shows what a dataset use build upon the current SteemIt system could look like, without the use of a SideChain. But it also might be a future use for a Steem connected SideChain. A huge knowledge linkdatabase build on the blockchain. Currently it might be possible in a different way, in a way I decribe in my post. The API is the key.

What I miss though is Slothcoin. ;-)
https://github.com/oldambtster/Slothcoin

Similar to SP, SMD tokens cannot be purchased directly on an external exchange. SMD are primarily earned through contributing but can be purchased by converting STEEM tokens to SMD tokens.

Actually Steem Dollars can now purchased on external exchanges !
https://poloniex.com/exchange#btc_sbd
https://bittrex.com/Market/Index?MarketName=BTC-SBD

PS Abbreviation of SBD = Steem Backed Dollars
or just SD = Steem Dollars (not SMD please edit)

SBD are indeed earned. Half of the 24 hour round payout is in Steem Backed Dollar. And the other half is in SBD converted at the current market rate value into an inVESTSment, aka Steem Power. And I read somewhere that on the exchanges you mention the SBD are traded at 135%??? Now that is weird...

A future Steem Wallet could fit SBD on a SMD though. Being a Small Mounted Device with internet connection.

But I'm drifting off subject here again...

mewak ge ge bit der wha @_@

He aha te tikanga a koutou?

Yes! My point excatly

i feel something interesting... Oh, it is yor post, i suppose.

¯\_(ツ)_/¯

Coin Marketplace

STEEM 0.19
TRX 0.16
JST 0.030
BTC 68596.26
ETH 2701.49
USDT 1.00
SBD 2.72