As in the articles prior to this, we learned the basics of Tezos blockchain and about writing a smart contract. Moving further, in this article you’ll be deploying and exploring smart contracts on the Tezos blockchain. Furthermore, in the last two articles, you learned about:
Further in this article, you will learn to set up a wallet, deploy and explore smart contracts.
This is the 3rd part of our series on Tezos. Read our earlier articles which are Introduction to Tezos and Smart Contract SmartPy for more information on the subject.
What is a Temple wallet?Before deploying your smart contract, you will need a wallet to handle transactions on the Tezos blockchain. Here you will learn to set up Temple Wallet.
Temple Wallet is an open-source and easy-to-use browser extension wallet for interacting with the Tezos Ecosystem. You can use it to handle transactions for your Tezos DApp’s. It supports all FA1.2 and FA2 tokens. You can also create multiple accounts on Temple wallet and it also has a feature for token delegation to bakers.
To know more about temple wallet, go to Temple wallet.
Originating smart contractFollow the steps below to deploy a smart contract:
Blockchain explorers or block explorers are like a search engine on the blockchain which is used to track any activity on the blockchain. Its use cases are different for various users out of which some are mentioned below:
Block explorer consists of:
In this lesson you will be interacting with your smart contract using:
Now, you will interact with your smart contract using BCD and SmartPy Explorer that you had deployed.
SmartPy ExplorerGo to SmartPy Explorer and enter the contract address starting with KT generated when you deployed your contract. It will search for your contract and display its details like Node, Contract Data, and Storage.
Go to BCD and search for your contract using its contracts address. Once you have opened the contract, you can do the following here:
For interacting with the contract, go to the Interact tab, select the entry point that you want to call from the right and fill in the details and execute. Before executing the final transaction, click on simulate to test if everything works fine or not. Once it all looks good, select Temple wallet to execute the final transaction.
To view your contract’s updated storage, go to Storage Tab on top. Here you can view your contract state.
This was the third article in the series of four articles listed below:
Since, now you have got a basic understanding of what is tezos, writing smart contracts using SmartPy, deploying and exploring smart contracts, in the next part you will be learning to integrate your smart contract with the frontend.
All Rights Reserved. Copyright , Central Coast Communications, Inc.