Skip to content

Commit 440f132

Browse files
committed
deploys contracts to Polygon testnet
1 parent fc7539c commit 440f132

File tree

6 files changed

+5
-24
lines changed

6 files changed

+5
-24
lines changed

hardhat.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
require('dotenv').config();
21
require('@nomiclabs/hardhat-waffle');
32
const fs = require('fs');
43
const { network } = require('./constants');

package-lock.json

Lines changed: 2 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@safient/contracts",
3-
"version": "0.1.17-alpha",
3+
"version": "0.1.18-alpha",
44
"description": "JavaScript SDK to manage and interact with the safe claims on Safient protocol.",
55
"keywords": [
66
"Web3",
@@ -62,7 +62,6 @@
6262
"chai": "^4.3.4",
6363
"chai-as-promised": "^7.1.1",
6464
"did-jwt": "^5.6.2",
65-
"dotenv": "^10.0.0",
6665
"ethereum-waffle": "^3.3.0",
6766
"ethereumjs-wallet": "0.6.5",
6867
"ethers": "^5.4.3",

src/utils/networks.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
const dotenv = require('dotenv');
2-
dotenv.config();
1+
32

43
const INFURA_API_KEY = process.env.INFURA_API_KEY || process.env.REACT_APP_INFURA_API_KEY;
54

src/utils/networks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"chainId": 80001,
3939
"addresses": {
4040
"AutoAppealableArbitrator": "0xf54D6b97749ECD28F9EbF836Ed9cE0C387a2f0A1",
41-
"SafientMain": "0xccA53824ce8944a3cB7b21139bd177DEEe6e27C0"
41+
"SafientMain": "0x8C2FA3dE952f5A1c463af0Fb42a9A812D3Ffe9e3"
4242
}
4343
}
4444
}

test-sdk/claims.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ const { ethers } = require('hardhat');
22
const { JsonRpcProvider } = require('@ethersproject/providers');
33
const chai = require('chai');
44

5-
require('dotenv').config();
6-
75
const expect = chai.expect;
86
chai.use(require('chai-as-promised'));
97

0 commit comments

Comments
 (0)