gun-eth 1.2.9 → 1.2.10
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/index.js +7 -2
package/package.json
CHANGED
package/src/index.js
CHANGED
@@ -1,7 +1,12 @@
|
|
1
|
-
const Gun = require("gun/gun");
|
1
|
+
/* const Gun = require("gun/gun");
|
2
2
|
const SEA = require("gun/sea");
|
3
3
|
const ethers = require("ethers");
|
4
|
-
const SHINE = require("../abis/SHINE.json");
|
4
|
+
const SHINE = require("../abis/SHINE.json"); */
|
5
|
+
|
6
|
+
import { ethers } from "ethers";
|
7
|
+
import SHINE from "../abis/SHINE.json";
|
8
|
+
import SEA from "gun/sea";
|
9
|
+
import Gun from "gun";
|
5
10
|
|
6
11
|
const SHINE_ABI = SHINE.abi;
|
7
12
|
const SHINE_OPTIMISM_SEPOLIA = SHINE.address;
|