githubEditar

🚀Smart Contract Development on Polkadot

Polkadot enables smart contract deployment via PolkaVM. This allows using familiar Ethereum tools and libraries while leveraging Polkadot’s robust ecosystem. PolkaVM is live on Passet Hub, the Polkadot community testnet. ✅

Please provide feedback on your experience deploying smart contracts on Polkadot using this feedback formarrow-up-right.

Refer to the known issuesarrow-up-right document if you're running into issues deploying contracts or using any of the tools below. If you have a new bug or problem, please raise an issue in the Contracts Bug trackerarrow-up-right on Github.

📚 Solidity Development Environments

There are multiple development environments already available for Polkadot smart contract development. Here are some of the most popular ones:

  • 🖥️ Polkadot Remix IDEarrow-up-right - a web-based IDE that allows you to write, test, and deploy smart contracts directly in your browser. It's integrated with compatible chains: you can deploy right from the browser

  • ⚒️ Hardhatarrow-up-right - a popular Ethereum development environment that can be used for Polkadot smart contract development with the help of custom plugins

  • 🤠 Foundryarrow-up-right - a smart contract development toolchain that manages your dependencies, compiles your project, runs tests, deploys, and lets you interact with thec ontracts.

🦀 Rust Contracts

Besides Solidity, you can also write smart contracts in Rust using ink! — the go-to language for Rust-based smart contract development on Polkadot. Check out the ink! Docsarrow-up-right (compatible with PolkaVM from v6 ) to get started.

👨‍💻 Contract Interaction Libraries

Several libraries can be used to interact with smart contracts deployed on Polkadot for both Solidity and Rust.

Solidity

ink!

📚 Tutorials and Guides

Here you can find some useful tutorials and resources to help you get started with smart contract development on Polkadot:

🔑 How to Connect to Polkadot Hub Testnet

You can use any Ethereum-compatible wallet wallet to connect to Polkadot Hub Testnet. Follow the Connect your Walletarrow-up-right guide to connect using MetaMask. We also recommend using Talismanarrow-up-right, which is built for both Polkadot and Ethereum.

💧 Polkadot Faucet

Need testnet tokens? Get some from the Testnet Faucetarrow-up-right 💧

Note: Make sure you've selected the Passet Hub chain on the Paseo network!

🏆 Starter Templates

Jumpstart your smart contract dApp with these templates:

  • create-polkadot-dapparrow-up-right - a scaffolding tool to generate project boilerplates. Explore the react-solidity template located in the templates folder which comes pre-configured with React, Tailwind CSS, and Ethers.js for frontend interaction with your smart contracts

  • hardhat-polkadot-examplearrow-up-right - a demo for how to use Hardhat with Polkadot.

Vibe coding with AI: LLM configuration helper

Última actualización