Decentralized Derivatives Trading. Any Market. Anytime. Anywhere.
An example repository based on TypeScript on interacting with our chain using the @injectivelabs/sdk-ts
package.
- Clone the repository
git clone [email protected]:InjectiveLabs/injective-ts-examples.git
cd injective-ts-examples
yarn
- Fill in the details in an .env (if you are using this to send transactions)
## make .env file
## PRIVATE_KEY=YOUR_HEX_PRIVATE_KEY
- Execute an example (optional)
yarn ts-node pathToExample
## Example: yarn ts-node ./src/transaction.ts
Reach out to us at one of the following places!
- Website at
injective.com
- Twitter at
@Injective