Distribution of Games claim contract
A DoGClaim
contract to claim an ERC20 compliant token. Each user can claim with a signature generated off-chain by a trusted authority.
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 dependencies via bun
:
bun install
Install Foundry dependencies with forge
:
forge install
Lint via bun
:
bun lint
Test via bun
:
bun run test
Or with forge
:
forge build
forge test