IC3 Blockchain Summer Camp Project
We'll use the fork and pull model, meaning that you should first create a fork of the repository, and clone this fork.
- Fork the project
- Clone your fork, e.g., if your GitHub username is
alice
:
git clone --recursive git@github.com:alice/badgerswap-v3.git
Once you have clone the fork, add the upstream
remote:
git remote add upstream git@github.com:initc3/badgerswap-v3.git
Using alice
as the username for examples, git remote --verbose
would show:
git remote --verbose
origin git@github.com:alice/badgerswap-v3.git (fetch)
origin git@github.com:alice/badgerswap-v3.git (push)
upstream git@github.com:initc3/badgerswap-v3.git (fetch)
upstream git@github.com:initc3/badgerswap-v3.git (push)
- Build the image:
docker-compose -f dev.yml build --no-cache
docker-compose -f dev.yml up -d
docker exec -it badgerswap-v3_dev_1 bash
./ratel/src/compile.sh
./ratel/src/python/badgerswapv3/run.sh
python -m ratel.src.python.badgerswapv3.deposit
python -m ratel.src.python.badgerswapv3.initPool
python -m ratel.src.python.badgerswapv3.addLiquidity
python -m ratel.src.python.badgerswapv3.trade
Updating your main branch code to the latest main branch code:
git fetch upstream
git rebase upstream/main main
For another branch just replace main
with the branch name.
Use the issues to document problems, questions, ideas etc.
Since this is a hackathon, do not hesitate to use the issues to document any idea, or question.
Don't censor yourself!
Any idea is welcome!
We have very little time, and we can not afford to risk missing a good idea. So don't judge your ideas, leave this responsibility to time; time will tell.
View the issues as a place to document brainstorming ideas!
To submit code, create a branch, push it to your fork, and make a pull request. Ask for help if you don't know how.
See ./testkeys/README.md.