idelse
  • Welcome to idelse
  • idena-rpc
    • Introduction
    • Run Idena as systemd service
    • How to install
    • Repository
  • idena-js
    • Quick start
    • Repository
  • idena-pocket
    • Introduction
    • Repository
  • idena-ledger
    • How to use Ledger Nano
    • Repository
  • idena-docker
    • Introduction
Powered by GitBook
On this page

Was this helpful?

  1. idena-rpc

How to install

PreviousRun Idena as systemd serviceNextQuick start

Last updated 5 years ago

Was this helpful?

  1. First of all clone latest idena-rpc version.

git clone https://github.com/idena-dev/idena-rpc.git

2. Then rename config/.production.js in config/production.js:

mv config/.production.js config/production.js

3. Edit your production.js file:

  • target: Address of an up and running node.

  • apiKey: Your idena-go api key. It can be retrieved in less datadir/api.key

  • port: Port that will expose your public RPC.

module.exports = {
    target: "http://localhost:9009",
    apiKey: "<insert content of datadir/api.key file>",
    port: 80,
};

4. Start to proxy:

npm start

idena-go