@passly/passly-sdk 0.1.8 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.js +6 -6
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -43,16 +43,16 @@ class PasslySDK {
|
|
|
43
43
|
|
|
44
44
|
// Use default provider if none provided
|
|
45
45
|
if (!config.provider) {
|
|
46
|
-
config.provider = new ethers.providers.JsonRpcProvider('https://
|
|
46
|
+
config.provider = new ethers.providers.JsonRpcProvider('https://1rpc.io/base');
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
// Default contract addresses
|
|
50
50
|
const addresses = {
|
|
51
|
-
passly: config.contractAddress || '
|
|
52
|
-
platforms: config.platformsAddress || '
|
|
53
|
-
archives: config.archivesAddress || '
|
|
54
|
-
rewards: config.rewardsAddress || '
|
|
55
|
-
leaderboard: config.leaderboardAddress || '
|
|
51
|
+
passly: config.contractAddress || '0xDAA115033325DCEBf0D32bbdD84afd26A2C29923',
|
|
52
|
+
platforms: config.platformsAddress || '0x81b77ae447A5Fa45961c5032e3bC0Da452E6237F',
|
|
53
|
+
archives: config.archivesAddress || '0x348E8c982f7DEAF3719A1a734F6752DA3c03737D',
|
|
54
|
+
rewards: config.rewardsAddress || '0x09F2006bdaF0342d33fF2855F901933e98b9c00e',
|
|
55
|
+
leaderboard: config.leaderboardAddress || '0x23B22FB6929b0832819d477913AeBeccCC5a9E41'
|
|
56
56
|
};
|
|
57
57
|
|
|
58
58
|
// Contract ABIs
|