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
    • Workflow
    • FAQ
    • Bounty Program
    • Social Medias
    • Thank You
  • Workshop
    • KRNL Workshop
Powered by GitBook
On this page

Was this helpful?

  1. Miscellaneous

What are You Trying to BUIDL?

PreviousWhat is the KRNL Platform?NextSmart Contract Fundamentals

Last updated 1 month ago

Was this helpful?

Implementing Web API into Blockchain Transaction?

If you want to build your own smart contract that can utilize Web API, you would have to follow these steps.

Kernel

  1. Consider yourself as an off-chain kernel provider and register your API

  2. Your API will then be off-chain kernel after the registration

Smart Contract

  1. Consider yourself as a Smart Contract Developer

  2. Write up and deploy your smart contract so that it accepts the response from your kernel

  3. Register your smart contract on KRNL Platform

dApp

  1. Consider yourself as a dApp Developer

  2. Utilize kOS by either creating your own dApp (using KRNL SDK) or using KRNL Sandbox

Cross-chain using KRNL Protocol?

If you want to build your own smart contract that can utilize functions from other blockchain networks (cross-chain functions), you would have to follow these steps.

Kernel

  1. Consider yourself as an on-chain kernel provider and register your on-chain function

  2. Your function from your smart contract will then be on-chain kernel after the registration

Smart Contract

  1. Consider yourself as a Smart Contract Developer

  2. Write up and deploy your smart contract so that it accepts the response from your kernel

  3. Register your smart contract on KRNL Platform

dApp

  1. Consider yourself as a dApp Developer

  2. Utilize kOS by either creating your own dApp (using KRNL SDK) or using KRNL Sandbox

Already have smart contract and want to try KRNL?

If you already have your smart contract, this means that you already know how to write one.

One of the example use cases of KRNL is that, KRNL enables your existing smart contract to be able to move your functions to another smart contract on another blockchain.

See illustration below.

Image is clickable and zoomable

Build a dApp without writing your own smart contract
  1. You are a dApp Developer

  2. You may explore on KRNL Platform to see the registered smart contracts

  3. Pick one registered smart contract from KRNL Platform

  4. Utilize KRNL Protocol by creating your own dApp (with KRNL SDK)

here
here
here
here
here
here
Steps for Smart Contract Developers
click here