Skip to content

stateswap/stateswap-v1

Repository files navigation

Stateswap

Build Status

Stateswap is a protocol to create state change swaps between arbitrary smart contract function calls.

Find more information here.

Development

Setup

Install dependencies with Yarn:

yarn

Testing

Run testrpc (ganache-cli) to provide a simulated EVM:

yarn testrpc

In a separate terminal, run the testuite:

yarn test

Linting

Lint all Solidity files with:

yarn lint

Static Analysis

Run static analysis tooling with:

yarn analyze

Deployment

Edit truffle-config.js according to your deployment plans, then run:

yarn run truffle deploy --network [network]

About

Core smart contracts of Stateswap

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published