ClientSide library for dapp on Tezos

ClientSide library for dapp on Tezos

By Siham lamssaoui | blockchain_news | 30 Nov 2020



ConseilJs is a library for decentralized applications, it allows connection to tezos node for live chain data and operations. Cryptonomic offers Nautilus cloud an infrastructure service that makes the access to tezos platform easier.

It can be used on javascript or typscript, in our demonstration we are going to use javascript.

First of all we declare our variables like contract address, Tezos node, parameters format and conseil server from nautilus cloud, then add our contract secret key and faucet account as follows:


An application needs to sign transactions submitted by some accounts, which funds the execution of the transaction, therefore conseilJs offers mean of signing operations based on user's private key.



To make sure the operation was succeed we use await OperationConfirmation(groupId) with the keyword await that wait until the transaction is sent successfully.


Then we encode the user inputs to the appropriate format and then submit the transaction like shown below:


At this stage, the operation is normally succeed and broadcasted into the blockchain, from which a tezos baker will pull operations for inclusion in a block.

With this we are able to interact with our deployed smart contract in previous article with conseilJs and blockchain infrastructure with Nautilus Cloud. This is certainly an highlight to main useful functions but many other details are not covered here please refer to for more other details.



How do you rate this article?



Siham lamssaoui
Siham lamssaoui

Blockchain Developer/ PhD student blockchain security and interoperability


Blockchain news

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.