Trustless p2p trading on Cardano
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen?logo=github)](CODE_OF_CONDUCT.md) [![Website](https://img.shields.io/website?url=https%3A%2F%2Fatomic-swap.io&logo=atomic-swap)](https://atomic-swap.io/) [![Tweet](https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Fatomic-swap.io%2F)](https://twitter.com/intent/tweet?text=Atomic%20Swap%20-%20A%20trustless%20p2p%20trading%20dApp%20on%20Cardano.%20https%3A//atomic-swap.io/%20%23atomicswap%20via%20%40_atomicswap)
Built with ❤︎ by contributors
npm install --save --legacy-peer-deps react-kawaii
cd functions
npm install
npm run build
cd ..
npm run build
Note: there is currently a bug in chakra-ui that causes builds to fail see this issue. The best way to resolve it for now is to replace "ColorAdjust" with "PrintColorAdjust" at "node_modules/@chakra-ui/menu/dist/declarations/src/use-menu.d.ts:480:50" and "node_modules/@chakra-ui/menu/dist/declarations/src/use-menu.d.ts:986:61"
After building you can serve the application using by running firebase emulators:start
and npm run preview
When developing you don't need to build the app but can use firebase emulators:start
and npm run dev
.
Note that while the frontend is rebuilt automatically the backend must be recompiled before you can serve new versions.
Secrets must be stored in a name with the format secrets.ts
in the functions/src/
directory.
(This ensures that they are ignored by git.) You get the secrets from blockfrost.
Example:
export const BLOCKFROST_ID_MAINNET = "...";
export const BLOCKFROST_ID_TESTNET = "...";
This project is licensed under the GPL 3.0 - see the LICENSE
file for details.
This project exists thanks to all the people who contribute — contribute.