Follow these steps to get started:
- Get a CDP API key and wallet secret from the CDP Portal
- Fill in your API key and wallet secret in
.env.example
, then runmv .env.example .env
- In the root
typescript/
folder, runpnpm install && pnpm build
. You only need to do this once - In the
examples/typescript
folder, runpnpm install
to install the dependencies - Run
source .env
to load the environment variables. You will need to do this every time you open a new terminal
To run an example, use pnpm tsx
followed by the path to the example file, for example:
pnpm tsx evm/createAccount.ts