This is a basic implementation for local verification of Transaction History and current RAILGUN balances from the RAILGUN Relays.
🍻 A full transaction history will be saved locally for double checking your balances and transactions.
⛔️ No transactions will be made!
Reminder that the information output from this application within reports directory should be considered private information and treated as such. This folder is essentially a roadmap of your private transactions.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install the software and how to install them.
NodeJS
npm (or) yarn
Some basic instructions on how to get the project operational.
git clone https://github.com/zy0n/railgun-cli
cd railgun-cli
npm install
or
yarn install
End with an example of getting some data out of the system or using it for a little demo.
Okay so its relatively simple.
- Required:
- Mnemonic
- New Password - used to cryptographically store your wallet data. Be mindful that your output transaction data, is not encrypted.
--mnemonic 'YOUR_MNEMONIC_PHRASE' # Mnemonic Must be quoted.
--pass SECRET_PASSWORD
--chain ethereum #OPTIONALPARAM|
# Default: ethereum - Choices: [ethereum, polygon, binance, arbitrum]
.env file usage (optional)
# example.env file. rename this to .env in the project root directory.
RAILGUN_MNEMONIC='pause crystal tornado alcohol genre cement fade large song like bag where'
RAILGUN_PASSWORD='SomethingSuperSecret'
RAILGUN_CHAIN='polygon'
# Auto-Generated, If not already present.
# If present it looks for the wallet ID stored, and uses the password to decrypt.
# You can store these ID's for reference and recall the wallet later on with the correct password.
RAILGUN_WALLET_ID='6e4b85e0bf1fc2a3a3a0c23582c5f76fba68b237e2dfe2973fa3c0f21b8598b6'
You can remove the mnemonic once the first run has been completed. Your wallet info is cryptographically stored within the .railgun.db file. This provides the ability to reload your existing state with the correct password & start polling again from there.
Do NOT load funds into the example mnemonic. This was pulled from the RAILGUN mocks. It's a good example to use here, as it has available transaction history on polygon to view.
Be sure you're in the main directory.
yarn start --mnemonic 'pause crystal tornado alcohol genre cement fade large song like bag where' --pass SomethingSecret --chain polygon
node src/railgun-cli.js --mnemonic 'pause crystal tornado alcohol genre cement fade large song like bag where' --pass SomethingSecret --chain polygon
yarn start
node src/railgun-cli.js
- Get the binaries to build properly.
-
Add support for the rest of the available chains. -
Add support for loading existing stored wallets. - Add support for handling transactions ?
[ 🎱 ] Suggestions??
As of right now building with PKG is failing to produce a running executable. Which in reality, i didnt want to provide executables anyway, but its nice for you to build them still!
If you like my work and would like to help me keep on keepin' on those options are below. Thanks!!
Definitely not a requirement 💋
👁️ Public (unshielded):
0xD74b78AA69d9ee3e232beEE935025530E4d7080d
🛡️ Private (shielded):
0zk1qywazlck3dsmxkhx7vswfkf0zyuhguna79f87cpqad6wlu3d74plrrv7j6fe3z53laqmr4aeh35unfg67etsksd80qj2pvf9r6egpyyhnh56qe9nntmevq6yu6u