Skip to content

Commit

Permalink
Merge pull request #15 from zCloak-Network/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
tower1229 authored Feb 29, 2024
2 parents 9c0a857 + 0ae8787 commit b877029
Show file tree
Hide file tree
Showing 10 changed files with 612 additions and 12 deletions.
155 changes: 155 additions & 0 deletions src/assets/coin-svgrepo-com.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions src/constants/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,27 @@ export const ContractAddressMap: Record<number, `0x${string}`> = {
84532: "0x0483e88cd38cccb71c9c1020faf830d905542d09", //baseSepolia
};

export const SBTAddressMap: Record<number, `0x${string}`> = {
421614: "0x6889695c0A6272410Af24766bbf3980F2466a1dc", //arbitrumSepolia
11155420: "0x2e842f6e3fbf093981938f4e24892185bbdad727", //optimismSepolia
84532: "0x078f00401536a55E973d4a2Cf26a9B1f98544d52", //baseSepolia
};

export const SBTBrowserMap: Record<
number,
(id?: number, hash?: string) => string
> = {
421614: function (id?: number) {
return `https://testnets.opensea.io/zh-CN/assets/arbitrum-sepolia/0x6889695c0a6272410af24766bbf3980f2466a1dc/${id}`;
},
11155420: function (_id?: number, hash?: string) {
return `https://optimism-sepolia.blockscout.com/token/${hash}`;
},
84532: function (id?: number) {
return `https://testnets.opensea.io/zh-CN/assets/base-sepolia/0x078f00401536a55e973d4a2cf26a9b1f98544d52/${id}`;
},
};

export const FaucetMap: Record<number, Record<string, string>[]> = {
421614: [
{ "Faucet by Alchemy": "https://www.alchemy.com/faucets/arbitrum-sepolia" },
Expand Down
Loading

0 comments on commit b877029

Please sign in to comment.