Install PAPI and bun
npm i -g polkadot-api
npm install -g bun
If you want to start from scratch
bun init -y
bun papi add dot -n polkadot
bun papi add itp -w wss://polkadot.api.integritee.network
bun papi
bun install
run papi.how example:
bun index.ts
run integritee test
bun test-integritee-polkadot.ts