Before You Begin

In order to integrate the Veriscope SDK, there are a number of things to consider.

The Testnet is a Proof of Authority Network of Transaction (TXN) and Sealer Nodes. TXN nodes accept RPC and Websocket connections, whereas Sealer Nodes simply seal the new blocks into the chain.

The Shyft Smart Contracts have been deployed to the Testnet and are available to receive requests via your own managed Relay node.

The work flow is of two types:

  • Making requests over HTTP to the Relay Node over RPC
  • Capturing blockchain events from the Relay Node over WS

Since the Smart Contracts are written in solidity and the Testnet POA network is Ethereum based, there are a few node.js script libraries that make the workflow very easy to integrate the SDK, them being http-api.js, shyft-template-helper.js and blockchain-data.js.

The SDK discussed in the following sections utilizes these libraries among others, so some familiarity with them is ideal for integration.

Below is a diagram of the integration.

alt text

Description of Services

  • Web Application and Database is a Laravel/VueJS framework where you can manage your account
  • NodeJS are internal serices that interface the Web Application with your Relay Node
  • Relay Node that synchronizes the Shyft Blockchain, allows you to post transactions and receive blockchain events

See main description of services here: Veriscope

Useful links: List of txn nodes, sealers and relay nodes

VASP Testnet Block Explorer

The block explorer is interactive where by you can explore the Smart Contract functions as they are described in the following sections. E.g. TrustAnchorManager

Once you have deployed the services above, you can complete the account setup guide here: Guide