Skip to content
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

Merged
merged 2 commits into from
Apr 30, 2024
Merged

Finalize skale #387

merged 2 commits into from
Apr 30, 2024

Conversation

zapaz
Copy link
Member

@zapaz zapaz commented Apr 30, 2024

Skale specific developments

Copy link
Member Author

@zapaz zapaz left a 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)

@@ -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"
Copy link
Member Author

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

@@ -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";
Copy link
Member Author

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);
Copy link
Member Author

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);
Copy link
Member Author

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) {...}

common/src/resolver/resolver-conv-supports.ts Outdated Show resolved Hide resolved
@@ -282,6 +287,7 @@
"OpenNFTsFactoryV3": "0xb5c8CB0846317d82af2DbF90713716B01A2f680a",
"OpenNFTsResolver": "0x25F56b5527F5634752Fd2C85564E8d2484cAAEF3",
"OpenNFTsV4": "0xd1ca741de2d2975822ADf4646Cf0A8AE3Df51c78",
"OpenNFTsV4Skale_last": "0xaBC576652433154Ab5F9cF1A2F4f0457d7690cc6",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

@@ -30,4 +30,4 @@
"sass": "^1.75.0"
},
"type": "module"
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

@@ -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";
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove skale-caplypso

Copy link
Member Author

@zapaz zapaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

@zapaz zapaz merged commit c8262f5 into beta Apr 30, 2024
2 checks passed
@zapaz zapaz deleted the finalizeSkale branch April 30, 2024 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants