Introduction
Kriptonio SDK abstracts away the complexities of creating, compiling, deploying, and interacting with smart contracts by providing a simple and user-friendly SDK interface for these actions.
A typical workflow for using the smart contract module of Kriptonio SDK would be:
Step 1: Create a new smart contract
Open Kriptonio Web App, go to the Smart Contracts tab, click the New Smart Contract button, and follow the instructions. You will be able to provide Solidity source code or use a template to create a new smart contract.
Apart from using the Web App, you can also utilize Kriptonio integration with Hardhat and Truffle to create a new smart contract.
Step 2: Deploy the smart contract
You have two options to deploy a smart contract.
The first one is to deploy via our Web App. In this case, you should go to the smart contract details page and click the Deploy Smart Contract button to deploy the smart contract. Before deploying, you will need to connect your wallet via WalletConnect.
The second option is to deploy via Kriptonio SDK. You can use the deploy
method of the smart contract instance to
deploy the smart contract.
Step 3: Interact with the smart contract
As with the previous step, you can interact with the smart contract either via the Web App or Kriptonio SDK.
In the case of the Web App, simply go to the smart contract details page, and click the UI Interaction tab.