@skalenetwork/skale-contracts-ethers-v5 0.0.3-main.0 → 0.0.3-main.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +3 -4
- package/package.json +2 -2
package/README.md
CHANGED
@@ -8,13 +8,12 @@ The library simplifies development of dApps that interact with smart contracts i
|
|
8
8
|
|
9
9
|
- resolving of addresses of SKALE contracts on different networks
|
10
10
|
- providing up to date ABI for SKALE contracts (they may change over time due to upgradeable nature of some contracts)
|
11
|
-
- automatic creation of `Contract` objects.
|
12
|
-
- ethers v5
|
11
|
+
- automatic creation of `Contract` objects.
|
13
12
|
|
14
13
|
## Installation
|
15
14
|
|
16
15
|
```bash
|
17
|
-
yarn add @skalenetwork/skale-contracts
|
16
|
+
yarn add @skalenetwork/skale-contracts-ethers-v5
|
18
17
|
```
|
19
18
|
|
20
19
|
## Glossary
|
@@ -54,7 +53,7 @@ When target instance is received it can be queried for information (address, AB
|
|
54
53
|
### Example
|
55
54
|
|
56
55
|
```typescript
|
57
|
-
import { skaleContracts } from "@skalenetwork/skale-contracts";
|
56
|
+
import { skaleContracts } from "@skalenetwork/skale-contracts-ethers-v5";
|
58
57
|
import { ethers } from "ethers";
|
59
58
|
|
60
59
|
const provider = new ethers.providers.JsonRpcProvider(endpoint)
|
package/package.json
CHANGED