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

fix: marks rococo as deprecated and should be replaced with contracts #60

Merged
merged 3 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/rude-coats-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@scio-labs/use-inkathon': minor
---

marks `rococo` chains data as deprecated and should be replaced with `contracts`, as `rococo` is the testnet relay chain not the smart contracts chain users interact with
13 changes: 9 additions & 4 deletions src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,23 @@ export const alephzeroTestnet: SubstrateChain = {
faucetUrls: ['https://faucet.test.azero.dev'],
}

export const rococo: SubstrateChain = {
network: 'rococo',
name: 'Rococo Contracts Testnet',
export const contracts: SubstrateChain = {
wottpal marked this conversation as resolved.
Show resolved Hide resolved
network: 'contracts',
name: 'Contracts on Rococo',
ss58Prefix: 42,
rpcUrls: ['wss://rococo-contracts-rpc.polkadot.io'],
explorerUrls: {
[SubstrateExplorer.Subscan]: `https://rococo.subscan.io`,
[SubstrateExplorer.PolkadotJs]: `https://polkadot.js.org/apps/?rpc=wss%253A%252F%252Frococo-contracts-rpc.polkadot.io`,
},
testnet: true,
faucetUrls: ['https://matrix.to/#/#rococo-faucet:matrix.org'],
}

/**
* @deprecated Use `contracts` instead, which is the smart contracts parachain of Rococo.
*/
export const rococo: SubstrateChain = contracts

export const shibuya: SubstrateChain = {
network: 'shibuya',
name: 'Shibuya Testnet',
Expand Down