-
Notifications
You must be signed in to change notification settings - Fork 9
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
Link to ABI playground from verified contracts #1492
Conversation
lukaw3d
commented
Aug 1, 2024
Deployed to Cloudflare Pages
|
const scopeToPlaygroundURL: Record<Network, Partial<Record<Layer, string>>> = { | ||
[Network.mainnet]: { | ||
[Layer.emerald]: `https://abi-playground.oasis.io/?network=42262&contractAddress=${address_eth}`, | ||
[Layer.sapphire]: `https://abi-playground.oasis.io/?network=23294&contractAddress=${address_eth}`, | ||
}, | ||
[Network.testnet]: { | ||
[Layer.emerald]: `https://abi-playground.oasis.io/?network=42261&contractAddress=${address_eth}`, | ||
[Layer.sapphire]: `https://abi-playground.oasis.io/?network=23295&contractAddress=${address_eth}`, | ||
}, | ||
} |
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.
Can this be moved to some kind of config? ABI playground base url would also be nice to be extracted, so it's easy configurable.
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.
👍 from product's viewpoint
0834380
to
629ca6a
Compare