Social encounters

In view of the IOST partnership with Fujimi Town to deploy blockchain in the Japan energy market, @iostWatch outlines some potential & notable blockchain use cases in energy application for your insights.

Check out this latest interview with IOST CTO Terrence Wang by DZone Media to have a quick refresh on the basic understanding of IOST technology.

Why build another blockchain and is it public or private?

We wanted IOST to be censorship-resistant, so mafia or cartels can’t control it, and with a decentralization level similar to bitcoin and Ethereum. But unlike them, we can support tens of thousands of nodes and thousands of transactions per second. We wanted to make a scalable blockchain, but at the same time, we wanted users to be able to define the level of decentralization to suit different business use cases, and mass adoption.

What is the PoB consensus algorithm?

We designed the unique PoB consensus algorithm for IOST. Communication between nodes is pretty low because of lower-level optimization and because we built on top of V8 to take advantage of the fast translation the library offers. This gives us a speed boost over virtual machines in other blockchains. We added developer-friendly features such as the storage layer and the network layer to improve performance and developer experience further.

How does something prove it’s believable, what’s the stake and the mechanism?

Every node in an IOST network has a contribution score, which combines your stake and contribution score, and includes the transactions you’ve had verified. After our recent mainnet launch,

To clarify, is IOST semi-public? So it’s a public blockchain, but not anyone can be a node?

Kind of, but the barrier to becoming a node is low. Bypassing these minimum requirements, you can become a node. We are encouraging new nodes to join the network, and we have a unique clearing mechanism where nodes produce blocks as soon as they join, contributing to an equal opportunity for nodes to contribute.

How does the whole token economy fit into IOST? What are the tokens used for?

Tokens measure your contribution to the system.

How do people build dApps for IOST? Do you have your own scripting language, or do they use conventional programming languages?

Developers can use JavaScript or Golang to build IOST. We wanted to use languages that people are most comfortable with to lower the barrier for developers.

How does a developer use the features of iOS? Is there an SDK?

We have an npm package and the online IDE, which you can use to compile, deploy and test.

You’ve taken inspiration from what’s come before. You have an IRC20 and IRC721 token that sound similar to Ethereum token standards

We followed the same token conventions and interfaces and didn’t know what to name them, so they seemed obvious names to use.

You can you write your application code in JavaScript, but do you still create a smart contract? I’m trying to understand what you would create a token with and why?

Token standards are just another system contract. If you want to define token standards, you write another smart contract. You send a transaction to this smart contract, and then you have your token created.

Regarding the IDE for teaching smart contract concepts, why did you build that?

We looked at Remix, we needed to connect to a wallet to talk to IOST node and an editor with highlighting and autosave. We need a convenient way to manage a contract and log events. There is no debugging yet, but you can already deploy and test.

We wanted the IDE to be fast, smart and straightforward, so developers can build their apps with one click. You should know JavaScript but do not need to handle the environment and the initial settings. Eventually, we will have features such as compiling, deploying, and testing, and the ability to download files.

See also: