-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Finalize skale #387
Finalize skale #387
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some remarks (not finished)
common/package.json
Outdated
@@ -32,6 +33,7 @@ | |||
"@types/node": "^20.12.7", | |||
"findup-sync": "^5.0.0", | |||
"tslib": "^2.6.2", | |||
"typescript": "^5.4.5" | |||
"typescript": "^5.4.5", | |||
"viem": "^2.9.16" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should not add viem already
common/src/common/provider-get.ts
Outdated
@@ -8,6 +8,8 @@ import type { WindowExternalProvider } from "./types"; | |||
import { getChecksumAddress, sleep } from "../common/config"; | |||
import { ethers } from "ethers"; | |||
import { networks } from "./networks"; | |||
import { receiveFunds } from "@kredeum/skale"; | |||
import { Address } from "viem"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
const signer = provider.getSigner(accountOrIndex); | ||
const signerAddress = (await signer.getAddress()) as Address; | ||
|
||
await receiveFunds(signerAddress, chainId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
allow string in receiveFunds
const signer = provider.getSigner(accountOrIndex); | ||
const signerAddress = (await signer.getAddress()) as Address; | ||
|
||
await receiveFunds(signerAddress, chainId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check before chainId need this ("paymaster" attribute in networks.json)
if hasPaymaster(chainId) {...}
contracts/addresses.json
Outdated
@@ -282,6 +287,7 @@ | |||
"OpenNFTsFactoryV3": "0xb5c8CB0846317d82af2DbF90713716B01A2f680a", | |||
"OpenNFTsResolver": "0x25F56b5527F5634752Fd2C85564E8d2484cAAEF3", | |||
"OpenNFTsV4": "0xd1ca741de2d2975822ADf4646Cf0A8AE3Df51c78", | |||
"OpenNFTsV4Skale_last": "0xaBC576652433154Ab5F9cF1A2F4f0457d7690cc6", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
gulp/package.json
Outdated
@@ -30,4 +30,4 @@ | |||
"sass": "^1.75.0" | |||
}, | |||
"type": "module" | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
gulp/src/scss/_networks.scss
Outdated
@@ -1,2 +1 @@ | |||
$networks: "mainnet", "arbitrum", "optimism", "base", "linea", "mantle", "blast", "polygon-zkevm", "mode", "manta-pacific", "polygon", "gnosis", "avalanche", "fantom", "bsc", "scroll", "zora", "celo", "telos", "taiko", | |||
"skale", "local"; | |||
$networks: "mainnet", "arbitrum", "optimism", "base", "linea", "mantle", "blast", "polygon-zkevm", "mode", "manta-pacific", "polygon", "gnosis", "avalanche", "fantom", "bsc", "scroll", "zora", "celo", "telos", "taiko", "skale", "skale-calypso", "local"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove skale-caplypso
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
Skale specific developments