A trustless peer-to-peer swap protocol
SwapOS is a minimalistic peer-to-peer protocol enabling ERC20-token transfers cross-chain using Hyperlane. Currently, our implementation is a proof-of-concept to support EVM-based chains.
Going forward, SwapOS has the potential to expand beyond EVM's into (1) traditional finance / fiat transfers and (2) other chains (e.g. Bitcoin, Solana, and Gnosis). Swapping tokens cross-chains and without a middleman has never been easier.
Live on swapos.vercel.app
- Kenny Chung 👨🚀 (@kenny-gin1)
- Madusha Prasanjith 👨💻 (@mprasanjith)
- Erik Nilsson 👨🎨 (@eriknson)
To run SwapOS locally, install dependencies.
pnpm install
Copy & fill environments.
cp packages/frontend/.env.local.example packages/frontend/.env.local
cp packages/contracts/.env.example packages/contracts/.env
Generate contract-types, start local hardhat node, and start frontend with turborepo (from root-dir).
pnpm dev
Just start frontend (from root-dir).
pnpm frontend:dev
- Package-Manager:
pnpm
- Monorepo Tooling:
turborepo
- Smart Contract Development:
hardhat
- Deploy & Address-Export:
hardhat-deploy
- Typescript-Types:
typechain
- Deploy & Address-Export:
- Frontend:
next
- Contract Interactions:
wagmi
,rainbowkit
- Styling:
chakra
,tailwindcss
,twin.macro
,emotion
- Contract Interactions:
- Miscellaneous:
- Linting & Formatting:
eslint
,prettier
,husky
,lint-staged
- Linting & Formatting: