This is an example of how to extract data from the Tezos Commons Baker Registry on Tezos mainnet, the details of which are outlined in this Tezos Agora thread. It works by querying Conseil for all registered bakers that are not deactivated, have a staking balance and delegated balance greater than 0. We use these filters as a proxy for identifying public bakers. You can see this result set on [Arronax](https://arronax.io?e=Tezos%20Mainnet/delegates&q=eyJmaWVsZHMiOlsiYmxvY2tfbGV2ZWwiLCJwa2giLCJiYWxhbmNlIiwiZGVsZWdhdGVkX2JhbGFuY2UiLCJzdGFraW5nX2JhbGFuY2UiXSwicHJlZGljYXRlcyI6W3siZmllbGQiOiJkZWFjdGl2YXRlZCIsIm9wZXJhdGlvbiI6ImVxIiwic2V0IjpbZmFsc2VdLCJpbnZlcnNlIjpmYWxzZX0seyJmaWVsZCI6InN0YWtpbmdfYmFsYW5jZSIsIm9wZXJhdGlvbiI6Imd0Iiwic2V0IjpbIjAiXSwiaW52ZXJzZSI6ZmFsc2V9LHsiZmllbGQiOiJkZWxlZ2F0ZWRfYmFsYW5jZSIsIm9wZXJhdGlvbiI6Imd0Iiwic2V0Ijp
These materials are meant to accompany the live workshops by Cryptonomic for blockchain and smart contract development. This version focuses on the Tezos chain and smart contract development with SmartPy.
The code in this workship is written Typescript. We will use the ConseilJS library to interact with the Tezos Alphanet chain. It is possible to use the ConseilJS npm package with nodejs directly with JavaScript. There is also a minified deployment for use on websites. The smart contract section follows the Smart Contract Development Syllabus and uses SmartPy. The contracts covered in the syllabus are also available on Github. While this introduction coveres much of the Tezos user workflows, some things are out of scope. Please refer to the full [ConseilJS Documentation](https://cryptonomic.github.io/
This is a companion code sample to go with the Tezos is now an asset tokenization platform article on Medium from The Cryptonomic Aperiodical. As always, to test this code get infrastructure access from Nautilus Cloud.
The code included here demonstrates token deployment and management workflows. It does not have an example for burn()
, but that is also available in the API.
Single script to test common Tezos user workflows. Additionally this sample illustrates the use of ConseilJS for interactions with a Tezos blockchain node.
This tutorial requires nodejs 12.21+ & npm. It's highly recommended to install those via nvm.
<html> | |
<head> | |
<style> | |
#hen-embed { | |
border: 1px solid black; | |
height: 800px; | |
width: 500px; | |
} | |
</style> | |
<script> |
The purpose of this script is to demonstrate common operations on an FA1.2 token on the Tezos platform using the ConseilJS library and Nautilus Cloud infrastructure.
This is the full code for an simplistic dApp on Tezos. It is presented as part of the Cryptonomic dApp development curriculum with ConseilJS & SmartPy. The relevant discussion of this code is in Part 6.
To get access to Tezos & Conseil infrastructure signup for an account at Nautilus Cloud. The missing parameters in the code below will come from there.