Testing Design Functionality via "Off-chain Data Publishing" Template

Off-chain Data Publishing Template, allowing users to deploy data on-chain from your API.

In order to publish data on-chain, user needs to conduct the following steps:

  1. Create a Project

  2. Deploy the Project

  3. Data Publishing Verification

Creating a Project.

Enter the key data based on the inputs in the template:

  1. Name of your project

  2. Blockchain Selection. Current options include: Ethereum Testnet (Goerli), Polygon Testnet (Mumbai), Avalanche Testnet (Fuji). Depending on the chain selected, data will be published on-chain.

  3. Update Cadence. Allows for scheduling frequency intervals of data publishing. Current Demo includes Manual publishing.

  4. Node Network.

  5. Smart Contract Address. Allows users to select a smart contract used to record the data on chain. K3 Labs smart contract is used as default option, if the field is left empty.

  6. API Credentials. Allows for advanced API authentication (We currently only support basic authentication only).

  7. JSON API Endpoint. JSON API compatible link needs to be added to this field. Next, user needs to click on the desired value to set its key as the selector.

  8. Press "Publish" to create the project.

Deployment of the Project

After the Publication of your Project in the last stage, you will be redirected to the Project Page. First deployment is started automatically. You can see details of the process in "Building" tab.

Data Publishing Verification

After successful deployment, in the "Deployment Summary" Section, two functions will be visible: Get and Post. Using "Post" function, you can deploy data on-chain manually. While with "Get" function, users can check the data submitted to blockchain.

Last updated