Skip to content

Commit

Permalink
Document "How to Connect to Asset Hub" (#365)
Browse files Browse the repository at this point in the history
* fix: connect to asset hub page

* fix: images routes

* Update develop/smart-contracts/connect-to-asset-hub.md

Co-authored-by: 0xLucca <[email protected]>

* Update develop/smart-contracts/connect-to-asset-hub.md

Co-authored-by: 0xLucca <[email protected]>

* Update develop/smart-contracts/connect-to-asset-hub.md

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/smart-contracts/connect-to-asset-hub.md

Co-authored-by: Dawn Kelly <[email protected]>

* fix: clarification polkadot faucet

* fix: wss endpoints changed to https endpoints

* fix: adding metamask button

* fix: metamask button position

* Update js/connect-to-metamask.js

Co-authored-by: Lucas Malizia <[email protected]>

* Update js/connect-to-metamask.js

Co-authored-by: Lucas Malizia <[email protected]>

* fix: wording snippet

* fix: wording snippet about AH

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* Add "Deploy an ERC20" with remix tutorial (#344)

* fix: adding tutorial to deploy erc20 and images

* fix: moving smart contract code to snippet

* Apply suggestions from code review

Co-authored-by: 0xLucca <[email protected]>

* fix: adding standard erc20 functions

* fix: feedback

* Update tutorials/smart-contracts/deploy-erc20.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/smart-contracts/deploy-erc20.md

Co-authored-by: Erin Shaben <[email protected]>

* fix: erc-20

* fix: erc-20 instance

* Update tutorials/smart-contracts/deploy-erc20.md

Co-authored-by: Erin Shaben <[email protected]>

* fix: sentence case applied

* Update tutorials/smart-contracts/deploy-erc20.md

Co-authored-by: Erin Shaben <[email protected]>

* fix: bold list items

* Update tutorials/smart-contracts/deploy-erc20.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/smart-contracts/deploy-erc20.md

Co-authored-by: Erin Shaben <[email protected]>

* fix: action titles

* fix: adding variables

---------

Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>

* Update AHSC with latest IA (#370)

* [FIX] - Adding `npm install` to contributing.md (#256)

* fix: adding npm i to contributing guide

* [FIX] - Refactoring testing section (#248)

* fix: testing refactor

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* fix: references and snippets

* fix: adding cards

* Apply suggestions from code review

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/testing/mock-runtime.md

Co-authored-by: Dawn Kelly <[email protected]>

* Tutorials > Interoperability > XCM Transfers (#221)

* fix: add wip

* fix: adding last sections

* fix: wording

* fix: structure

* Apply suggestions from code review

Co-authored-by: 0xLucca <[email protected]>

* fix: adding links

* fix: images structure

* fix: paraphrasing

* fix: paraphrasing

* Update tutorials/interoperability/xcm-transfers/from-relaychain-to-parachain.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/interoperability/xcm-transfers/from-relaychain-to-parachain.md

Co-authored-by: Erin Shaben <[email protected]>

* fix: table

* fix: adding papi tutorial

* fix: paraphrasing

* fix: moving code to snippet

* fix: snippet

* Update tutorials/interoperability/xcm-transfers/from-relaychain-to-parachain.md

Co-authored-by: 0xLucca <[email protected]>

* Update tutorials/interoperability/xcm-transfers/from-relaychain-to-parachain.md

Co-authored-by: 0xLucca <[email protected]>

* Update tutorials/interoperability/xcm-transfers/from-relaychain-to-parachain.md

Co-authored-by: 0xLucca <[email protected]>

* fix: feedback

* fix: snippet

* fix: link

---------

Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>

* [FIX] - Adding references to tutorials (#230)

* fix: adding reference to tutorials on asset hub page

* Add xcm channels

* Add runtime upgrades

* Add chain spec

* Add custom parachains

* fix: adding chopsticks

* fix: zombienet

* Update develop/parachains/get-started/build-custom-parachains.md

Co-authored-by: Nicolás Hussein <[email protected]>

* fix: xcm channels references

* fix: generate chain specs references

* fix: generate chain specs 'where to go next'

* fix: build custom parachains references

* fix: runtime upgrades references

* fix: chopsticks get started references

* fix: zombienet get started references

* fix: asset hub references

* fix: add existing pallets references

* fix: add smart contract funcionality references

* fix: make custom pallet references

* fix: pallet testing references

* fix: generate chain specs references

* fix: adding comment in build custom parachains

* fix: deploy parachain to polkadot references

* fix: setup references

* fix: consensus get started references removed

* fix: architecture parachains references

---------

Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: 0xLucca <[email protected]>

* Tutorials > Polkadot SDK > Parachains > Build Custom Pallet > Build the Pallet (#232)

* wip: build-pallet

* Page ready

* Improvements

* Extract code snippets

* Description and grammarly

* fix: typo

* Add suggestions

* Update tutorials/polkadot-sdk/parachains/build-custom-pallet/build-pallet.md

Co-authored-by: Nicolás Hussein <[email protected]>

* Add root origin reference

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* Apply fmt

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* Apply suggestions from code review

Co-authored-by: Nicolás Hussein <[email protected]>

* Apply fixes

---------

Co-authored-by: nhussein11 <[email protected]>
Co-authored-by: Nicolás Hussein <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>

* fix: hidding polkaVM instances and adding informational banner (#251)

* Restructure Get Started section (#246)

* Remove get-started section

* Remove build and deploy pages

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

---------

Co-authored-by: Erin Shaben <[email protected]>

* Tutorials > Polkadot SDK > Parachains > Build Custom Pallet > Pallet Unit Testing (#233)

* fix: wip

* fix: adding snippets

* fix: typo

* Apply suggestions from code review

Co-authored-by: 0xLucca <[email protected]>

* fix: updating mock runtime\

* fix: snippets comments

* fix: typo

* fix: closing expandable elements

* fix: overflow

* fix: overflow

* Update tutorials/polkadot-sdk/parachains/build-custom-pallet/pallet-unit-testing.md

Co-authored-by: Erin Shaben <[email protected]>

* fix: feedback

* fix: clean up the add tutorial branch

* Update tutorials/polkadot-sdk/parachains/build-custom-pallet/pallet-unit-testing.md

Co-authored-by: Erin Shaben <[email protected]>

---------

Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>

* fix: feedback applied on mock runtime desc

* fix: adding further resources

* Update develop/parachains/testing/mock-runtime.md

Co-authored-by: Kian Paimani <[email protected]>

* fix: glossary runtime reference

* fix: paraphrasing according to feedback

* fix: paraphrasing

* corrects "benchmark testing" to "benchmarking" throughout the page

* Apply suggestions from code review

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/testing/benchmarking.md

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/testing/pallet-testing.md

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/testing/pallet-testing.md

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/testing/pallet-testing.md

Co-authored-by: Dawn Kelly <[email protected]>

* fix: adding reference to polkadot sdk guide

* fix: curly aphostrophes

* Update develop/parachains/testing/mock-runtime.md

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/testing/mock-runtime.md

Co-authored-by: Dawn Kelly <[email protected]>

* fix: feedback

* fix: feedback

---------

Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: Dawn Kelly <[email protected]>
Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: Kian Paimani <[email protected]>
Co-authored-by: DAWN KELLY <[email protected]>

* fix: typo (#258)

* Obtain Coretime Tutorial (#250)

* Coretime tutorial (most things)

* grammarly

* change to webp

* Apply suggestions from code review

Co-authored-by: Nicolás Hussein <[email protected]>

* paseo imgs

* ondemand updates

* update

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* fix: note

* fix: removing note

* fix: removing fake reference

---------

Co-authored-by: Nicolás Hussein <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: nhussein11 <[email protected]>

* add pages for legal policies and info (#255)

* add pages for legal policies and info

* pull in legal docs from mkdocs

* Apply suggestions from code review

Co-authored-by: albertov19 <[email protected]>

---------

Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: albertov19 <[email protected]>

* fix: replace old links (#260)

* add script to fix created dates (#259)

* Merge dev-pathways into develop/index (#249)

* removes "crosschain" as a dev pathway from develop/index.md

* save point before adding grid elements

* merges dev-pathways content into dev index page, updates incorrect link to Nova wallet, removes dev-pathways and updates nav

* updates Pathway name to use Application Developers consistently on this page

* adds some info to parachains/index

* update card format on develop/index, adds tip re: smart contracts are in active dev to develop/smart-contracts/index

* update language describing dev paths on develop/toolkit/index for consistency with rest of section

* typo fix

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

---------

Co-authored-by: Erin Shaben <[email protected]>

* Zero to Hero Tutorial (#254)

* Init structure

* wip: set-up-a-template

* Finish set up a template

* [FIX] - Adding references to tutorials (#230)

* fix: adding reference to tutorials on asset hub page

* Add xcm channels

* Add runtime upgrades

* Add chain spec

* Add custom parachains

* fix: adding chopsticks

* fix: zombienet

* Update develop/parachains/get-started/build-custom-parachains.md

Co-authored-by: Nicolás Hussein <[email protected]>

* fix: xcm channels references

* fix: generate chain specs references

* fix: generate chain specs 'where to go next'

* fix: build custom parachains references

* fix: runtime upgrades references

* fix: chopsticks get started references

* fix: zombienet get started references

* fix: asset hub references

* fix: add existing pallets references

* fix: add smart contract funcionality references

* fix: make custom pallet references

* fix: pallet testing references

* fix: generate chain specs references

* fix: adding comment in build custom parachains

* fix: deploy parachain to polkadot references

* fix: setup references

* fix: consensus get started references removed

* fix: architecture parachains references

---------

Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: 0xLucca <[email protected]>

* Tutorials > Polkadot SDK > Parachains > Build Custom Pallet > Build the Pallet (#232)

* wip: build-pallet

* Page ready

* Improvements

* Extract code snippets

* Description and grammarly

* fix: typo

* Add suggestions

* Update tutorials/polkadot-sdk/parachains/build-custom-pallet/build-pallet.md

Co-authored-by: Nicolás Hussein <[email protected]>

* Add root origin reference

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* Apply fmt

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* Apply suggestions from code review

Co-authored-by: Nicolás Hussein <[email protected]>

* Apply fixes

---------

Co-authored-by: nhussein11 <[email protected]>
Co-authored-by: Nicolás Hussein <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>

* fix: index zero to hero

* fix: clean up .pages

* fix: set up template where to go next

* fix: adding build a custom pallet content and moving code snippets

* Fix build pallet page

* wip: Add pallets to the runtime

* fix: wip

* fix: clean up pallet unit testing

* fix: pre-commit whitelisted files

* Finish add pallet to runtime

* Improve story telling

* wip: Execute Runtime Upgrades

* wip: deploy to testnet

* Deploy to Testnet ready

* Apply suggestions from code review

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/maintenance/runtime-upgrades.md

Co-authored-by: Dawn Kelly <[email protected]>

* Update tutorials/polkadot-sdk/parachains/zero-to-hero/add-pallets-to-runtime.md

Co-authored-by: Dawn Kelly <[email protected]>

* fix: adding tip to zero to hero index page

* [FIX] - Refactoring testing section (#248)

* fix: testing refactor

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* fix: references and snippets

* fix: adding cards

* Apply suggestions from code review

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/testing/mock-runtime.md

Co-authored-by: Dawn Kelly <[email protected]>

* Tutorials > Interoperability > XCM Transfers (#221)

* fix: add wip

* fix: adding last sections

* fix: wording

* fix: structure

* Apply suggestions from code review

Co-authored-by: 0xLucca <[email protected]>

* fix: adding links

* fix: images structure

* fix: paraphrasing

* fix: paraphrasing

* Update tutorials/interoperability/xcm-transfers/from-relaychain-to-parachain.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/interoperability/xcm-transfers/from-relaychain-to-parachain.md

Co-authored-by: Erin Shaben <[email protected]>

* fix: table

* fix: adding papi tutorial

* fix: paraphrasing

* fix: moving code to snippet

* fix: snippet

* Update tutorials/interoperability/xcm-transfers/from-relaychain-to-parachain.md

Co-authored-by: 0xLucca <[email protected]>

* Update tutorials/interoperability/xcm-transfers/from-relaychain-to-parachain.md

Co-authored-by: 0xLucca <[email protected]>

* Update tutorials/interoperability/xcm-transfers/from-relaychain-to-parachain.md

Co-authored-by: 0xLucca <[email protected]>

* fix: feedback

* fix: snippet

* fix: link

---------

Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>

* [FIX] - Adding references to tutorials (#230)

* fix: adding reference to tutorials on asset hub page

* Add xcm channels

* Add runtime upgrades

* Add chain spec

* Add custom parachains

* fix: adding chopsticks

* fix: zombienet

* Update develop/parachains/get-started/build-custom-parachains.md

Co-authored-by: Nicolás Hussein <[email protected]>

* fix: xcm channels references

* fix: generate chain specs references

* fix: generate chain specs 'where to go next'

* fix: build custom parachains references

* fix: runtime upgrades references

* fix: chopsticks get started references

* fix: zombienet get started references

* fix: asset hub references

* fix: add existing pallets references

* fix: add smart contract funcionality references

* fix: make custom pallet references

* fix: pallet testing references

* fix: generate chain specs references

* fix: adding comment in build custom parachains

* fix: deploy parachain to polkadot references

* fix: setup references

* fix: consensus get started references removed

* fix: architecture parachains references

---------

Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: 0xLucca <[email protected]>

* Tutorials > Polkadot SDK > Parachains > Build Custom Pallet > Build the Pallet (#232)

* wip: build-pallet

* Page ready

* Improvements

* Extract code snippets

* Description and grammarly

* fix: typo

* Add suggestions

* Update tutorials/polkadot-sdk/parachains/build-custom-pallet/build-pallet.md

Co-authored-by: Nicolás Hussein <[email protected]>

* Add root origin reference

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* Apply fmt

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* Apply suggestions from code review

Co-authored-by: Nicolás Hussein <[email protected]>

* Apply fixes

---------

Co-authored-by: nhussein11 <[email protected]>
Co-authored-by: Nicolás Hussein <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>

* fix: hidding polkaVM instances and adding informational banner (#251)

* Restructure Get Started section (#246)

* Remove get-started section

* Remove build and deploy pages

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

---------

Co-authored-by: Erin Shaben <[email protected]>

* Tutorials > Polkadot SDK > Parachains > Build Custom Pallet > Pallet Unit Testing (#233)

* fix: wip

* fix: adding snippets

* fix: typo

* Apply suggestions from code review

Co-authored-by: 0xLucca <[email protected]>

* fix: updating mock runtime\

* fix: snippets comments

* fix: typo

* fix: closing expandable elements

* fix: overflow

* fix: overflow

* Update tutorials/polkadot-sdk/parachains/build-custom-pallet/pallet-unit-testing.md

Co-authored-by: Erin Shaben <[email protected]>

* fix: feedback

* fix: clean up the add tutorial branch

* Update tutorials/polkadot-sdk/parachains/build-custom-pallet/pallet-unit-testing.md

Co-authored-by: Erin Shaben <[email protected]>

---------

Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>

* fix: feedback applied on mock runtime desc

* fix: adding further resources

* Update develop/parachains/testing/mock-runtime.md

Co-authored-by: Kian Paimani <[email protected]>

* fix: glossary runtime reference

* fix: paraphrasing according to feedback

* fix: paraphrasing

* corrects "benchmark testing" to "benchmarking" throughout the page

* Apply suggestions from code review

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/testing/benchmarking.md

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/testing/pallet-testing.md

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/testing/pallet-testing.md

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/testing/pallet-testing.md

Co-authored-by: Dawn Kelly <[email protected]>

* fix: adding reference to polkadot sdk guide

* fix: curly aphostrophes

* Update develop/parachains/testing/mock-runtime.md

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/testing/mock-runtime.md

Co-authored-by: Dawn Kelly <[email protected]>

* fix: feedback

* fix: feedback

---------

Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: Dawn Kelly <[email protected]>
Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: Kian Paimani <[email protected]>
Co-authored-by: DAWN KELLY <[email protected]>

* fix: typo (#258)

* Obtain Coretime Tutorial (#250)

* Coretime tutorial (most things)

* grammarly

* change to webp

* Apply suggestions from code review

Co-authored-by: Nicolás Hussein <[email protected]>

* paseo imgs

* ondemand updates

* update

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* fix: note

* fix: removing note

* fix: removing fake reference

---------

Co-authored-by: Nicolás Hussein <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: nhussein11 <[email protected]>

* fix: updating coretime page, images and snippet according to the zero-to-hero structure

* fix: coretime desc

* fix: todos

* fix: where to go next

* updates to some index pages

* fix: where to go next (2)

* Remove old content

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* Remove execute-runtime-upgrade tutorial

* fix: adding links to prev tutorials

* fix: adding reference to utility pallet

* Update index file

* fix: adding link to zero to hero index

* Update build pallet name

* fix: polkadot sdk tutorials index

* Comment where to go next section in develop

* Update develop/parachains/maintenance/runtime-upgrades.md

Co-authored-by: Erin Shaben <[email protected]>

* fix: CTAs

* fix: CTAs titles to generic "Get Started"

* Update tutorials section index file

* fix: card style

* removes coming soon content, adds Where to Go Next to Install Polkadot SDK page to link to Zero to Hero section

* few updates to links

* update prereq copy on set up a template

* updates link

* update link text

---------

Co-authored-by: Nicolás Hussein <[email protected]>
Co-authored-by: nhussein11 <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: Dawn Kelly <[email protected]>
Co-authored-by: Kian Paimani <[email protected]>
Co-authored-by: DAWN KELLY <[email protected]>
Co-authored-by: bader y <[email protected]>

* fix: broken link (#261)

* fix: typo (#262)

* update broken links (#263)

* trigger build (#264)

* update layout of develop index page (#265)

* update layout

* switch to lists

* Tutorials > On-Chain Governance > How to Fast Track a Governance Proposal (#223)

* wip: fast track prop

* Add snippets and improve structure

* Apply suggestions from code review

Co-authored-by: Radha <[email protected]>

* Apply suggestions from code review

Co-authored-by: Nicolás Hussein <[email protected]>

* Add improvements

* Add description

* Add comments

* Apply suggestions from code review

Co-authored-by: Nicolás Hussein <[email protected]>

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* Apply suggestions

* Fix preimage explanation

* Remove bold

* Improve main function

* Refactor connectToFork

* Refactor

* Apply suggestions from code review

Co-authored-by: Dawn Kelly <[email protected]>

* Improve generateProposal section

* Refactor forceProposalExecution

* Improve grammar

* Update tutorials/onchain-governance/fast-track-gov-proposal.md

* quick update to index page

* Update polkadot-protocol/glossary.md

Co-authored-by: Nicolás Hussein <[email protected]>

---------

Co-authored-by: Radha <[email protected]>
Co-authored-by: Nicolás Hussein <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: Dawn Kelly <[email protected]>

* Add link to best practices (#266)

* fix double slashes (#279)

* Create mermaid diagram for Substrate Node (#267)

* adds mermaid diagram for Substrate Node

* apply feedback from review

* fix: mermaid styles :)

---------

Co-authored-by: nhussein11 <[email protected]>

* fix a step in set-up-a-template (#285)

* fix a step in set-up-a-template

* Update tutorials/polkadot-sdk/parachains/zero-to-hero/set-up-a-template.md

Co-authored-by: bader y <[email protected]>

---------

Co-authored-by: bader y <[email protected]>

* create a rust workspace for code snippets and migrate 'build-a-custom-pallet' to it (#287)

* create a rust workspace for code snippets and migrate 'build-a-custom-pallet' to it

* Update homepage information in Cargo workspace.

Co-authored-by: Kian Paimani <[email protected]>

* add W3F and papermoon as authors

* minor formatting

Co-authored-by: Kian Paimani <[email protected]>

* update comment

Co-authored-by: Kian Paimani <[email protected]>

---------

Co-authored-by: Kian Paimani <[email protected]>

* Minor fix: Moved to inline from being copyable (#283)

Problem: Websocket address was presented like it should be copied (which implied it needs to be pasted, which leads down a rabbit hole...). Instead moved it to inline, so that the instruction is clearly to open Polkadot app

* update all index to show feedback (#294)

* Create mermaid diagram for Coretime (#268)

* adds mermaid diagram to describe coretime

* Apply suggestions from code review

Co-authored-by: Nicolás Hussein <[email protected]>

---------

Co-authored-by: Nicolás Hussein <[email protected]>

* fix: wording

* fix: prettier

---------

Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: Dawn Kelly <[email protected]>
Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: Kian Paimani <[email protected]>
Co-authored-by: DAWN KELLY <[email protected]>
Co-authored-by: bader y <[email protected]>
Co-authored-by: albertov19 <[email protected]>
Co-authored-by: Radha <[email protected]>
Co-authored-by: Utkarsh Bhardwaj <[email protected]>
Co-authored-by: Jan-Jan <[email protected]>
Co-authored-by: Lucas Malizia <[email protected]>

* Add note about prefunded accounts (#289)

* add note about prefunded accounts

* Update tutorials/polkadot-sdk/parachains/zero-to-hero/add-pallets-to-runtime.md

Co-authored-by: Nicolás Hussein <[email protected]>

* Update tutorials/polkadot-sdk/parachains/zero-to-hero/add-pallets-to-runtime.md

Co-authored-by: Dawn Kelly <[email protected]>

---------

Co-authored-by: Nicolás Hussein <[email protected]>
Co-authored-by: Dawn Kelly <[email protected]>

* fix: smart contracts tutorials ia

* fix: smart contracts develop ia

* fix: polkadot protocol basics ia

* fix: merge conflict

* fix: broken link

* fix: admonition

* Update tutorials/polkadot-sdk/parachains/zero-to-hero/add-pallets-to-runtime.md

Co-authored-by: Erin Shaben <[email protected]>

* fix: moving code snippets from `basics` to `parachain-basics`

* fix: moving images from `basic` to `parachain-basics`

---------

Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: Dawn Kelly <[email protected]>
Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: Kian Paimani <[email protected]>
Co-authored-by: DAWN KELLY <[email protected]>
Co-authored-by: bader y <[email protected]>
Co-authored-by: albertov19 <[email protected]>
Co-authored-by: Radha <[email protected]>
Co-authored-by: Utkarsh Bhardwaj <[email protected]>
Co-authored-by: Jan-Jan <[email protected]>
Co-authored-by: Lucas Malizia <[email protected]>

* [FIX] - Adding `npm install` to contributing.md (#256)

* fix: adding npm i to contributing guide

* [FIX] - Refactoring testing section (#248)

* fix: testing refactor

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* fix: references and snippets

* fix: adding cards

* Apply suggestions from code review

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/testing/mock-runtime.md

Co-authored-by: Dawn Kelly <[email protected]>

* Tutorials > Interoperability > XCM Transfers (#221)

* fix: add wip

* fix: adding last sections

* fix: wording

* fix: structure

* Apply suggestions from code review

Co-authored-by: 0xLucca <[email protected]>

* fix: adding links

* fix: images structure

* fix: paraphrasing

* fix: paraphrasing

* Update tutorials/interoperability/xcm-transfers/from-relaychain-to-parachain.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/interoperability/xcm-transfers/from-relaychain-to-parachain.md

Co-authored-by: Erin Shaben <[email protected]>

* fix: table

* fix: adding papi tutorial

* fix: paraphrasing

* fix: moving code to snippet

* fix: snippet

* Update tutorials/interoperability/xcm-transfers/from-relaychain-to-parachain.md

Co-authored-by: 0xLucca <[email protected]>

* Update tutorials/interoperability/xcm-transfers/from-relaychain-to-parachain.md

Co-authored-by: 0xLucca <[email protected]>

* Update tutorials/interoperability/xcm-transfers/from-relaychain-to-parachain.md

Co-authored-by: 0xLucca <[email protected]>

* fix: feedback

* fix: snippet

* fix: link

---------

Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>

* [FIX] - Adding references to tutorials (#230)

* fix: adding reference to tutorials on asset hub page

* Add xcm channels

* Add runtime upgrades

* Add chain spec

* Add custom parachains

* fix: adding chopsticks

* fix: zombienet

* Update develop/parachains/get-started/build-custom-parachains.md

Co-authored-by: Nicolás Hussein <[email protected]>

* fix: xcm channels references

* fix: generate chain specs references

* fix: generate chain specs 'where to go next'

* fix: build custom parachains references

* fix: runtime upgrades references

* fix: chopsticks get started references

* fix: zombienet get started references

* fix: asset hub references

* fix: add existing pallets references

* fix: add smart contract funcionality references

* fix: make custom pallet references

* fix: pallet testing references

* fix: generate chain specs references

* fix: adding comment in build custom parachains

* fix: deploy parachain to polkadot references

* fix: setup references

* fix: consensus get started references removed

* fix: architecture parachains references

---------

Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: 0xLucca <[email protected]>

* Tutorials > Polkadot SDK > Parachains > Build Custom Pallet > Build the Pallet (#232)

* wip: build-pallet

* Page ready

* Improvements

* Extract code snippets

* Description and grammarly

* fix: typo

* Add suggestions

* Update tutorials/polkadot-sdk/parachains/build-custom-pallet/build-pallet.md

Co-authored-by: Nicolás Hussein <[email protected]>

* Add root origin reference

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* Apply fmt

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* Apply suggestions from code review

Co-authored-by: Nicolás Hussein <[email protected]>

* Apply fixes

---------

Co-authored-by: nhussein11 <[email protected]>
Co-authored-by: Nicolás Hussein <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>

* fix: hidding polkaVM instances and adding informational banner (#251)

* Restructure Get Started section (#246)

* Remove get-started section

* Remove build and deploy pages

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

---------

Co-authored-by: Erin Shaben <[email protected]>

* Tutorials > Polkadot SDK > Parachains > Build Custom Pallet > Pallet Unit Testing (#233)

* fix: wip

* fix: adding snippets

* fix: typo

* Apply suggestions from code review

Co-authored-by: 0xLucca <[email protected]>

* fix: updating mock runtime\

* fix: snippets comments

* fix: typo

* fix: closing expandable elements

* fix: overflow

* fix: overflow

* Update tutorials/polkadot-sdk/parachains/build-custom-pallet/pallet-unit-testing.md

Co-authored-by: Erin Shaben <[email protected]>

* fix: feedback

* fix: clean up the add tutorial branch

* Update tutorials/polkadot-sdk/parachains/build-custom-pallet/pallet-unit-testing.md

Co-authored-by: Erin Shaben <[email protected]>

---------

Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>

* fix: feedback applied on mock runtime desc

* fix: adding further resources

* Update develop/parachains/testing/mock-runtime.md

Co-authored-by: Kian Paimani <[email protected]>

* fix: glossary runtime reference

* fix: paraphrasing according to feedback

* fix: paraphrasing

* corrects "benchmark testing" to "benchmarking" throughout the page

* Apply suggestions from code review

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/testing/benchmarking.md

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/testing/pallet-testing.md

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/testing/pallet-testing.md

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/testing/pallet-testing.md

Co-authored-by: Dawn Kelly <[email protected]>

* fix: adding reference to polkadot sdk guide

* fix: curly aphostrophes

* Update develop/parachains/testing/mock-runtime.md

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/testing/mock-runtime.md

Co-authored-by: Dawn Kelly <[email protected]>

* fix: feedback

* fix: feedback

---------

Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: Dawn Kelly <[email protected]>
Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: Kian Paimani <[email protected]>
Co-authored-by: DAWN KELLY <[email protected]>

* fix: typo (#258)

* Obtain Coretime Tutorial (#250)

* Coretime tutorial (most things)

* grammarly

* change to webp

* Apply suggestions from code review

Co-authored-by: Nicolás Hussein <[email protected]>

* paseo imgs

* ondemand updates

* update

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* fix: note

* fix: removing note

* fix: removing fake reference

---------

Co-authored-by: Nicolás Hussein <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: nhussein11 <[email protected]>

* add pages for legal policies and info (#255)

* add pages for legal policies and info

* pull in legal docs from mkdocs

* Apply suggestions from code review

Co-authored-by: albertov19 <[email protected]>

---------

Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: albertov19 <[email protected]>

* fix: replace old links (#260)

* add script to fix created dates (#259)

* Merge dev-pathways into develop/index (#249)

* removes "crosschain" as a dev pathway from develop/index.md

* save point before adding grid elements

* merges dev-pathways content into dev index page, updates incorrect link to Nova wallet, removes dev-pathways and updates nav

* updates Pathway name to use Application Developers consistently on this page

* adds some info to parachains/index

* update card format on develop/index, adds tip re: smart contracts are in active dev to develop/smart-contracts/index

* update language describing dev paths on develop/toolkit/index for consistency with rest of section

* typo fix

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

---------

Co-authored-by: Erin Shaben <[email protected]>

* Zero to Hero Tutorial (#254)

* Init structure

* wip: set-up-a-template

* Finish set up a template

* [FIX] - Adding references to tutorials (#230)

* fix: adding reference to tutorials on asset hub page

* Add xcm channels

* Add runtime upgrades

* Add chain spec

* Add custom parachains

* fix: adding chopsticks

* fix: zombienet

* Update develop/parachains/get-started/build-custom-parachains.md

Co-authored-by: Nicolás Hussein <[email protected]>

* fix: xcm channels references

* fix: generate chain specs references

* fix: generate chain specs 'where to go next'

* fix: build custom parachains references

* fix: runtime upgrades references

* fix: chopsticks get started references

* fix: zombienet get started references

* fix: asset hub references

* fix: add existing pallets references

* fix: add smart contract funcionality references

* fix: make custom pallet references

* fix: pallet testing references

* fix: generate chain specs references

* fix: adding comment in build custom parachains

* fix: deploy parachain to polkadot references

* fix: setup references

* fix: consensus get started references removed

* fix: architecture parachains references

---------

Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: 0xLucca <[email protected]>

* Tutorials > Polkadot SDK > Parachains > Build Custom Pallet > Build the Pallet (#232)

* wip: build-pallet

* Page ready

* Improvements

* Extract code snippets

* Description and grammarly

* fix: typo

* Add suggestions

* Update tutorials/polkadot-sdk/parachains/build-custom-pallet/build-pallet.md

Co-authored-by: Nicolás Hussein <[email protected]>

* Add root origin reference

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* Apply fmt

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* Apply suggestions from code review

Co-authored-by: Nicolás Hussein <[email protected]>

* Apply fixes

---------

Co-authored-by: nhussein11 <[email protected]>
Co-authored-by: Nicolás Hussein <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>

* fix: index zero to hero

* fix: clean up .pages

* fix: set up template where to go next

* fix: adding build a custom pallet content and moving code snippets

* Fix build pallet page

* wip: Add pallets to the runtime

* fix: wip

* fix: clean up pallet unit testing

* fix: pre-commit whitelisted files

* Finish add pallet to runtime

* Improve story telling

* wip: Execute Runtime Upgrades

* wip: deploy to testnet

* Deploy to Testnet ready

* Apply suggestions from code review

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/maintenance/runtime-upgrades.md

Co-authored-by: Dawn Kelly <[email protected]>

* Update tutorials/polkadot-sdk/parachains/zero-to-hero/add-pallets-to-runtime.md

Co-authored-by: Dawn Kelly <[email protected]>

* fix: adding tip to zero to hero index page

* [FIX] - Refactoring testing section (#248)

* fix: testing refactor

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* fix: references and snippets

* fix: adding cards

* Apply suggestions from code review

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/testing/mock-runtime.md

Co-authored-by: Dawn Kelly <[email protected]>

* Tutorials > Interoperability > XCM Transfers (#221)

* fix: add wip

* fix: adding last sections

* fix: wording

* fix: structure

* Apply suggestions from code review

Co-authored-by: 0xLucca <[email protected]>

* fix: adding links

* fix: images structure

* fix: paraphrasing

* fix: paraphrasing

* Update tutorials/interoperability/xcm-transfers/from-relaychain-to-parachain.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/interoperability/xcm-transfers/from-relaychain-to-parachain.md

Co-authored-by: Erin Shaben <[email protected]>

* fix: table

* fix: adding papi tutorial

* fix: paraphrasing

* fix: moving code to snippet

* fix: snippet

* Update tutorials/interoperability/xcm-transfers/from-relaychain-to-parachain.md

Co-authored-by: 0xLucca <[email protected]>

* Update tutorials/interoperability/xcm-transfers/from-relaychain-to-parachain.md

Co-authored-by: 0xLucca <[email protected]>

* Update tutorials/interoperability/xcm-transfers/from-relaychain-to-parachain.md

Co-authored-by: 0xLucca <[email protected]>

* fix: feedback

* fix: snippet

* fix: link

---------

Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>

* [FIX] - Adding references to tutorials (#230)

* fix: adding reference to tutorials on asset hub page

* Add xcm channels

* Add runtime upgrades

* Add chain spec

* Add custom parachains

* fix: adding chopsticks

* fix: zombienet

* Update develop/parachains/get-started/build-custom-parachains.md

Co-authored-by: Nicolás Hussein <[email protected]>

* fix: xcm channels references

* fix: generate chain specs references

* fix: generate chain specs 'where to go next'

* fix: build custom parachains references

* fix: runtime upgrades references

* fix: chopsticks get started references

* fix: zombienet get started references

* fix: asset hub references

* fix: add existing pallets references

* fix: add smart contract funcionality references

* fix: make custom pallet references

* fix: pallet testing references

* fix: generate chain specs references

* fix: adding comment in build custom parachains

* fix: deploy parachain to polkadot references

* fix: setup references

* fix: consensus get started references removed

* fix: architecture parachains references

---------

Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: 0xLucca <[email protected]>

* Tutorials > Polkadot SDK > Parachains > Build Custom Pallet > Build the Pallet (#232)

* wip: build-pallet

* Page ready

* Improvements

* Extract code snippets

* Description and grammarly

* fix: typo

* Add suggestions

* Update tutorials/polkadot-sdk/parachains/build-custom-pallet/build-pallet.md

Co-authored-by: Nicolás Hussein <[email protected]>

* Add root origin reference

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* Apply fmt

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* Apply suggestions from code review

Co-authored-by: Nicolás Hussein <[email protected]>

* Apply fixes

---------

Co-authored-by: nhussein11 <[email protected]>
Co-authored-by: Nicolás Hussein <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>

* fix: hidding polkaVM instances and adding informational banner (#251)

* Restructure Get Started section (#246)

* Remove get-started section

* Remove build and deploy pages

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

---------

Co-authored-by: Erin Shaben <[email protected]>

* Tutorials > Polkadot SDK > Parachains > Build Custom Pallet > Pallet Unit Testing (#233)

* fix: wip

* fix: adding snippets

* fix: typo

* Apply suggestions from code review

Co-authored-by: 0xLucca <[email protected]>

* fix: updating mock runtime\

* fix: snippets comments

* fix: typo

* fix: closing expandable elements

* fix: overflow

* fix: overflow

* Update tutorials/polkadot-sdk/parachains/build-custom-pallet/pallet-unit-testing.md

Co-authored-by: Erin Shaben <[email protected]>

* fix: feedback

* fix: clean up the add tutorial branch

* Update tutorials/polkadot-sdk/parachains/build-custom-pallet/pallet-unit-testing.md

Co-authored-by: Erin Shaben <[email protected]>

---------

Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>

* fix: feedback applied on mock runtime desc

* fix: adding further resources

* Update develop/parachains/testing/mock-runtime.md

Co-authored-by: Kian Paimani <[email protected]>

* fix: glossary runtime reference

* fix: paraphrasing according to feedback

* fix: paraphrasing

* corrects "benchmark testing" to "benchmarking" throughout the page

* Apply suggestions from code review

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/testing/benchmarking.md

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/testing/pallet-testing.md

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/testing/pallet-testing.md

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/testing/pallet-testing.md

Co-authored-by: Dawn Kelly <[email protected]>

* fix: adding reference to polkadot sdk guide

* fix: curly aphostrophes

* Update develop/parachains/testing/mock-runtime.md

Co-authored-by: Dawn Kelly <[email protected]>

* Update develop/parachains/testing/mock-runtime.md

Co-authored-by: Dawn Kelly <[email protected]>

* fix: feedback

* fix: feedback

---------

Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: Dawn Kelly <[email protected]>
Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: Kian Paimani <[email protected]>
Co-authored-by: DAWN KELLY <[email protected]>

* fix: typo (#258)

* Obtain Coretime Tutorial (#250)

* Coretime tutorial (most things)

* grammarly

* change to webp

* Apply suggestions from code review

Co-authored-by: Nicolás Hussein <[email protected]>

* paseo imgs

* ondemand updates

* update

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* Update tutorials/polkadot-sdk/parachains/obtain-coretime.md

Co-authored-by: Erin Shaben <[email protected]>

* fix: note

* fix: removing note

* fix: removing fake reference

---------

Co-authored-by: Nicolás Hussein <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: nhussein11 <[email protected]>

* fix: updating coretime page, images and snippet according to the zero-to-hero structure

* fix: coretime desc

* fix: todos

* fix: where to go next

* updates to some index pages

* fix: where to go next (2)

* Remove old content

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* Remove execute-runtime-upgrade tutorial

* fix: adding links to prev tutorials

* fix: adding reference to utility pallet

* Update index file

* fix: adding link to zero to hero index

* Update build pallet name

* fix: polkadot sdk tutorials index

* Comment where to go next section in develop

* Update develop/parachains/maintenance/runtime-upgrades.md

Co-authored-by: Erin Shaben <[email protected]>

* fix: CTAs

* fix: CTAs titles to generic "Get Started"

* Update tutorials section index file

* fix: card style

* removes coming soon content, adds Where to Go Next to Install Polkadot SDK page to link to Zero to Hero section

* few updates to links

* update prereq copy on set up a template

* updates link

* update link text

---------

Co-authored-by: Nicolás Hussein <[email protected]>
Co-authored-by: nhussein11 <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: Dawn Kelly <[email protected]>
Co-authored-by: Kian Paimani <[email protected]>
Co-authored-by: DAWN KELLY <[email protected]>
Co-authored-by: bader y <[email protected]>

* fix: broken link (#261)

* fix: typo (#262)

* update broken links (#263)

* trigger build (#264)

* update layout of develop index page (#265)

* update layout

* switch to lists

* Tutorials > On-Chain Governance > How to Fast Track a Governance Proposal (#223)

* wip: fast track prop

* Add snippets and improve structure

* Apply suggestions from code review

Co-authored-by: Radha <[email protected]>

* Apply suggestions from code review

Co-authored-by: Nicolás Hussein <[email protected]>

* Add improvements

* Add description

* Add comments

* Apply suggestions from code review

Co-authored-by: Nicolás Hussein <[email protected]>

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* Apply suggestions

* Fix preimage explanation

* Remove bold

* Improve main function

* Refactor connectToFork

* Refactor

* Apply suggestions from code review

Co-authored-by: Dawn Kelly <[email protected]>

* Improve generateProposal section

* Refactor forceProposalExecution

* Improve grammar

* Update tutorials/onchain-governance/fast-track-gov-proposal.md

* quick update to index page

* Update polkadot-protocol/glossary.md

Co-authored-by: Nicolás Hussein <[email protected]>

---------

Co-authored-by: Radha <[email protected]>
Co-authored-by: Nicolás Hussein <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: Dawn Kelly <[email protected]>

* Add link to best practices (#266)

* fix double slashes (#279)

* Create mermaid diagram for Substrate Node (#267)

* adds mermaid diagram for Substrate Node

* apply feedback from review

* fix: mermaid styles :)

---------

Co-authored-by: nhussein11 <[email protected]>

* fix a step in set-up-a-template (#285)

* fix a step in set-up-a-template

* Update tutorials/polkadot-sdk/parachains/zero-to-hero/set-up-a-template.md

Co-authored-by: bader y <[email protected]>

---------

Co-authored-by: bader y <[email protected]>

* create a rust workspace for code snippets and migrate 'build-a-custom-pallet' to it (#287)

* create a rust workspace for code snippets and migrate 'build-a-custom-pallet' to it

* Update homepage information in Cargo workspace.

Co-authored-by: Kian Paimani <[email protected]>

* add W3F and papermoon as authors

* minor formatting

Co-authored-by: Kian Paimani <[email protected]>

* update comment

Co-authored-by: Kian Paimani <[email protected]>

---------

Co-authored-by: Kian Paimani <[email protected]>

* Minor fix: Moved to inline from being copyable (#283)

Problem: Websocket address was presented like it should be copied (which implied it needs to be pasted, which leads down a rabbit hole...). Instead moved it to inline, so that the instruction is clearly to open Polkadot app

* update all index to show feedback (#294)

* Create mermaid diagram for Coretime (#268)

* adds mermaid diagram to describe coretime

* Apply suggestions from code review

Co-authored-by: Nicolás Hussein <[email protected]>

---------

Co-authored-by: Nicolás Hussein <[email protected]>

* fix: wording

* fix: prettier

---------

Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: Dawn Kelly <[email protected]>
Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: Kian Paimani <[email protected]>
Co-authored-by: DAWN KELLY <[email protected]>
Co-authored-by: bader y <[email protected]>
Co-authored-by: albertov19 <[email protected]>
Co-authored-by: Radha <[email protected]>
Co-authored-by: Utkarsh Bhardwaj <[email protected]>
Co-authored-by: Jan-Jan <[email protected]>
Co-authored-by: Lucas Malizia <[email protected]>

* Add note about prefunded accounts (#289)

* add note about prefunded accounts

* Update tutorials/polkadot-sdk/parachains/zero-to-hero/add-pallets-to-runtime.md

Co-authored-by: Nicolás Hussein <[email protected]>

* Update tutorials/polkadot-sdk/parachains/zero-to-hero/add-pallets-to-runtime.md

Co-authored-by: Dawn Kelly <[email protected]>

---------

Co-authored-by: Nicolás Hussein <[email protected]>
Co-authored-by: Dawn Kelly <[email protected]>

* fix: merge conflict

---------

Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: Dawn Kelly <[email protected]>
Co-authored-by: Lucas Malizia <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: Kian Paimani <[email protected]>
Co-authored-by: DAWN KELLY <[email protected]>
Co-authored-by: bader y <[email protected]>
Co-authored-by: albertov19 <[email protected]>
Co-authored-by: Radha <[email protected]>
Co-authored-by: Utkarsh Bhardwaj <[email protected]>
Co-authored-by: Jan-Jan <[email protected]>
  • Loading branch information
13 people authored Feb 19, 2025
1 parent 4bc1c42 commit c342521
Show file tree
Hide file tree
Showing 9 changed files with 249 additions and 1 deletion.
2 changes: 1 addition & 1 deletion develop/smart-contracts/.pages
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ title: Smart Contracts
nav:
- index.md
- 'Overview': overview.md
- 'Connect Your Wallet': connect-your-wallet.md
- 'Connect to Asset Hub': connect-to-asset-hub.md
# - 'Wasm (ink!)': wasm-ink.md
# - 'Native EVM Contracts': native-evm-contracts.md
# - 'Parachain Contracts': parachain-contracts.md
Expand Down
121 changes: 121 additions & 0 deletions develop/smart-contracts/connect-to-asset-hub.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
---
title: Connect to Asset Hub
description: Explore how to connect to different Asset Hub networks, configure your wallet, and obtain test tokens for developing and testing smart contracts.
---

# Connect to Asset Hub

<div class="button-wrapper">
<a href="#" class="md-button connectMetaMask" value="westendAssetHub">Connect to Westend Asset Hub</a>
</div>

## Networks

Developers can leverage Asset Hub across diverse networks, from TestNets to MainNet. This section outlines the network specifications and connection details for each environment.

### Specifications

=== "Westend Asset Hub"

Network name
```
Asset-Hub Westend TestNet
```

---

Currency symbol
```
WND
```

---

Chain ID
```
420420421
```

---

RPC URL
```
https://westend-asset-hub-eth-rpc.polkadot.io
```

---

Block explorer URL
```
https://assethub-westend.subscan.io
```

### Endpoints

=== "Westend Asset Hub"
Dwellir
```
https://westend-asset-hub-eth-rpc.polkadot.io
```
---
Dwellir Tunisia
```
https://westmint-rpc.polkadot.io
```
---
IBP1
```
https://rpc.ibp.network/asset-hub-westend
```
---
IBP2
```
https://asset-hub-westend.dotters.network
```
---
Parity
```
https://westend-asset-hub-rpc.polkadot.io
```

## Connect your Wallet

### Metamask

[MetaMask](https://metamask.io/){target=\_blank} is a popular wallet for interacting with EVM-compatible chains. It allows users to connect to test networks that support Ethereum-based smart contracts. However, it's important to emphasize that MetaMask primarily facilitates interactions with smart contracts, giving users access to various chain functionalities.

To get started with MetaMask, you need to install the [MetaMask extension](https://metamask.io/download/){target=\_blank} and add it to the browser. Once you install MetaMask, you can set up a new wallet and securely store your seed phrase. This phrase is crucial for recovery in case you lose access.

For example, to connect to the Westend Asset Hub TestNet via MetaMask, you need to follow these steps:

1. Open the MetaMask extension and click on the network icon to switch to the Asset Hub Westend TestNet

![](/images/develop/smart-contracts/connect-to-asset-hub/connect-to-asset-hub-1.webp){: .browser-extension}

2. Click on the **Add a custom network** button

![](/images/develop/smart-contracts/connect-to-asset-hub/connect-to-asset-hub-2.webp){: .browser-extension}

3. Complete the necessary fields using the parameters in the [Specifications](#specifications) section, then click the **Save** button (refer to the [Networks](#networks) section for copy and paste parameters)

![](/images/develop/smart-contracts/connect-to-asset-hub/connect-to-asset-hub-3.webp){: .browser-extension}

4. Click on **Asset-Hub Westend TestNet** to switch the network

![](/images/develop/smart-contracts/connect-to-asset-hub/connect-to-asset-hub-4.webp){: .browser-extension}

The steps in the preceding section can be used to connect to any Asset Hub chain by modifying the network specification and endpoint parameters.

## Test Tokens

You will need testnet tokens to perform transactions and engage with smart contracts on any Asset Hub chain. Here's how to obtain Westend Asset Hub (WND) tokens for testing purposes:

1. Navigate to the [Polkadot Faucet](https://faucet.polkadot.io){target=\_blank}. If the desired network is not already selected, choose it from the Network drop-down

2. Copy your MetaMask address linked to Westend Asset Hub and paste it into the designated field

![](/images/develop/smart-contracts/connect-to-asset-hub/connect-to-asset-hub-5.webp)

3. Click the **Get Some WND** button to request free test WND tokens. These tokens will be sent to your MetaMask wallet shortly

![](/images/develop/smart-contracts/connect-to-asset-hub/connect-to-asset-hub-6.webp)
127 changes: 127 additions & 0 deletions js/connect-to-metamask.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
const provider = window.ethereum;
const supportedNetworks = {
westendAssetHub: {
name: 'Asset-Hub Westend Testnet',
chainId: '0x190F1B45', //Hex value of "420420421"
chainName: 'Asset-Hub Westend Testnet',
rpcUrls: ['https://westend-asset-hub-eth-rpc.polkadot.io'],
blockExplorerUrls: ['https://westend-asset-hub-eth-explorer.parity.io'],
nativeCurrency: {
name: 'Westend Token',
symbol: 'WND',
decimals: 18,
},
},
};

/*
Add or switch to the specified network, then request accounts
NOTE: This calls "eth_requestAccounts" at the end, which prompts for wallet connection
*/
const connectNetwork = async (network) => {
try {
const targetNetwork = { ...supportedNetworks[network] };
delete targetNetwork.name; // remove 'name' property if needed

await provider.request({
method: 'wallet_addEthereumChain',
params: [targetNetwork],
});
// This line requests user accounts, which triggers a "connect" prompt if not already connected:
await provider.request({ method: 'eth_requestAccounts' });
} catch (e) {
// 4001: user rejected, -32002: request already pending
if (e.code !== 4001 && e.code !== -32002) {
handleError(e.message);
}
}
};

// Get the network that the user is currently connected to
const getConnectedNetwork = async () => {
const chainId = await provider.request({ method: 'eth_chainId' });
const connectedHubNetwork = Object.values(supportedNetworks).find(
(network) => network.chainId === chainId
);
if (connectedNetwork) {
const connectedNetworkButton = document.querySelector(
`.connect-network[data-value="${connectedNetwork.name}"]`
);
return { connectedNetwork, connectedNetworkButton };
} else {
return {
connectedNetwork: null,
connectedNetworkButton: null,
};
}
};

/* Updates the button to show the connected network. */
const displayConnectedAccount = async (connectedNetwork, networkButton) => {
const accounts = await provider.request({ method: 'eth_requestAccounts' });
if (!accounts || accounts.length === 0) return;

const shortenedAccount = `${accounts[0].slice(0, 6)}...${accounts[0].slice(
-4
)}`;
networkButton.innerHTML = `Connected to ${connectedNetwork.chainName}: ${shortenedAccount}`;
networkButton.className += ' disabled-button';
};

// Displays an error message to the user
const handleError = (message) => {
const errorModalContainer = document.querySelector('.error-modal-container');
const errorMessage = document.querySelector('.error-message');
errorModalContainer.style.display = 'block';
errorMessage.innerHTML = message;
};

/*
Handles the logic for the buttons inside of content pages.
Directly connect to the network specified in 'value'
*/
const connectMetaMaskBodyButtons =
document.querySelectorAll('.connectMetaMask');
connectMetaMaskBodyButtons.forEach((btn) => {
btn.addEventListener('click', async (e) => {
e.preventDefault();

if (!provider) {
handleError(
`No EVM-compatible wallet found. Please install MetaMask.`
);
return;
}

const network = btn.getAttribute('value');
if (!network || !supportedNetworks[network]) {
handleError(`The network "${network}" is not supported or not defined.`);
return;
}

await connectNetwork(network);
//Update the button to reflect the "connected" state
btn.textContent = 'Connected to ' + supportedNetworks[network]['name'];
btn.classList.add('disabled-button');
});
});

if (provider) {
provider.on('chainChanged', () => {
window.location.reload();
});
provider.on('accountsChanged', async (accounts) => {
if (accounts.length > 0) {
const { connectedNetwork, connectedNetworkButton } =
await getConnectedNetwork();
if (connectedNetwork) {
await displayConnectedAccount(
connectedNetwork,
connectedNetworkButton
);
}
} else {
window.location.reload();
}
});
}

0 comments on commit c342521

Please sign in to comment.