Skip to content

Commit

Permalink
Fuse and Fuse Sparknet support (#138)
Browse files Browse the repository at this point in the history
* PRO-259 add Fuse support

* update version

* update version etherspot contract

* update Readme
  • Loading branch information
riccardopillar authored Jul 6, 2022
1 parent 6225bdc commit 1d0d815
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 11 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ async function main() {
main().catch(console.error);
```

## Notification of transactions

notification of transactions is not available for fuse


## License

Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "etherspot",
"version": "1.33.10",
"version": "1.34.0",
"description": "Etherspot SDK",
"keywords": [
"ether",
Expand Down Expand Up @@ -41,7 +41,7 @@
},
"dependencies": {
"@apollo/client": "3.4.0",
"@etherspot/contracts": "1.6.0",
"@etherspot/contracts": "1.8.0",
"@nerdwallet/apollo-cache-policies": "1.2.1",
"class-transformer": "0.4.0",
"class-validator": "0.13.1",
Expand Down
2 changes: 2 additions & 0 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -838,6 +838,8 @@ enum NetworkNames {
Arbitrum
Moonbeam
Moonbase
Fuse
FuseSparknet
Celo
CeloTest
}
Expand Down
2 changes: 2 additions & 0 deletions src/sdk/env/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const SUPPORTED_ENVS: { [key: string]: Env } = {
NetworkNames.Arbitrum,
NetworkNames.Moonbeam,
NetworkNames.Celo,
NetworkNames.Fuse,
],
},
},
Expand All @@ -50,6 +51,7 @@ export const SUPPORTED_ENVS: { [key: string]: Env } = {
NetworkNames.ArbitrumTest,
NetworkNames.Moonbase,
NetworkNames.CeloTest,
NetworkNames.FuseSparknet,
NetworkNames.Etherspot,
],
},
Expand Down
4 changes: 4 additions & 0 deletions src/sdk/network/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ export enum NetworkNames {
Celo = 'celo',
CeloTest = 'celoTest',
Etherspot = 'etherspot',
Fuse = 'fuse',
FuseSparknet = 'fuseSparknet',
LocalA = 'localA',
LocalB = 'localB',
LocalH = 'localH',
Expand Down Expand Up @@ -58,6 +60,8 @@ export const NETWORK_NAME_TO_CHAIN_ID: {
[NetworkNames.Moonbase]: 1287,
[NetworkNames.CeloTest]: 44787,
[NetworkNames.Celo]: 42220,
[NetworkNames.Fuse]: 122,
[NetworkNames.FuseSparknet]: 123,
[NetworkNames.Etherspot]: 4386,
[NetworkNames.LocalA]: 9999,
[NetworkNames.LocalB]: 6666,
Expand Down

0 comments on commit 1d0d815

Please sign in to comment.