Skip to content

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

License

Notifications You must be signed in to change notification settings

ivnsch/swaplink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published