docs: warp to warp-contracts

This commit is contained in:
asiaziola
2022-06-06 13:49:13 +02:00
parent 448d694dd3
commit 978466ce5e
3 changed files with 41 additions and 19 deletions

View File

@@ -97,22 +97,22 @@ SDK requires node.js version 16.5+.
#### Using npm
`npm install warp`
`npm install warp-contracts`
#### Using yarn
`yarn add warp`
`yarn add warp-contracts`
### Import
You can import the full API or individual modules.
```typescript
import * as WarpSdk from 'warp';
import * as WarpSdk from 'warp-contracts';
```
```typescript
import { Warp, Contract, ... } from 'warp'
import { Warp, Contract, ... } from 'warp-contracts'
```
The SDK is available in both the ESM and CJS format - to make it possible for web bundlers (like webpack) to effectively