KRNL Platform Guidebook
KRNL Platformkrnl.xyz
  • Introduction
    • Introduction
    • How Does kOS Work?
  • Setup
    • Getting Started with KRNL
    • Quick Start (CLI)
    • Quick Start (Online IDE)
      • Quick Start (Remix IDE)
      • Quick Start (Atlas IDE)
    • create-krnl-app
    • Platform Registration
  • Kernel
    • What are Kernels?
    • Kernel Registration
      • Kernel Registration (on-chain)
      • Kernel Registration (off-chain)
    • Supported OpenAPI (Off-chain Kernel)
    • Staking
  • Smart Contract
    • Steps for Smart Contract Developers
    • Choosing Kernel(s)
    • Token Authority
      • What is a Token Authority?
      • How to Build a Token Authority?
      • Generic Token Authority
      • How to Deploy a Token Authority on Oasis?
    • Decoding Kernel Responses in Solidity
    • How to Integrate Your Smart Contract with kOS?
    • Smart Contract Registration
  • DApp
    • dApp Registration
    • KRNL SDK Installation
    • Usage
    • KRNL Node RPC
  • Miscellaneous
    • Overview
    • What is the KRNL Platform?
    • What are You Trying to BUIDL?
    • Smart Contract Fundamentals
      • Why Do I Have to Register a Smart Contract?
      • How to Deploy a Smart Contract?
    • Recommended Kernels List
  • Helpful Resources
    • New to Web3?
    • Dictionary
    • Testnet Faucets
    • How to Get Etherscan API Key?
  • Litepaper
    • Litepaper
      • Overview
      • Problem Statement
      • Current State Does Not Solve the Problem
      • Introducing Kernels
      • Ecosystem of Kernels
      • The KRNL Operating System (kOS)
      • Decentralization and Security Considerations
      • Use Cases for KRNL
  • Appendices
    • FAQ
    • Bounty Program
    • Social Medias
    • Thank You
  • Workshop
    • KRNL Workshop
    • Speed's Workshop
Powered by GitBook
On this page

Was this helpful?

  1. Smart Contract

Smart Contract Registration

PreviousHow to Integrate Your Smart Contract with kOS?NextdApp Registration

Last updated 15 days ago

Was this helpful?

Prerequisites


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!

How to Make Your Smart Contract Eligible for the KRNL Operating System?
What is Token Authority?
Cover

Register Your Smart Contract