Skip to content

SwaprHQ/swapr-dapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swapr dapp

CI GitPOAP Badge

An open source decentralized application for Swapr -- a protocol for decentralized exchange of Ethereum tokens governed by the Swapr.

Run

yarn start

Publish

Swapr releases are published to the IPFS at swapr.eth. Before publishing, however, the IPFS hash to be verified. To verfiy a release a hash, do the following:

Clone the repo

git clone https://github.com/SwaprHQ/swapr-dapp.git

Install dependencies using Yarn

yarn install --immutable

Build the app

yarn ipfs-build

Upload the build directory content to IPFS using IPFS CLI

ipfs add -rn build

The last line of the output will have the IPFS hash. Different machines should output the same hash in order to publish the release.

Run tests

Remember to start server

yarn start

Cypress open

yarn cypress open

Cypress run

yarn cypress:run

Synpress

yarn synpress:run