Run npm install, then npm run typechain.

Run npm run test to run tests.

After modifying solidity files, run npm run typechain to recompile contract typedefs.