/contract Readme and Makefile
This commit is contained in:
11
Makefile
Normal file
11
Makefile
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
tests:
|
||||||
|
bin/test.sh
|
||||||
|
|
||||||
|
build:
|
||||||
|
bin/build.sh
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
# foundry
|
||||||
|
curl -L https://foundry.paradigm.xyz | bash
|
||||||
|
# jq
|
||||||
|
sudo apt install jq
|
||||||
19
Readme.md
Normal file
19
Readme.md
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# Dexorder contract
|
||||||
|
|
||||||
|
Dexorder Solidity code is in this subproject. This readme is for running contract code standalone for testing purposes.
|
||||||
|
|
||||||
|
## Quickstart
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# install dependencies: foundry, jq, make
|
||||||
|
curl -L https://foundry.paradigm.xyz | bash
|
||||||
|
sudo apt install jq
|
||||||
|
sudo apt install make
|
||||||
|
|
||||||
|
# build and test the contract
|
||||||
|
make
|
||||||
|
```
|
||||||
|
|
||||||
|
## Development
|
||||||
|
|
||||||
|
The development environment is based on [Foundry](https://book.getfoundry.sh) toolset.
|
||||||
Reference in New Issue
Block a user