Post
Topic
Board Announcements (Altcoins)
Re: BYTEBALL: Totally new consensus algorithm + private untraceable payments
by
evok3d
on 13/11/2017, 17:42:45 UTC
i had a question regarding the decentralised nature of byteball. It seems that the smart contracts are just bots using some special features making them very centralised. Any comments or feedback would be great.


What do you mean? Smart contracts can be used by anyone. You probably mean the oracles? Like the time oracle, which is a node that posts timestamps. Its true there is only one at the moment. But anyone could create one and utilize it. Or even a bunch of them and creat a smart contract which uses 5 oracles as a source.

I am yet to find the protocols for a smart contract / smart contract code, is there a documentation explaining how to code a smart contract on byteball?

My comment is based on: https://github.com/byteball/ico-bot

Which is just a bot to run the ICO to interact with the database. Which is not really a smart contract.

you might want to take a look at this page: https://github.com/byteball/byteballcore/wiki/Writing-chatbots-for-Byteball
If you want to take a look at conditional payment in action, feel free to connect to my bot #freebe. And play around with the sell and buy command. It will offer you a smart contract that way.

but that is still a bot operating with byteball. it is not very decentralised nor is it a "smart contract". Am i wrong here?

Hmm,  whats your definition of decentralised and "smart contract"? In my opinion it is very much decentralised in my example.
#freebe is a bot i wrote myself. i am not connected with the byteball developers in any way.

I create smart contracts between freebe and its users. for example to give a certain amount of bytes for blackbytes.
If freebe or the user wants to cash out this smart address (contract) the conditions are checked by the byteball network, not by the user it self or by freebe.
If the network nodes agree that a cerain condition of the contract is met, the user or me can pay out the contract.

I appreciate your feedback. I understand what you mean, though therein lies the problem. You are hosting this bot on a server. As far as the concept of decentralization goes, your bot is sitting in a central server, open to corruption, spam, being blocked, hacks, modification etc.

The standard method is to have the smart contract run directly on the chain without external bots or participants.