Skip to content

chainsona/idle-battle

Repository files navigation

Idle Battle

Getting started

Install packages

yarn

Test

Single run testing:

anchor test

With watcher:

fswatch -o $PWD/programs/idle-battle \
    | xargs -n1 -I{} anchor test

Use anchor test --skip-local-validator if you already have a local validator running.

Build

anchor build --idl-ts $PWD/app-ts/src/idl

Deploy

anchor deploy