You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Learn how Polkadot parachains such as Moonbeam, Astar, Acala, and Manta leverage the Ethereum Virtual Machine (EVM) and integrate it into their parachains.
@@ -4156,7 +4156,7 @@ To determine your parachain's sovereign account address, you can:
4156
4156
4157
4157
- For sibling chains - `0x7369626c` (decodes to `b"sibl"`)
4158
4158
4159
-
2. Encode your parachain ID as a u32 [SCALE](https://docs.polkadot.com/polkadot-protocol/basics/data-encoding/#data-types){target=\_blank} value:
4159
+
2. Encode your parachain ID as a u32 [SCALE](/polkadot-protocol/parachain-basics/data-encoding#data-types){target=\_blank} value:
4160
4160
4161
4161
- For parachain 2000, this would be `d0070000`
4162
4162
@@ -6091,7 +6091,7 @@ You can identify your parachain's sovereign account using either of these method
6091
6091
6092
6092
- For parent/child chains use the prefix `0x70617261` (which decodes to `b"para"`)
6093
6093
6094
-
2. Encode your parachain ID as a u32 [SCALE](/polkadot-protocol/basics/data-encoding/#data-types){target=\_blank} value:
6094
+
2. Encode your parachain ID as a u32 [SCALE](/polkadot-protocol/parachain-basics/data-encoding#data-types){target=\_blank} value:
6095
6095
6096
6096
- For parachain 2006, this would be `d6070000`
6097
6097
@@ -8151,6 +8151,8 @@ curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
8151
8151
8152
8152
Ensure to replace the `INSERT_ADDRESS`, `INSERT_STORAGE_KEY`, and `INSERT_BLOCK_VALUE` with the proper values.
8153
8153
8154
+
---
8155
+
8154
8156
### eth_getTransactionCount
8155
8157
8156
8158
Returns the number of transactions sent from an address (nonce). [Reference](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gettransactioncount){target=\_blank}.
@@ -8286,6 +8288,8 @@ curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
8286
8288
}'
8287
8289
```
8288
8290
8291
+
---
8292
+
8289
8293
## Response Format
8290
8294
8291
8295
All responses follow the standard JSON-RPC 2.0 format:
@@ -8470,7 +8474,7 @@ main();
8470
8474
8471
8475
For detailed comparisons and migration guidelines, see the [EVM vs. PolkaVM](/polkadot-protocol/smart-contract-basics/evm-vs-polkavm/#current-memory-limits){target=\_blank} documentation page.
8472
8476
8473
-
The `revive` compiler transforms Solidity smart contracts into [PolkaVM](/develop/smart-contracts/native-evm-contracts/#polkavm){target=\_blank} bytecode for deployment on Polkadot Hub. Revive's Ethereum RPC interface allows you to use familiar tools like Ethers.js and MetaMask to interact with contracts.
8477
+
The `revive` compiler transforms Solidity smart contracts into [PolkaVM](/develop/smart-contracts/overview#native-smart-contracts){target=\_blank} bytecode for deployment on Polkadot Hub. Revive's Ethereum RPC interface allows you to use familiar tools like Ethers.js and MetaMask to interact with contracts.
8474
8478
8475
8479
### Install the Revive Library
8476
8480
@@ -10851,7 +10855,7 @@ Polkadot Hub supports a comprehensive suite of development tools familiar to Eth
10851
10855
10852
10856
### Cross-Chain Capabilities
10853
10857
10854
-
Smart contracts deployed on Polkadot Hub can leverage Polkadot's [cross-consensus messaging (XCM) protocol](/develop/interoperability/intro-to-xcm/){target=\_blank} protocol to seamlessly _transfer tokens and call functions on other blockchain networks_ within the Polkadot ecosystem, all without complex bridging infrastructure or third-party solutions. For further references, check the [Interoperability](/develop/interoperability/index){target=\_blank} section.
10858
+
Smart contracts deployed on Polkadot Hub can leverage Polkadot's [cross-consensus messaging (XCM) protocol](/develop/interoperability/intro-to-xcm/){target=\_blank} protocol to seamlessly _transfer tokens and call functions on other blockchain networks_ within the Polkadot ecosystem, all without complex bridging infrastructure or third-party solutions. For further references, check the [Interoperability](/develop/interoperability/){target=\_blank} section.
10855
10859
10856
10860
### Use Cases
10857
10861
@@ -10920,23 +10924,15 @@ Subsequent sections of this guide provide detailed information about specific de
10920
10924
10921
10925
Explore essential libraries to optimize smart contract development and interaction.
@@ -20341,7 +20337,7 @@ Key features of BABE include:
20341
20337
20342
20338
- **Epochs and slots** - BABE operates in phases called epochs, each of which is divided into slots (around 6 seconds per slot). Validators are assigned slots at the beginning of each epoch based on stake and randomness
20343
20339
20344
-
- **Randomized block production** - validators enter a lottery to determine which will produce a block in a specific slot. This randomness is sourced from the relay chain's [randomness cycle](/polkadot-protocol/basics/randomness/){target=\_blank}
20340
+
- **Randomized block production** - validators enter a lottery to determine which will produce a block in a specific slot. This randomness is sourced from the relay chain's [randomness cycle](/polkadot-protocol/parachain-basics/randomness/){target=\_blank}
20345
20341
20346
20342
- **Multiple block producers per slot** - in some cases, more than one validator might win the lottery for the same slot, resulting in multiple blocks being produced. These blocks are broadcasted, and the network's fork choice rule helps decide which chain to follow
20347
20343
@@ -23531,7 +23527,7 @@ The runtime performs several critical functions, such as:
23531
23527
23532
23528
## Communication Between Node and Runtime
23533
23529
23534
-
The client and runtime communicate exclusively using [SCALE-encoded](/polkadot-protocol/basics/data-encoding){target=\_blank} communication. This ensures efficient and compact data exchange between the two components.
23530
+
The client and runtime communicate exclusively using [SCALE-encoded](/polkadot-protocol/parachain-basics/data-encoding){target=\_blank} communication. This ensures efficient and compact data exchange between the two components.
A component of the Asset Hub parachain, PolkaVM helps enable the deployment of Solidity-based smart contracts directly on Asset Hub. Learn more about how this cutting edge virtual machine facilitates using familiar EVM contracts and tools with Asset Hub by visiting the [Native EVM Contracts](/develop/smart-contracts/evm/native-evm-contracts/){target=\_blank} guide.
24278
+
A component of the Asset Hub parachain, PolkaVM helps enable the deployment of Solidity-based smart contracts directly on Asset Hub. Learn more about how this cutting edge virtual machine facilitates using familiar Ethereum-compatible contracts and tools with Asset Hub by visiting the [Native Smart Contracts](/develop/smart-contracts/overview#native-smart-contracts){target=\_blank} guide.
0 commit comments