kristjank / certificate-manager

BCDiploma dApp - Certificate-Data Custom Transaction Type

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Imgur

BCDiploma: Certificate Manager Plugin For Custom Transaction Certificate-Data

Test

Registered Transaction is fully compatible with existing API (api/transactions/)

STEP 1: dApp Installation

cd plugins/ #location for loading of custom non-core dApps
git submodule add -f https://gitlab.com/ark-x-bcdiploma/certificate-manager/
cd certificate-manager

IMPORTANT After you have changed the content of plugins.js you need to run yarn setup:clean from the core root folder. This will pick up your newly registered plugin and build it.

You can create more transaction payloads by looking at the __tests__ folder. In short it is as simple as:

     const builder = new CertifiedDataBuilder();
        const actual = builder
            .certifiedDataAsset({ data: "certifieddatatostore" })
            .nonce("1")
            .sign("oil cricket silent piece cash isolate echo venture nation grit bullet have");

    console.log(actual.build().toJson());

You are using the builder classes you already implemented as part of the plugin.

Use Block Explorer To View&Search Local Running Testnet

Click here to setup local blockchain explorer in a few simple steps: https://learn.ark.dev/core-getting-started/setup-local-blockchain-explorer


Congrats, your dapp is loaded. Now look at the resources below to understand more about our dapp development.

License

MIT © ArkEcosystem

About

BCDiploma dApp - Certificate-Data Custom Transaction Type


Languages

Language:TypeScript 100.0%