Skip to content

dscp-node 4.4.6

Install from the command line:
Learn more about npm packages
$ npm install @digicatapult/dscp-node@4.4.6
Install via package.json:
"@digicatapult/dscp-node": "4.4.6"

About this version

@digicatapult/dscp-node

A package for building a thin polkadot.js API that includes the additional types of dscp-node, to be used when interacting with the node.

Building an API with @digicatapult/dscp-node:

const { buildApi } = require('@digicatapult/dscp-node')

const { api, types, keyring } = buildApi({
  options: {
    apiHost: 'localhost',
    apiPort: 9944,
  },
})

The following options can be configured:

variable required default description
apiHost N localhost The hostname of the dscp-node the API should connect to
apiPort N 9944 The port of the dscp-node the API should connect to

Details


Assets

  • dscp-node-4.4.6.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0