Skip to content

paritytech/DevEx-DevRel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevEx-DevRel

Tools

1. DevContainers for Smart Contract Development

Quickly get started with smart contract development using Docker containers. This setup allows you to run your smart contracts in a consistent environment across different machines. The setup provides both a foundry environment and a Hardhat environment. To use the setup:

a) Clone the repository and open it in vscode/cursor/windsurf/editor of your choice.

git clone https://github.com/paritytech/DevEx-DevRel
cd DevEx-DevRel
code .

b) Open the command palette (Ctrl+Shift+P) and select "Dev Containers: Reopen in Container". You will have 2 choices to choose from: foundry and hardhat. This will build the container and open the project in the container.

c) As the Dev Container sets up, follow the instructions to configure a Paseo key-pair with tokens to deploy your contracts!

Compile the contracts:

npx hardhat compile

Run tests:

npx hardhat test

Try deploying a test contract to the Paseo testnet:

npx hardhat ignition deploy ignition/modules/MyToken.ts --network polkadotHubTestnet

Resources

  1. Link to dashboard

  2. Onboarding

  3. Parity ecosystem links