POC mainnet-js/libauth based adapter to trade Cauldron DEX Swaps
- Make sure you have a Node.js and NPM environment setup
- Clone the repo
cd vega
npm install
node vega.js [SEEDPHRASE]
Implement a trivial Swap transaction
- Requires a seed phrase (please be very careful with this!) to create your BCH and XLV wallet.
- Download supported Bitcoin Cash Metadata Registry (BCMR)
- Compare hash from AuthHead of BCMR to fresh downloaded latest version
- Exit if there's a mismatch (potential security issue)
- Shows your BCH wallet address and balance (BCH and XLV tokens)
- Can send BCH to other wallets
- Can send XLV CashTokens to other wallets
- Whitepaper
- Partial python test script
- Example Cauldron tx for 50 XLV
- Currently studying how rostrum electrum server could by used via Python for the handling DEX contracts via CScript