Deploying smart contract involves a lot of steps let’s uncover those steps and deploy our cosmwasm smart contract on the oraichain.
#️⃣ Steps we will be following to deploy our smart contract are :
- Install all the prerequisites we need before deploying our smart contract
- Setup our wallet and get some tokens
- Build a contract using cwtools
- Instantiate the contract using cosmwasm-ide
- Deploy the smart contract .
<aside>
🦀 For this tutorial we will be deploying a smart contract I have written beforehand , so you can clone this repo if you are following along . ✌️
</aside>
#️⃣ Installing the pre-requisites for deploying our contract
For deploying our contract on Oraichain we need to have below listed tools :
- Cosmwasm IDE : A vs code extension crafted by the oraichain team , it makes really easy for us to deploy our cosmwasm smart contracts to Oraichain and interact with them to test their functionality .
- cw-tools : A npm package which helps us to build our smart contract into wasm files and even generates schemas for us .
Now let’s understand how to setup each of these tools
#️⃣ Installing cosmwasm IDE
For installing cosmwasm ide simply install it from this link .after installing it locally into your machine you should be having something like this