📇Kalp template: How do I deploy my Smart Contract?

Hey Users! Welcome to the Kalp Studio Platform.

Crafting your Smart Contract with Kalp's template was just the first step. Now, it's time to bring it to life on the blockchain! This guide will be your trusty companion as you navigate the deployment process on Kalp Studio. Whether you're a seasoned developer or a curious newcomer, we'll break down the steps in a clear and user-friendly way. So, buckle up and get ready to witness your Smart Contract take flight!

Let's explore Smart Contract deployment using Kalp Template on Kalp Studio together.

Note: To deploy a Smart Contract, a project is needed. Let's understand how a project is created first.

Step 1: Project Initialization

Direct your attention to the 'Projects' segment within the Kalp Studio interface. This serves as the commencement point for smart contract creation and deployment.

Figure 1: List of Projects

Step 2: Create a New Project

In the absence of an existing project, initiate a new project by selecting the corresponding option. Enter the requisite details including project name, description, and any additional specifications to accurately define the project's scope.

Figure 2: Projects

Step 3: Project Creation Successful

Upon successful project setup, it will be cataloged within your Kalp Studio portfolio, signaling readiness for smart contract development.

Figure 3: Project Created

Step 4: Create a Smart Contract

Go to the Smart Contract Section and click on Create Smart Contract.

i) Enter your Name and select the project under which you want to deploy the smart contract.

Figure 4: Contract details

ii) Setup Environment

The next, step is to select the environment, whether it is development, staging, or Production.

Figure 5: Setup Environment

iii) Network Selection

Figure 6: Network selection

iv) Extension File/ Template

Figure 7: Extension File/ Template

To select a template, switch the tab from Upload Extension files to Kalp Template.

Step 5: Select Kalp Template

Kalp Studio offers you 3 smart contract templates that are ERC20, ERC721, and ERC1155. You can use the Kalp Template for your smart contract deployment. This template provides predefined code, or settings tailored for specific functionalities or use cases.

Figure 8: Kalp Template
  • Select a template and click on download.

Figure 9: Template Selection
  • View Downloaded File

Figure 10: Downloaded File

Here, you can see that the smart contract is downloaded in zip format that contains multiple folders.

  • Upload Downloaded Extension File

Figure 11: Upload Extension File
  • Click on the Continue option.

Figure 12: Upload successfully

Step 6: Review Details

  • After successful upload you can review the information

Figure 13: Review details

On this page three options will be given to you as follows:

  • Back: In case there is any error, you can simply go Back and edit information as required.

  • Save Draft: You can use Save Draft option in case of any dilemma that later you want to change or update anything.

  • Save & Publish: Once everything is completely verified you can click on the final step Save & Publish option to finally deploy your smart contract.

Step 7: Smart Contract generation

Figure 14: Smart Contract Generated Successfully

As you can see your smart contract is generated successfully with the smart contract ID. Happy Generation!

Hope this article helped you understand the homepage of the Kalp Studio platform.

Click here to learn more about Kalp Studio, and stay tuned with us for more insights.

Last updated