Skip to content

Latest commit

 

History

History
66 lines (40 loc) · 1.33 KB

README.md

File metadata and controls

66 lines (40 loc) · 1.33 KB

Logo

Continuous integration

Site to perform peer to peer atomic swaps on the Algorand blockchain

Live: https://test.swaplink.xyz

Pre-requisites

Rust, wasm-pack and Node.js

Instructions

WASM

Build in debug mode:

cd wasm
wasm-pack build --out-dir ../wasm-build --debug

Build in release mode:

cd wasm
wasm-pack build --out-dir ../wasm-build --release

Environment variables:

  • NETWORK sets the network to connect to. Possible (explicit) values: test. Defaults to private network.

  • ENV sets the deployment environment. Possible (explicit) values: prod. Defaults to local environment. Used e.g. to determine the generated swap link base URL.

Complete build command example:

NETWORK=test ENV=prod wasm-pack build --out-dir ../wasm-build --release

React

Initialize the React app:

npm install

Run the React app:

cd react-app
npm start

See more instructions for React in the app folder

Contribute

  1. Fork
  2. Commit changes to a branch in your fork
  3. Push your code and make a pull request