How to install

  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 idena-go 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

Last updated