RSK Utils to convert keys from BTC to RSK
-
Run: $ git clone https://github.com/rsksmart/utils
-
Open the index.html
After cloning the repository you can go off-line.
-
Install NPM: https://docs.npmjs.com/cli/install
-
Install Webpack: $ npm install webpack@4.46.0 -g
-
Install Webpack-cli: $ npm i webpack-cli@3.3.12 -g
-
Run: $ git clone https://github.com/rsksmart/utils && cd utils/
-
Run: $ npm install
-
Run: $ webpack
-
A new "build" folder is created after previous step is executed, in the folder, you would find the the browser app ready to go, just open index.html
This small application runs within the browser, no call to the server is made. So you can run it off-line.
To use the btc-private-key-to-rsk-address.js
script run it as:
node btc-private-key-to-rsk-address.js <HEX-PRIVATE-KEY>