This repository contains examples of how to use Orderly EVM API written in TypeScript.
- install Nodejs >= 18
- install yarn:
npm i -g yarn
- clone this repository
- install dependencies:
yarn
- set up a
.env
file by copying.env.example
and insert your wallet's private key. - run example:
yarn start
- generate code from ABI files via typechain:
yarn typegen