@phantomchain/core-json-rpc
A JSON-RPC 2.0 Specification compliant server to interact with the PHANTOM blockchain.
Last updated a year ago by meandevstar .
MIT · Original npm · Tarball · package.json
$ cnpm install @phantomchain/core-json-rpc 
SYNC missed versions from official npm registry.

PHANTOM Core)

PHANTOM Core - JSON-RPC Server

Installation

yarn add @phantomchain/core-json-rpc

Configuration

module.exports = {
  enabled: process.env.PHANTOM_JSON_RPC_ENABLED,
  host: process.env.PHANTOM_JSON_RPC_HOST || '0.0.0.0',
  port: process.env.PHANTOM_JSON_RPC_PORT || 8080,
  allowRemote: false,
  whitelist: ['127.0.0.1', '::ffff:127.0.0.1'],
  database: {
    uri:
      process.env.PHANTOM_JSON_RPC_DATABASE ||
      `sqlite://${process.env.PHANTOM_PATH_DATA}/database/json-rpc.sqlite`,
    options: {},
  },
}

Security

If you discover a security vulnerability within this package, please send an e-mail to security@phantom.org. All security vulnerabilities will be promptly addressed.

Credits

License

MIT © ArkEcosystem

Current Tags

  • 0.1.4                                ...           latest (a year ago)

3 Versions

  • 0.1.4                                ...           a year ago
  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (14)
Dev Dependencies (4)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |