π π π An SDK for building applications on top of CrocSwap
Getting Started
# Clone the repository (you can also click "Use this template")
git clone https://github.com/CrocSwap/sdk.git your_project_name
cd your_project_name
# Edit `package.json` and `tsconfig.json` to your liking
...
# Install dependencies
yarn install
# Now you can run various yarn commands:
yarn cli
yarn lint
yarn test
yarn build-all
yarn ts-node <filename>
yarn esbuild-browser
...
# run the first example app (note: run 'yarn build-all' first)
yarn ts-node ./examples/01-retrieve-spot-price.ts