610: Bump @testing-library/jest-dom from 5.14.1 to 5.15.0 in /maker-frontend r=bonomat a=dependabot[bot] Bumps [`@testing-library/jest-dom](https://github.com/testing-library/jest-dom)` from 5.14.1 to 5.15.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/testing-library/jest-dom/releases"><code>`@testing-library/jest-dom</code>'s` releases</a>.</em></p> <blockquote> <h2>v5.15.0</h2> <h1><a href="https://github.com/testing-library/jest-dom/compare/v5.14.1...v5.15.0">5.15.0</a> (2021-11-02)</h1> <h3>Features</h3> <ul> <li>import parse directly from css (<a href="https://github-redirect.dependabot.com/testing-library/jest-dom/issues/415">#415</a>) (<a href=" |
3 years ago | |
---|---|---|
.cargo | Build for aarch64 which is needed for RPi4 | 3 years ago |
.github | Update dependabot.yml | 3 years ago |
daemon | Replace implementation of TakerId with public key | 3 years ago |
docs | Amend architecture docs | 3 years ago |
maker-frontend | Merge #610 #612 #613 #614 #615 #617 | 3 years ago |
taker-frontend | Merge #610 #612 #613 #614 #615 #617 | 3 years ago |
.dockerignore | Provide dockerfile and build during release | 3 years ago |
.gitignore | Replacement of structs with public data to ones with private data | 3 years ago |
Cargo.lock | Bump tokio from 1.13.1 to 1.14.0 | 3 years ago |
Cargo.toml | Use xtra-productivity from comit-network | 3 years ago |
Dockerfile | Add label to repository into docker container | 3 years ago |
README.md | Update README after new taker frontend rollout | 3 years ago |
bors.toml | Add new taker-frontend and rename old to maker-frontend | 3 years ago |
dprint.json | Add new taker-frontend and rename old to maker-frontend | 3 years ago |
rust-toolchain.toml | Bump to Rust 1.56 | 3 years ago |
start_all.sh | Remove maker default address | 3 years ago |
README.md
Itchy Sats
CFD trading on Bitcoin.
Details coming soon.
Quickstart
All the components can be started at once by running the following script:
./start_all.sh
Note: Before first run, you need to run cd maker-frontend; yarn install; cd../taker-frontend; yarn install
command to ensure that all dependencies get
installed.
The script combines the logs from all binaries inside a single terminal so it might not be ideal for all cases, but it is convenient for quick regression testing.
Pressing Ctrl + c
once stops all the processes.
The script also enables backtraces by setting RUST_BACKTRACE=1
env variable.
Starting the maker and taker daemon
The maker and taker frontend depend on the respective daemon running.
At the moment the maker daemon has to be started first:
cargo run --bin maker
Once the maker is started you can start the taker:
cargo run --bin taker
Upon startup the taker daemon will connect to the (hardcoded) maker and retrieve the current order.
Note: The sqlite databases for maker and taker are currently created in the project root.
Starting the maker and taker frontend
We use a separate react projects for hosting taker and maker frontends.
At the moment you will need a browser extension to allow CORS headers like CORS Everywhere
(Firefox Extension) to use the frontends.
Taker
cd taker-frontend
yarn install
yarn dev
Maker
cd maker-frontend
yarn install
yarn dev
Linting
To run eslint, use:
cd maker-frontend && yarn run eslint
cd taker-frontend && yarn run eslint