How to install
  1. 1.
    First of all clone latest idena-rpc version.
1
git clone https://github.com/idena-dev/idena-rpc.git
Copied!
2. Then rename config/.production.js in config/production.js:
1
mv config/.production.js config/production.js
Copied!
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.
1
module.exports = {
2
target: "http://localhost:9009",
3
apiKey: "<insert content of datadir/api.key file>",
4
port: 80,
5
};
Copied!
4. Start to proxy:
1
npm start
Copied!
Copy link