Skip to content

POC mainnet-js/libauth based adapter to trade Cauldron DEX Swaps

License

Notifications You must be signed in to change notification settings

lovetillion/vega

Repository files navigation

vega

Vega

POC mainnet-js/libauth based adapter to trade Cauldron DEX Swaps

Setup

  • Make sure you have a Node.js and NPM environment setup
  • Clone the repo
  • cd vega
  • npm install

Instructions

  • node vega.js [SEEDPHRASE]

Goal

Implement a trivial Swap transaction

Currently implemented

1. Wallet Setup

  • Requires a seed phrase (please be very careful with this!) to create your BCH and XLV wallet.

2. Security Check

  • 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)

3. Wallet Information

  • Shows your BCH wallet address and balance (BCH and XLV tokens)

4. Sending Test Transactions

  • Can send BCH to other wallets
  • Can send XLV CashTokens to other wallets

Reference

About

POC mainnet-js/libauth based adapter to trade Cauldron DEX Swaps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published