Skip to content

Commit 38bd98d

Browse files
committed
add banner tutorial/smart contracts
1 parent 21bb733 commit 38bd98d

File tree

7 files changed

+13
-0
lines changed

7 files changed

+13
-0
lines changed

tutorials/smart-contracts/demo-aplications/deploying-uniswap-v2.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ Let's start by cloning the Uniswap V2 project:
3232
cd polkavm-hardhat-examples/uniswap-v2-polkadot/
3333
```
3434
35+
--8<-- 'text/smart-contracts/polkaVM-warning.md'
36+
3537
2. Install the required dependencies:
3638
3739
```bash

tutorials/smart-contracts/deploy-erc20.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ tutorial_badge: Beginner
1010

1111
[ERC-20](https://eips.ethereum.org/EIPS/eip-20){target=\_blank} tokens are fungible tokens commonly used for creating cryptocurrencies, governance tokens, and staking mechanisms. Polkadot Hub enables easy token deployment with Ethereum-compatible smart contracts via PolkaVM.
1212

13+
--8<-- 'text/smart-contracts/polkaVM-warning.md'
14+
1315
This tutorial covers deploying an ERC-20 contract on the Polkadot Hub TestNet using [Polkadot Remix IDE](https://remix.polkadot.io){target=\_blank}, a web-based development tool. [OpenZeppelin's ERC-20 contracts]({{ dependencies.repositories.open_zeppelin_contracts.repository_url}}/tree/{{ dependencies.repositories.open_zeppelin_contracts.version}}/contracts/token/ERC20){target=\_blank} are used for security and compliance.
1416

1517
## Prerequisites

tutorials/smart-contracts/deploy-nft.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ tutorial_badge: Beginner
1010

1111
Non-Fungible Tokens (NFTs) represent unique digital assets commonly used for digital art, collectibles, gaming, and identity verification. Polkadot Hub supports Ethereum-compatible smart contracts through PolkaVM, enabling straightforward NFT deployment.
1212

13+
--8<-- 'text/smart-contracts/polkaVM-warning.md'
14+
1315
This tutorial guides you through deploying an [ERC-721](https://eips.ethereum.org/EIPS/eip-721){target=\_blank} NFT contract on the Polkadot Hub TestNet using the [Polkadot Remix IDE](https://remix.polkadot.io){target=\_blank}, a web-based development environment. To ensure security and standard compliance, it uses [OpenZeppelin's NFT contracts]({{ dependencies.repositories.open_zeppelin_contracts.repository_url}}/tree/{{ dependencies.repositories.open_zeppelin_contracts.version}}){target=\_blank} implementation.
1416

1517
## Prerequisites

tutorials/smart-contracts/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ Jump into the tutorials and learn how to:
2424

2525
Choose a tutorial below and start coding today!
2626

27+
--8<-- 'text/smart-contracts/polkaVM-warning.md'
28+
2729
## In This Section
2830

2931
:::INSERT_IN_THIS_SECTION:::

tutorials/smart-contracts/launch-your-first-project/create-dapp-ethers-js.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,3 +183,4 @@ To get started right away with a working example, you can clone the repository a
183183
git clone https://github.com/polkadot-developers/polkavm-storage-contract-dapps.git -b v0.0.2
184184
cd polkavm-storage-contract-dapps/ethers-dapp
185185
```
186+
--8<-- 'text/smart-contracts/polkaVM-warning.md'

tutorials/smart-contracts/launch-your-first-project/create-dapp-viem.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,8 @@ git clone https://github.com/polkadot-developers/polkavm-storage-contract-dapps.
204204
cd polkavm-storage-contract-dapps/viem-dapp
205205
```
206206

207+
--8<-- 'text/smart-contracts/polkaVM-warning.md'
208+
207209
## Where to Go Next
208210

209211
<div class="grid cards" markdown>

tutorials/smart-contracts/launch-your-first-project/test-and-deploy-with-hardhat.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ Let's start by setting up Hardhat for your Storage contract project:
7171
- `localNode` - runs a PolkaVM instance on `http://127.0.0.1:8545` for local development and testing
7272
- `passetHub` - connects to the the Polkadot Hub TestNet network using a predefined RPC URL and a private key stored in environment variables
7373

74+
--8<-- 'text/smart-contracts/polkaVM-warning.md'
75+
7476
7. Export your private key and save it in your Hardhat environment:
7577

7678
```bash

0 commit comments

Comments
 (0)