Skip to content

Commit

Permalink
Merge pull request #60 from peetzweg/pz/rococo-contracts
Browse files Browse the repository at this point in the history
fix: marks `rococo` as deprecated and should be replaced with `contracts`
  • Loading branch information
wottpal committed Feb 5, 2024
2 parents 4c339d8 + 2e23a13 commit 0f7c051
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
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 = {
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

0 comments on commit 0f7c051

Please sign in to comment.