-
Notifications
You must be signed in to change notification settings - Fork 15
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
chore: add new Testnet Pop-Network #70
Merged
Merged
Changes from 2 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
aeee0e6
adds smart contract capable Pop Network
peetzweg 31f6089
docs(changeset): aadds smart contract capable Pop Network to defined …
peetzweg bc60f40
adds testnet suffix for now
peetzweg 68e3c84
feat: Add `popNetworkTestnet` to `allSubstrateChains`
wottpal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@scio-labs/use-inkathon": minor | ||
--- | ||
|
||
aadds smart contract capable Pop Network to defined chains |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,6 +36,18 @@ export const alephzeroTestnet: SubstrateChain = { | |
faucetUrls: ['https://faucet.test.azero.dev'], | ||
} | ||
|
||
export const popNetwork: SubstrateChain = { | ||
network: 'pop-network', | ||
name: 'Pop Network', | ||
ss58Prefix: 42, | ||
rpcUrls: ['wss://rpc1.paseo.popnetwork.xyz', 'wss://rpc2.paseo.popnetwork.xyz'], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We have launched an extra node |
||
explorerUrls: { | ||
[SubstrateExplorer.PolkadotJs]: `https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc1.paseo.popnetwork.xyz`, | ||
}, | ||
testnet: true, | ||
faucetUrls: ['https://faucet.polkadot.io/'], | ||
} | ||
|
||
export const contracts: SubstrateChain = { | ||
network: 'contracts', | ||
name: 'Contracts on Rococo', | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Is "Pop Network" solely a testnet or will there be a mainnet endpoint at some point, too? If yes, I would suggest a naming convention like:
popMainnet
&popTestnet
. Wdyt? cc @al3martThere 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.
Not sure if there already existed a naming convention for this relay/parachain scheme, but it think it would be worth coming up with a common scheme, than we it would be clear what the Pop Network mainnet and testnet would be depending on the relay chain.
Something like
Paseo/PopNetwork
,Polkadot/PopNetwork
.Thinking this even further it would be actually pretty cool imho to use some sort of defined standard for a simple string representation of full XCM multilocation for the chain. Than it would be more like a proper URI which can be used to create xcm destinations, cc @Daanvdplas.
https://paritytech.github.io/xcm-docs/fundamentals/multilocation/index.html
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.
That would be awesome @peetzweg. I guess something like the
NetworkId
would be useful for that@wottpal this is pointing to the testnet, but it is meant to exist on Pokadot :) So making sure users can differentiate between both will be handy.
popNetwork
andpopTestnet
might work perfectly fine! Though, if a common scheme is to be used we are more than happy to follow that. Personally, I like the idea of prepending the relay name to the parachain name, it reads very clear.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.
I changed it to
popNetworkTestnet
andpop-network-testnet
for now. We might come up with a more general naming scheme for everything in the future but should for sure not be part of this pr. :)use-inkathon/src/chains.ts
Lines 39 to 40 in bc60f40