Node.js tool to burn to mint XRP from XRPL mainchain to the Xahau sidechain.
This tool will utilize your current XRP address on the Xahau sidechain. You will need an account seed to use this tool. This tool is designed to be used locally with you preferred code editor with node.js support. You should be familer with XRPL code and the Xahau sidechain to use this tool. See links below to learn more about the XRPL, Xahau, B2M, and Xpop. In the link section there is a link to get a testnet account loaded with xrp. You should use the standard testnet faucet to get an account to test this tool.
Start by downloading this repo. After downloading open this repo with your preferred code editor. Once your in the file open a terminal in the root of this repo. Download all dependencies by useing the command:
npm install
Go to the config.json
then indicate network by using test or main, add your account seed, add the amount of XRP to B2M, and indicate true or false if your address is funded on xahau on not. If you already have XAH in you account on Xahau use true if you have not funded your account on Xahau use false. It is advised not to do large B2M when you first use this tool.
Once you have set up your config.json
file you are ready to B2M. To run this tool use the command:
npm start
- Learn about the XRPL: https://xrpl.org/docs.html
- Learn about Xahau: https://docs.xahau.network/
- Explore B2M indexer: https://xpop.zerp.network/
- Get a testnet account: https://xrpl.org/xrp-testnet-faucet.html
- Genarate mainnet account locally: https://github.com/WietseWind/xrp-vanity-generator
USE THIS TOOL AT YOUR OWN RISK. IT IS POSSIBLE TO LOSE FUNDS DURING A B2M PROCESS IF YOU STOP THIS TOOL BEFORE IT IMPORTS YOUR XRP TO XAHAU OR YOU HAVE AN UNEXPECTED ERROR. WE DO NOT ACCEPT ANY LIABILITY FOR LOST FUNDS. During the B2M process the program will console log an xpop source. If you burn xrp but fail to mint on xahau vist the xpop source. The xpop file can be used to import your burned xrp if you stop this tool before it imports to Xahau or you encounter an unexpected error. If you do not receive an xpop source or lose it you may be able to use the B2M indexer link listed above to find your missing xpop.