2021-01-20 14:11:17 +08:00
2021-01-18 19:24:23 +08:00
2021-01-19 12:44:41 +08:00
2021-01-20 14:11:17 +08:00
2021-01-18 19:24:23 +08:00
2021-01-18 19:24:23 +08:00
2021-01-18 19:24:23 +08:00
2021-01-18 19:24:23 +08:00
2021-01-18 19:24:23 +08:00
2021-01-18 19:24:23 +08:00
2021-01-18 19:24:23 +08:00
2021-01-19 19:05:19 +08:00
2021-01-19 11:42:11 +08:00

README

A minimal end to end proof of concept of using Swap contracts written by Swarm and maintained here: https://github.com/ethersphere/swap-swear-and-swindle

All significant code imported from the above repo. Only minor adjustments to hooking things up and illustrates things in a minimal fashion.

Running

Ensure you have truffle and Ganache installed. Ganache should be running.

# To compile all contracts
truffle compile --all

# To run all migrations
truffle migrate --reset

# To get a truffle console
truffle console

# To run a server
npm run dev

TODOs

x Import contracts and run migrations x Setup basic UI

  • Showcase basic chequebook end to end (deposit, show balance, withdraw)
  • Get basic cheque sending working (web3 provider, util code)
  • Showcase swap basic operation for two nodes
Description
No description provided
Readme MIT 1.7 MiB
Languages
JavaScript 99.3%
Solidity 0.6%
HTML 0.1%