4.5.0 • Published 1 year ago

@digicatapult/dscp-node v4.5.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

@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 |

4.4.8

1 year ago

4.4.7

1 year ago

4.5.0

1 year ago

4.4.5

1 year ago

4.4.4

1 year ago

4.4.6

1 year ago

4.4.1

2 years ago

4.4.0

2 years ago

4.3.1

2 years ago

4.4.3

1 year ago

4.4.2

1 year ago

4.3.0

2 years ago

4.2.2

2 years ago

4.2.1

2 years ago

4.2.0

2 years ago

4.1.0

2 years ago