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. Miscellaneous

Recommended Kernels List

This list of kernels consists of both on-chain and off-chain kernels.

Our developers at KRNL use this list during the testing period.

This list contains some of the example kernels.

Check out KRNL Platform for more details.

Keep in mind that some kernels such as kernel ID 93, 94, 95 are meant to be for testing data type in kernel responses.

Those kernels might not help with any security measure.

If you are trying to choose kernel(s) to implement with your smart contract, feel free to select the kernel ID(s) from the table below.

Kernel ID
Network
Description
Purposes
Response Type
Read More

337

Base Sepolia

Prohibited List

  • To prevent prohibited wallet address

  • You can register your wallet address to be on prohibited list through Basescan

uint256

340

Base Sepolia

Trusted List

  • To allow only trusted wallet address

  • You can register your wallet address to be on trusted list through Basescan

bool

875

Arbitrum Sepolia

Mock Oracle (no input)

  • To fetch the mock exchange rate of ETH to USD without providing any input parameter

  • Return value is based on the block time when the function is being called

uint256

925

Arbitrum Sepolia

Mock Oracle (static value)

  • To fetch the mock exchange rate of ETH to USD without providing any input parameter

  • To explore how you can use oracle value with your smart contract

  • Return value is fixed at 3201

int256

971

Arbitrum Sepolia

Mock Oracle (static value)

  • Same as kernel 925 but in ABCcoin instead of Mock ETH

  • To fetch the mock exchange rate of ABCcoin to USD without providing any input parameter

  • To explore how you can use oracle value with your smart contract

  • Return value is fixed at 3201

int256

341

Arbitrum Sepolia

Mock Oracle

  • Option 1: To fetch the mock exchange rate of ETH to USD

  • Option 2: To fetch the mock exchange rate of BTC to USD

  • Exchange rate from this kernel can be used in the smart contract (number)

uint256

347

Optimism Sepolia

Day and Time

  • To receive day of the week and time in HH:MM (GMT+0)

  • Day of the week and current time can be used in the smart contract (string)

string

883

Sepolia

Mock KYC (score)

  • To implement and observe how KYC kernels work

  • Anyone can define their own score which ranged between 0 to 100

uint256

90

Optimism Sepolia

Gitcoin Passport getScore

  • On-chain KYC

uint256

91

Optimism Sepolia

Gitcoin Passport isHuman

  • On-chain KYC

bool

92

off-chain

Mock API for getting random values (for testing)

  • For testing

{ "walletAddress": "0x123", "name": "bypass", "walletScoreString": "8", "decimalString": "672.80", "isFlag": false, "integerNumber": 78936, "decimalNumber": 91025.53, "id": "1" }

93, 94, 95, 96, 97, 98

Optimism Sepolia

MultiView (for testing)

  • For testing

depends on the function

PreviousHow to Deploy a Smart Contract?NextNew to Web3?

Last updated 29 days ago

Was this helpful?

Click here
Click here
Etherscan
Optimism Etherscan
Optimism Etherscan
Optimism Etherscan
Click here
Click here
Click here
Click here
Click here