Welcome to the Polkadot Hackathon Survival Guide! This resource is your go-to companion for navigating the world of Polkadot development during the hackathon.
Whether you're a blockchain pro or just starting with Polkadot, this guide has all the essential info, tips, and resources to help you shine. β¨
From setting up your development environment to presenting your project, weβve got you covered. The focus of this guide is smart contract development and bootstrapping Polkadot Hub launch, but it also provides guidance for parachain runtime development.
Good luck, and happy hacking! π
Developers can follow different paths to build applications and core blockchain functionality. Each pathway fits different project types and skill levels, all contributing to the broader Polkadot ecosystem.
The Polkadot ecosystem provides multiple development pathways:

Polkadot will enable smart contract deployment via PolkaVM. This allows devs to use familiar Ethereum tools and libraries while leveraging Polkadotβs robust ecosystem. PolkaVM is live on the Polkadot testnet Westend. β
There are multiple development environments already available for Polkadot smart contract development. Here are some of the most popular ones:
-
π₯οΈ Polkadot Remix IDE - a web-based IDE that allows you to write, test, and deploy smart contracts directly in your browser
-
βοΈ Hardhat - a popular Ethereum development environment that can be used for Polkadot smart contract development with the help of custom plugins
Several libraries can be used to interact with smart contracts deployed on Polkadot:
Here you can find some useful tutorials and resources to help you get started with smart contract development on Polkadot:
-
βοΈ Create a Smart Contract - a step-by-step guide to creating your first smart contract on Polkadot
-
βοΈ Test and Deploy with Hardhat - a guide to testing and deploying your smart contract using Hardhat
-
π¨ Deploy a NFT - a tutorial on deploying an NFT smart contract on Polkadot
-
π° Deploy an ERC-20 - a tutorial on deploying an ERC-20 token smart contract on Polkadot
-
π οΈ Create a dApp with Viem - a tutorial on creating a simple dApp using the Viem library
-
π οΈ Create a dApp with Ethers.js - a tutorial on creating a simple dApp using the Ethers.js library
You can use any Ethereum-compatible wallet wallet to connect to Polkadot Hub.
For example, you can use MetaMask and connect it to Polkadot Hub by following the Connect your Wallet guide.
Need testnet tokens? Get some from the Polkadot Faucet π§
Note: Use Westend network & select AssetHub chain!
Jumpstart your smart contract dApp with these templates:
- create-polkadot-dapp - a scaffolding tool to generate project boilerplates. Explore the
react-solidity
template located in thetemplates
folder which comes pre-configured with React, Tailwind CSS, and Ethers.js for frontend interaction with your smart contracts
Besides Solidity, you can also use Rust to write smart contracts for Polkadot. The ink! library is a popular choice for Rust-based smart contract development.
- π ink! Docs (compatible with Westend/Kusama Asset Hub from v6 )
The Polkadot SDK is a powerful and versatile developer kit designed to facilitate building custom blockchains, parachains, generalized rollups, and more.
Follow the Install Polkadot SDK Dependencies guide.
The Parachain Zero To Hero Tutorials provide developers with a series of step-by-step guides to building, testing, and deploying custom pallets and runtimes using the Polkadot SDK. These tutorials are designed to help you gain hands-on experience and understand the core concepts of parachain development.
Using pre-built templates is an efficient way to begin building a custom blockchain. Templates provide a foundational setup with pre-configured modules, letting developers avoid starting from scratch and instead focus on customization.
Within the Polkadot SDK, the following templates are available to get you started:
-
minimal-template
- includes only the essential components necessary for a functioning blockchain. Itβs ideal for developers who want to gain familiarity with blockchain basics and test simple customizations before scaling up -
solochain-template
- provides a foundation for creating standalone blockchains with moderate features, including a simple consensus mechanism and several core FRAME pallets. Itβs a solid starting point for developers who want a fully functional chain that doesnβt depend on a relay chain -
parachain-template
- designed for connecting to relay chains like Polkadot, Kusama, or Paseo, this template enables a chain to operate as a parachain. For projects aiming to integrate with Polkadotβs ecosystem, this template offers a great starting point
In addition, several external templates offer unique features and can align with specific use cases or developer familiarity:
-
OpenZeppelin
- offers two flexible starting points:- The
generic-runtime-template
provides a minimal setup with essential pallets and secure defaults, creating a reliable foundation for custom blockchain development - The
evm-runtime-template
enables EVM compatibility, allowing developers to migrate Solidity contracts and EVM-based dApps. This template is ideal for Ethereum developers looking to leverage Substrate's capabilities
- The
-
Tanssi
- provides developers with pre-built templates that can help accelerate the process of creating appchain -
Pop Network
- designed with user-friendliness in mind, Pop Network offers an approachable starting point for new developers, with a simple CLI interface for creating appchains
Choosing a suitable template depends on your projectβs unique requirements, level of customization, and integration needs. Starting from a template speeds up development and lets you focus on implementing your chainβs unique features rather than the foundational blockchain setup.
Learn how Polkadot SDKβs FRAME framework simplifies blockchain development with modular pallets and support libraries for efficient runtime design.
To interact with Polkadot SDK based blockchains, you can use the following API libraries:
- Polkadot API - a set of libraries built to be modular, composable, and grounded in a βlight-client firstβ approach. Its primary aim is to equip dApp developers with an extensive toolkit for building fully decentralized application
- Polkadot.js - a JavaScript library for interacting with Polkadot SDK-based chains. It provides a set of tools for building dApps and interacting with the Polkadot network
- Python Substrate Interface - a Python library for interacting with Polkadot SDK-based chains
- Subxt - a Rust library designed to interact with Polkadot SDK-based blockchains. It provides a type-safe interface for submitting transactions, querying on-chain state, and performing other blockchain interactions
- Sidecar REST API - a service that provides a REST interface for interacting with Polkadot SDK-based blockchains
Polkadotβs ecosystem offers a variety of integrations designed to enhance dApp functionality, improve data management, and bridge the gap between on-chain and off-chain systems.
The Polkadot SDK provides several tools and libraries to facilitate testing at various levels:
- π§ββοΈ Zombienet - a robust testing framework designed for Polkadot SDK-based blockchain networks. It enables developers to efficiently deploy and test ephemeral blockchain environments. Check the Spawn a Basic Chain with Zombienet tutorial
- π₯’ Chopsticks - a versatile tool tailored for developers working on Polkadot SDK-based blockchains. With Chopsticks, you can fork live chains locally, replay blocks to analyze extrinsics, and simulate complex scenarios like XCM interactions all without deploying to a live network. Check the Fork a Chain with Chopsticks tutorial
Here are some additional resources that can help you during the hackathon:
- Polkadot Open Source Stack π - a list of open-source tools, libraries, and frameworks that were funded by Web3 Foundation grants program and the Polkadot treasury
- Awesome DOT Repository π - a list of resources and projects of the Polkadot and Kusama ecosystem
- FRAME pallets 𧱠- a collection of pre-built and well-tested modules that can be easily integrated into your custom parachain