Skip to content

Commit 8a9de21

Browse files
0xLuccanhussein11UtkarshBhardwaj007ottovlottoalbertov19
authored
Merge Smart Contracts branch into master (#694)
* add: ia of asset hub * Document "Remix IDE" for asset hub smart contracts (#309) * add github workflows (#297) * add github workflows * update clippy check * Update pos-consensus.md (#298) * Update pos-consensus.md Updating 2x hyperlinks in "Block Production - BABE" section to link to the new "Randomness" page in the Developer Docs (vs the previous links to the equivalent Polkadot Wiki pages). * Update polkadot-protocol/architecture/polkadot-chain/pos-consensus.md Co-authored-by: Nicolás Hussein <[email protected]> * Update polkadot-protocol/architecture/polkadot-chain/pos-consensus.md Co-authored-by: Nicolás Hussein <[email protected]> --------- Co-authored-by: Nicolás Hussein <[email protected]> * add license header to code files (#292) * add license header to code files * fix typo in license * remove copyright from license headers * Update CODEOWNERS * Pallet Benchmarking Tutorial (#291) * wip: benchmarking * Add execute benchmarking * Pallet benchmarking ready * Update description * Update where to go next from Pallet Testing * Apply suggestions from code review Co-authored-by: Nicolás Hussein <[email protected]> * Apply suggestions * Apply suggestions * Apply suggestions from code review Co-authored-by: Erin Shaben <[email protected]> --------- Co-authored-by: Nicolás Hussein <[email protected]> Co-authored-by: Erin Shaben <[email protected]> * add rust toolchain information (#296) * add rust toolchain information * MINOR: fix typo * [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]> * fix: boilerplate clean up * fix: desc updated * docs: update Remix IDE guide with enhanced instructions and code snippets for contract creation and compilation * fix: remix page completed * docs: fix formatting * add: conclusion * feat: add Counter contract and update Remix documentation with code snippet * fix: adding deployment logging * docs: update wording * refactor: update to destiny structure * Apply suggestions from code review Co-authored-by: Dawn Kelly <[email protected]> * docs: fix formatting and indentation in Remix documentation * Apply suggestions from code review Co-authored-by: 0xLucca <[email protected]> * fix: remove frontier reference * docs: clarify remix interface components * fix: list items * fix: adding explanation for remix buttons * Apply suggestions from code review Co-authored-by: Erin Shaben <[email protected]> * Update .CONTRIBUTING.md Co-authored-by: Erin Shaben <[email protected]> * fix: updating title for SEO * docs: moving counter contract above img * fix: feedback applied * docs: adding cards * Update develop/smart-contracts/evm-toolkit/dev-environments/remix.md Co-authored-by: Erin Shaben <[email protected]> --------- Co-authored-by: Utkarsh Bhardwaj <[email protected]> Co-authored-by: ottovlotto <[email protected]> Co-authored-by: albertov19 <[email protected]> Co-authored-by: 0xLucca <[email protected]> Co-authored-by: Erin Shaben <[email protected]> Co-authored-by: Dawn Kelly <[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: Radha <[email protected]> Co-authored-by: Jan-Jan <[email protected]> Co-authored-by: Lucas Malizia <[email protected]> * Document "Connect your wallet" for asset hub smart contracts (#300) * fix: wip * fix: connect your metamask * Update develop/smart-contracts/evm/connect-your-wallet.md Co-authored-by: bader y <[email protected]> * Update develop/smart-contracts/evm/connect-your-wallet.md Co-authored-by: bader y <[email protected]> * fix: desc * Update develop/smart-contracts/evm/connect-your-wallet.md Co-authored-by: bader y <[email protected]> * Update develop/smart-contracts/evm/connect-your-wallet.md Co-authored-by: bader y <[email protected]> * fix: wording * fix: ia * Update develop/smart-contracts/evm-toolkit/connect-your-wallet.md Co-authored-by: 0xLucca <[email protected]> * Update develop/smart-contracts/evm-toolkit/connect-your-wallet.md Co-authored-by: 0xLucca <[email protected]> * fix: adding rpc urls * Update develop/smart-contracts/evm-toolkit/connect-your-wallet.md Co-authored-by: Lucas Malizia <[email protected]> * Update develop/smart-contracts/evm-toolkit/connect-your-wallet.md Co-authored-by: Lucas Malizia <[email protected]> * fix: wording * fix: wording * fix: update image syntax to add `browser-extension` css class to them * Apply suggestions from code review Co-authored-by: Dawn Kelly <[email protected]> * applies SEO description suggestion from review * Revert "applies SEO description suggestion from review" This reverts commit ae2e3ff13f92c11b0d930c9cff716834051aae05. * Apply suggestions from code review Co-authored-by: Erin Shaben <[email protected]> --------- Co-authored-by: bader y <[email protected]> Co-authored-by: 0xLucca <[email protected]> Co-authored-by: Lucas Malizia <[email protected]> Co-authored-by: Dawn Kelly <[email protected]> Co-authored-by: DAWN KELLY <[email protected]> Co-authored-by: Erin Shaben <[email protected]> * Document Ether.js for asset hub smart contracts (#295) * add: wip * wip * fix: snippets * Update develop/toolkit/api-libraries/smart-contracts/ether-js.md Co-authored-by: bader y <[email protected]> * Update develop/toolkit/api-libraries/smart-contracts/ether-js.md Co-authored-by: bader y <[email protected]> * fix: typo * fix: adding intro and link to polkavm * fix: snippets and comments to clarify * Update develop/toolkit/api-libraries/smart-contracts/ethers-js.md Co-authored-by: 0xLucca <[email protected]> * Update develop/toolkit/api-libraries/smart-contracts/ethers-js.md Co-authored-by: 0xLucca <[email protected]> * Update develop/toolkit/api-libraries/smart-contracts/ethers-js.md Co-authored-by: 0xLucca <[email protected]> * fix: wording * fix: wording * fix: feedback * fix: feedback * fix: wording * Apply suggestions from code review Co-authored-by: Dawn Kelly <[email protected]> * fix: wording * fix: align page structure with the architecture of the destiny branch * fix: typo * fix: broken link * Apply suggestions from code review Co-authored-by: Dawn Kelly <[email protected]> * Apply suggestions from code review Co-authored-by: Erin Shaben <[email protected]> --------- Co-authored-by: bader y <[email protected]> Co-authored-by: 0xLucca <[email protected]> Co-authored-by: Dawn Kelly <[email protected]> Co-authored-by: Erin Shaben <[email protected]> * Add "Deploy a NFT" with remix tutorial (#340) * fix: boiler plate added * add: wip * fix: complete tutorial finished + images * fix: adding link to OZ * fix: moving smart contract to code snippet * fix: wording * fix: adding tip to mention oz contracts wizards * fix: wording * Apply suggestions from code review Co-authored-by: 0xLucca <[email protected]> * fix: feedback * Apply suggestions from code review Co-authored-by: 0xLucca <[email protected]> * fix: wording * Apply suggestions from code review Co-authored-by: Erin Shaben <[email protected]> * Update tutorials/smart-contracts/deploy-nft.md Co-authored-by: Erin Shaben <[email protected]> * fix: bold list items * fix: wording * fix: wording --------- Co-authored-by: 0xLucca <[email protected]> Co-authored-by: Erin Shaben <[email protected]> * Create "JSON-RPC APIs (Eth Compatibility)" page (#349) * fix: json rpc apis page * fix: feedback * Update develop/smart-contracts/json-rpc-apis.md Co-authored-by: Erin Shaben <[email protected]> * Update develop/smart-contracts/json-rpc-apis.md Co-authored-by: Erin Shaben <[email protected]> * Update develop/smart-contracts/json-rpc-apis.md Co-authored-by: Erin Shaben <[email protected]> * fix: json spaces * Update develop/smart-contracts/json-rpc-apis.md Co-authored-by: Erin Shaben <[email protected]> * fix: `code` type admonition --------- 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 …
1 parent 6347bfe commit 8a9de21

File tree

271 files changed

+32129
-18414
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

271 files changed

+32129
-18414
lines changed

.CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ To set up the structure, follow these steps:
6868

6969
This command will install all dependencies listed in the `requirements.txt` file.
7070

71-
2. Switch to the polkadot-docs directory and use [npm](https://docs.npmjs.com/about-npm) to install dependencies:
71+
2. Switch to the `polkadot-docs` directory and use [npm](https://docs.npmjs.com/about-npm) to install dependencies:
7272

7373
```bash
7474
cd polkadot-docs && npm install

.snippets/code/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// SPDX-License-Identifier: MIT
2+
3+
pragma solidity ^0.8.0;
4+
5+
contract Incrementer {
6+
uint256 public number;
7+
8+
constructor(uint256 _initialNumber) {
9+
number = _initialNumber;
10+
}
11+
12+
function increment(uint256 _value) public {
13+
number = number + _value;
14+
}
15+
16+
function reset() public {
17+
number = 0;
18+
}
19+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
// hardhat.config.js
2+
require('@nomicfoundation/hardhat-toolbox');
3+
4+
require('@parity/hardhat-polkadot');
5+
6+
/** @type import('hardhat/config').HardhatUserConfig */
7+
module.exports = {
8+
solidity: '0.8.28',
9+
resolc: {
10+
compilerSource: 'binary',
11+
settings: {
12+
compilerPath: 'INSERT_PATH_TO_RESOLC_COMPILER',
13+
},
14+
},
15+
networks: {
16+
hardhat: {
17+
polkavm: true,
18+
nodeConfig: {
19+
nodeBinaryPath: 'INSERT_PATH_TO_SUBSTRATE_NODE',
20+
rpcPort: 8000,
21+
dev: true,
22+
},
23+
adapterConfig: {
24+
adapterBinaryPath: 'INSERT_PATH_TO_ETH_RPC_ADAPTER',
25+
dev: true,
26+
},
27+
},
28+
localNode: {
29+
polkavm: true,
30+
url: `http://127.0.0.1:8545`,
31+
},
32+
polkadotHubTestnet: {
33+
polkavm: true,
34+
url: 'https://testnet-passet-hub-eth-rpc.polkadot.io',
35+
accounts: [process.env.PRIVATE_KEY],
36+
},
37+
},
38+
};
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
const { JsonRpcProvider } = require('ethers');
2+
const provider = new JsonRpcProvider('http://localhost:8545');
3+
const wallet = new ethers.Wallet('INSERT_PRIVATE_KEY', provider);
4+
5+
// Deploy using direct provider instead of Hardhat's wrapper
6+
const ContractFactory = new ethers.ContractFactory(
7+
contractABI,
8+
contractBytecode,
9+
wallet,
10+
);
11+
const contract = await ContractFactory.deploy(...constructorArgs);
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<div id="termynal" data-termynal>
2+
<span data-ty="input"><span class="file-path"></span>npx hardhat node</span>
3+
<br />
4+
<span data-ty>Starting server at 127.0.0.1:8000</span>
5+
<span data-ty>../bin/substrate-node --rpc-port=8000 --dev</span>
6+
<span data-ty>Starting the Eth RPC Adapter at 127.0.0.1:8545</span>
7+
<span data-ty>../bin/eth-rpc --node-rpc-url=ws://localhost:8000 --dev</span>
8+
<span data-ty>2025-05-29 13:00:32 Running in --dev mode, RPC CORS has been disabled.</span>
9+
<span data-ty>2025-05-29 13:00:32 Running in --dev mode, RPC CORS has been disabled.</span>
10+
<span data-ty>2025-05-29 13:00:32 🌐 Connecting to node at: ws://localhost:8000 ...</span>
11+
<span data-ty>2025-05-29 13:00:32 Substrate Node</span>
12+
<span data-ty>2025-05-29 13:00:32 ✌️ version 3.0.0-dev-f73c228b7a1</span>
13+
<span data-ty>2025-05-29 13:00:32 ❤️ by Parity Technologies &lt;[email protected]&gt;, 2017-2025</span>
14+
<span data-ty>2025-05-29 13:00:32 📋 Chain specification: Development</span>
15+
<span data-ty>2025-05-29 13:00:32 🏷 Node name: electric-activity-4221</span>
16+
<span data-ty>2025-05-29 13:00:32 👤 Role: AUTHORITY</span>
17+
<span data-ty>2025-05-29 13:00:32 💾 Database: RocksDb at /var/folders/f4/7rdt2m9d7j361dm453cpggbm0000gn/T/substrateOaoecu/chains/dev/db/full</span>
18+
<span data-ty>2025-05-29 13:00:36 [0] 💸 generated 1 npos voters, 1 from validators and 0 nominators</span>
19+
<span data-ty>...</span>
20+
</div>
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// hardhat.config.js
2+
require('@nomicfoundation/hardhat-toolbox');
3+
4+
require('@parity/hardhat-polkadot');
5+
6+
/** @type import('hardhat/config').HardhatUserConfig */
7+
module.exports = {
8+
solidity: '0.8.28',
9+
resolc: {
10+
compilerSource: 'npm',
11+
},
12+
networks: {
13+
hardhat: {
14+
polkavm: true,
15+
nodeConfig: {
16+
nodeBinaryPath: 'INSERT_PATH_TO_SUBSTRATE_NODE',
17+
rpcPort: 8000,
18+
dev: true,
19+
},
20+
adapterConfig: {
21+
adapterBinaryPath: 'INSERT_PATH_TO_ETH_RPC_ADAPTER',
22+
dev: true,
23+
},
24+
},
25+
localNode: {
26+
polkavm: true,
27+
url: `http://127.0.0.1:8545`,
28+
},
29+
polkadotHubTestnet: {
30+
polkavm: true,
31+
url: 'https://testnet-passet-hub-eth-rpc.polkadot.io',
32+
accounts: [process.env.PRIVATE_KEY],
33+
},
34+
},
35+
};
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
const hre = require('hardhat');
2+
3+
async function main() {
4+
// Get the contract factory
5+
const MyToken = await hre.ethers.getContractFactory('MyToken');
6+
7+
// Replace with your deployed contract address
8+
const contractAddress = 'INSERT_CONTRACT_ADDRESS';
9+
10+
// Attach to existing contract
11+
const token = await MyToken.attach(contractAddress);
12+
13+
// Get signers
14+
const [deployer] = await hre.ethers.getSigners();
15+
16+
// Read contract state
17+
const name = await token.name();
18+
const symbol = await token.symbol();
19+
const totalSupply = await token.totalSupply();
20+
const balance = await token.balanceOf(deployer.address);
21+
22+
console.log(`Token: ${name} (${symbol})`);
23+
console.log(
24+
`Total Supply: ${hre.ethers.formatUnits(totalSupply, 18)} tokens`,
25+
);
26+
console.log(
27+
`Deployer Balance: ${hre.ethers.formatUnits(balance, 18)} tokens`,
28+
);
29+
}
30+
31+
main().catch((error) => {
32+
console.error(error);
33+
process.exitCode = 1;
34+
});
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// This setup uses Hardhat Ignition to manage smart contract deployments.
2+
// Learn more about it at https://hardhat.org/ignition
3+
4+
const { buildModule } = require('@nomicfoundation/hardhat-ignition/modules');
5+
6+
const JAN_1ST_2030 = 18934560000000;
7+
const ONE_GWEI = 1_000_000_000n;
8+
9+
module.exports = buildModule('LockModule', (m) => {
10+
const unlockTime = m.getParameter('unlockTime', JAN_1ST_2030);
11+
const lockedAmount = m.getParameter('lockedAmount', ONE_GWEI);
12+
13+
const lock = m.contract('Lock', [unlockTime], {
14+
value: lockedAmount,
15+
});
16+
17+
return { lock };
18+
});
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
const { expect } = require('chai');
2+
const { ethers } = require('hardhat');
3+
4+
describe('Lock', function () {
5+
let owner, otherAccount;
6+
7+
beforeEach(async function () {
8+
[owner, otherAccount] = await ethers.getSigners();
9+
});
10+
11+
const FAR_FUTURE_TIME = 10 ** 13;
12+
const ONE_GWEI = 1_000_000_000;
13+
14+
it('Should deploy successfully with future unlock time', async function () {
15+
// Deploy with a timestamp far in the future
16+
const Lock = await ethers.getContractFactory('Lock');
17+
const lock = await Lock.deploy(FAR_FUTURE_TIME, { value: ONE_GWEI });
18+
19+
// Verify the contract was deployed successfully
20+
expect(await lock.unlockTime()).to.equal(FAR_FUTURE_TIME);
21+
expect(await lock.owner()).to.equal(owner.address);
22+
expect(await ethers.provider.getBalance(lock.target)).to.equal(ONE_GWEI);
23+
});
24+
25+
it('Should fail if unlock time is not in the future', async function () {
26+
// Use a timestamp in the past
27+
const PAST_TIME = Math.floor(Date.now() / 1000) - 1000;
28+
29+
const Lock = await ethers.getContractFactory('Lock');
30+
31+
// This should be reverted due to the past timestamp
32+
await expect(
33+
Lock.deploy(PAST_TIME, { value: ONE_GWEI })
34+
).to.be.revertedWith('Unlock time should be in the future');
35+
});
36+
37+
it('Should not allow non-owners to withdraw', async function () {
38+
// Deploy with a future timestamp
39+
const Lock = await ethers.getContractFactory('Lock');
40+
const lock = await Lock.deploy(FAR_FUTURE_TIME, { value: ONE_GWEI });
41+
42+
// Try to withdraw as non-owner
43+
await expect(lock.connect(otherAccount).withdraw()).to.be.revertedWith(
44+
"You can't withdraw yet"
45+
);
46+
});
47+
});

0 commit comments

Comments
 (0)