How to install
First of all clone latest idena-rpc version.
git clone https://github.com/idena-dev/idena-rpc.git2. Then rename config/.production.js in config/production.js:
mv config/.production.js config/production.js3. 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.keyport: 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 startLast updated
Was this helpful?