@truenetworkio/sdk
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

True Network SDK

True Network provides the easy-to-use infrastructure for building blockchain-based reputation systems for the internet.

This SDK:

  • You can use in NEXT.JS / Node.JS
  • You can use to give on-chain attestations to users
  • You can write & deploy the algorithms to True Network's Testnet
  • Connect to the True Network Nodes (Testnet / Mainnet)

Installation

Install it as dependency:

 yarn add @truenetworkio/sdk

Use the package to create a new TrueApi instance like this:

  import { TrueApi } from '@truenetworkio/sdk'

  const setup = async (): TrueApi => {
    const trueApi = await TrueApi.create('//Alice')

    // Set issuer.
    trueApi.setIssuer('issuerHash')

    return trueApi;
  }

For detailed information, please consider going through the docs.

Readme

Keywords

none

Package Sidebar

Install

npm i @truenetworkio/sdk

Weekly Downloads

3

Version

0.0.7

License

ISC

Unpacked Size

51.2 kB

Total Files

36

Last publish

Collaborators

  • tusharojha