@phantomchain/core-json-rpc

0.1.4 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @phantomchain/core-json-rpc

Weekly Downloads

0

Version

0.1.4

License

MIT

Unpacked Size

39.2 kB

Total Files

40

Last publish

Collaborators

  • meandevstar