This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@digicatapult/dscp-node

4.5.0 • Public • Published

@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

/@digicatapult/dscp-node/

    Package Sidebar

    Install

    npm i @digicatapult/dscp-node

    Weekly Downloads

    3

    Version

    4.5.0

    License

    Apache-2.0

    Unpacked Size

    13.4 kB

    Total Files

    5

    Last publish

    Collaborators

    • msterle-dc
    • it-ops-digicat
    • jonmattgray
    • mattdean-digicatapult
    • dhblane