Currently, smart contracts are written on JavaScript – one of the most used programming languages in the world.Ubix platform is a directed acyclic graph (DAG) that combines a number of blockchains, each of which forms a block. Afterwards, the blocks are included into a common graph. That is, the network storage is a directed acyclic graph. The information loaded into a block can be of a different nature: some static data or executable code. When it is an executable code, we call these programs - smart contracts.
Any user can write and deploy smart contracts to the Ubix network. They are written with the help of a common programming language - Java. We do not use any special and sophisticated languages. This is done in order to reduce the technical barrier of writing smart contracts to a minimum.
For user convenience, smart contracts can be added directly to the Ubikiri interface. In the app, there is the “contracts'' section, where you can add smart contracts that have already been written and deployed to the network. To do this, you have to click on the "contract" button, indicating the address of the contract.
The smart contract is processed inside of the
Consilium in which it was uploaded. A smart contract processed in one consulium may invoke methods (and thus activate) smart contracts from another Consilium. This allows you to make your smart contracts a procedural part of a legal agreement in a stand-alone code.
The future of our network is closely tied to smart contracts. In the very near future, user interaction with Ubikiri will be possible exclusively through smart contracts. In fact, this is the main competitive advantage of our platform.