Share Expenses, Save on Fees Powered by Crypto
- Install root dependencies
npm i --include=dev
- Install backend dependencies
npm --prefix backend i --include=dev
- Install frontend dependencies
npm --prefix frontend i --include=dev
- Create a local environment
cp frontend/.env.local.example frontend/.env.local
and add your API keys. - Run
npm run dev
in the root folder. - (only first time) import the private keys to your wallet (Metamask, Coinbase).
- Deploy the contract
npm run deploy-dev
and add the address to thefrontend/.env.local
.
Work in the backend/
folder and
Run npx hardhat test
to test the contract create a local environment cp .env.example .env
with your API keys.
- For initial deploy change USDC addresses in
scripts/deploy.ts
and runnpx hardhat run scripts/deploy.ts --network {network}
- For an upgrade change
PROXY_ADDRESS
inscripts/_deployV2.ts
and runnpx hardhat run scripts/_deployV2.ts --network {network}
- Make sure
ETHERSCAN_API_KEY
is set in .env (for base use basescan API key). - Run
npx hardhat verify --network {network} {PROXY_ADDRESS}