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.
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
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
Last updated