DEV Community

Cover image for How To Deploy Smart Contracts to the blockchain with Bunzz
Judith Ogar
Judith Ogar

Posted on

How To Deploy Smart Contracts to the blockchain with Bunzz

To write and deploy a smart contract, knowledge of programming languages like solidity and Rust is required. But if you do not know these languages or you do not want to go through the hassle of writing a smart contract, I have a solution for you.

In this tutorial, we will learn how to use Bunzz already created smart contracts and deploy it to the blockchain in 10 minutes.

Prerequisite
To follow up with this tutorial, you should have:

  • Basic knowledge of the Blockchain

  • MetaMask wallet already installed in your browser

  • Add and switch to Polygon network on your MetaMask wallet.

What is Bunzz?

Bunzz is a software platform that provides smart contract services to users. They carry out the task of writing these smart contracts for you, and all you have to do is select the smart contract you want, and deploy it to the blockchain.

Steps in selecting and Deploying a smart contract with Bunzz

  1. Sign up with Bunzz

Bunzz signup/login page

2.Click on connect wallet to connect your MetaMask wallet to Bunzz. switch to the Polygon network on your MetaMask wallet.
Bunzz console to create a Dapp

3.Click on create Dapp. Give your **Dapp **any name of your choice. Then click Next.

Bunzz console

an image showing ow to name a DAPP

4.Select polygon Mumbai Testnet as the network name. Then click Next.
Note: Because this is just a tutorial we will be deploying to Polygon Mumbai Testnet. But when you are building an actual Dapp, deploy it to Polygon Mainnet.

an image showing the network name and Id page on Bunzz

an image showing hw to select a network

5.Go to prepared templates.
You will see a list of already written templates/smart contracts awaiting deployment.

different templates available on Bunzz

Note: To know more about all the functions available in the smart contract and to see the code. Click on the dropdown button

dropdown button that shows the functions and code of a particular template

6.we will be using the first template named simple Token. Click on use this template.

Image description

7.Give your Token a name(any name of choice), and a unique symbol - if the token name is ‘JRocks Hospital Token’, then the symbol should be ‘JHT’.

setting a token name and symbol

8.Before you deploy, you need to have enough tokens in your wallet, otherwise, your contract will not be deploy to the blockchain. Go to polygon faucet and get free Testnet to use for deployment.

9.Click on deploy. your MetaMask wallet will pop up on your screen or you to confirm the transaction.

confirming a transaction on your MetaMask wallet

10.click on back to dashboard

after deployment is completed and successful

11.Copy your contract ABI and contract address.

where to get your ABI and contract address

12.To verify your transaction, paste your contract address on PolygonScan Testnet

Congratulations🥳! you just deployed a smart contract without writing it yourself.

what next?
In our next tutorial, we will learn how to use ethers.js to interact with our smart contract and build a real life Application. Ensure you keep your ABI and contract Address from the smart contract you just deployed because you will need it.

Top comments (0)