Technical references
The Casperswap protocol consists of 2 repositories with smart contracts
Casperswap core - Github repository
Casperswap router - Github repository
Prerequisites
You can install the required software by running the following commands. If you already have an up-to-date Casper node, you probably already have all of the prerequisites installed so you can skip this step.
Creating Keys
All Test Cases
Tests require that the CasperLabs-UniswapV2-core repository to be checked out into a sibling directory of CasperLabs-UniswapV2-router.
To build the contracts and run the tests, first navigate back to this directory and run:
To run all the tests:
To clean up:
Known contract hashes
Router contract has already being deployed. In order to interact with it you need to call it by its hash. The table below contains the contract hash (without the hash-
prefix) for Router contract on public Casper networks:
Testnet
hash-d52d2e98554c1854fd8a9ce541a9d52dab73fd2841655513a9c8295898803ce0
Casper Association
Last updated