abstraxn_account
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -8,4 +8,5 @@ "use strict"; | ||
const Common_1 = require("../Common"); | ||
let provider = new ethers_1.ethers.providers.JsonRpcProvider("https://ethereum-holesky.publicnode.com"); | ||
const { ethereum } = window; | ||
let provider = new ethers_1.ethers.providers.Web3Provider(ethereum); | ||
exports.smartAccountFactoryContract = new ethers_1.ethers.Contract(Common_1.FACTORY_ADDRESS, SmartAccountFactory_Abi_1.SMART_ACCOUNT_FACTORY_ABI, provider); | ||
exports.ECDSAModuleContract = new ethers_1.ethers.Contract(Common_1.ECDSA_MODULE_ADDRESS, ECDSAModule_Abi_1.ECDSA_Module_ABI, provider); |
{ | ||
"name": "abstraxn_account", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./dist/src/index.js", |
@@ -6,4 +6,5 @@ import { ethers } from "ethers"; | ||
const { ethereum }: any = window; | ||
let provider = new ethers.providers.JsonRpcProvider("https://ethereum-holesky.publicnode.com") | ||
let provider = new ethers.providers.Web3Provider(ethereum) | ||
@@ -10,0 +11,0 @@ |
Sorry, the diff of this file is not supported yet
7496
257231