Skip to content

bob-collective/demo-p2p-swap

Repository files navigation

BOB Collective: BTC Peer to peer swap

Local development

Installing the project

  1. Install pnpm
  2. Run pnpm install

Connecting MetaMask

This can be done from the application using the 'Connect Wallet' button, or by going to Conduit and clicking the 'Add to wallet button.'

Funding your account

Testnet ETH

  1. Create a new account in your wallet.
  2. Fund your account with Sepolia Eth from a testnet faucet.
  3. Transfer to the BOB network using Superbridge.

Note: we have seen instances of this failing. If this happens, the api can be called from a terminal: curl -XPOST -i https://faucetl2-puff-bob-jznbxtoq7h.t.conduit.xyz/drip/0x4062e44077b1e58C3D630a0e4e632fF81868e448

Other supported tokens

  1. This can be done with the faucet button in the UI.

### Starting the project

  1. Run pnpm dev

Browser support

This application is tested using:

  • Chrome
  • Brave
  • Firefox

In the following environments:

  • Linux
  • MacOS
  • Windows

It does not currently support any mobile wallets.