Skip to content

Latest commit

 

History

History
70 lines (51 loc) · 1.27 KB

README.md

File metadata and controls

70 lines (51 loc) · 1.27 KB

DoGClaim

Distribution of Games claim contract

Tests codecov

Overview

A DoGClaim contract to claim an ERC20 compliant token. Each user can claim with a signature generated off-chain by a trusted authority.

Setup

Install global dependencies

Install bun globally

curl -fsSL https://bun.sh/install | bash

Install Foundry globally

curl -L https://foundry.paradigm.xyz | bash
echo 'export PATH="$PATH:/Users/$USER/.foundry/bin"' >> ~/.bash_profile
. ~/.bash_profile
foundryup

Install project dependencies

Install dependencies via bun:

bun install

Install Foundry dependencies with forge:

forge install

Development

Linting

Lint via bun:

bun lint

Testing

Test via bun:

bun run test

Or with forge:

forge build
forge test