Smart Contract Registration
Last updated
Last updated
Once we successfully modify the smart contracts, we can now register the smart contracts through the KRNL Platform.
On the Register Smart Contract page, there are some required fields such as Smart Contract Address, Choose Kernel, and Token Authority.
Smart Contract Address - the address of a deployed smart contract which should be on the correct network.
Choose Kernel - for declaring the kernel(s) which you want to use during the transactions on your smart contract. This selection will have to match with the defined rules within the Token Authority.
Token Authority is the part where you have to put the deployed address of the Token Authority.
Once you have put the deployed smart contract address of your modified smart contract, you can proceed to the next step.
The part of Choose Kernel section which has the text box for entering the kernel ID that you wish to run before executing your smart contract. After selecting the suitable kernel that you like to have on the first slot, it will be shown as in the picture above.
You may add more kernels to run before executing your smart contract. One thing worth mentioning is that your Token Authority smart contract has to define the rule for each kernel.
After filling all the required fields, click Activate at the bottom of the screen. This review transaction window will pop up, as shown in the below picture.
After going through the details and clicking Confirm, the screen will be loading and this successful window will be shown in the figure below.
Congratulation! You have successfully registered your smart contract through our platform!