Libraries to start development on tezos ⚡️

Aditya Gautam
DeeKode
Published in
2 min readOct 12, 2020

There are various libraries out there to start your development journey on tezos, based on your use cases and tech stack you can easily choose. Use a library to integrate Tezos with your application.

The conseil.js and taquito APIs are most widely used in the ecosystem, on top of Node.Js, or any javascript library as any updates on the tezos protocol they are the first one to implement. Although they both serve the same purpose yet they both have their own merits and demerits, one must choose based on their use case.
Conseil.js is more likely fit for scenarios where you want to develop or twist their library to generate new features i.e a hackable library it’s more suitable for developers who want to play around and build their own library or tech stack on top of their APIs. While taquito provides more user-friendly APIs.

For example, if you want to just do relevant operations like calling a contract on conseil.js you’ll have to fetch the contract and then generate entrypoints from params and then apply the entrypoints changes to the michelson or micheline code and then send it to the contractInvocation api on conseil.js as shown on this example
https://cryptonomic.github.io/ConseilJS/#/?id=invoke-a-contract
While if you want to call a contact on taquito we just have to call the entrypoint function on the taquito APIs as shown in the example below.

Tezos.contract.at('KT1JVErLYTgtY8uGGZ4mso2npTSxqVLDRVbC')
.then(contract => {
const i = 7;
println(`Incrementing storage value by ${i}...`);
return contract.methods.increment(i).send();
})
.then(op => {
println(`Awaiting for ${op.hash} to be confirmed...`);
return op.confirmation(3).then(() => op.hash);
})

I have worked with a few other libraries as well let me know in the comments section if you want to know more suitable ones.

--

--