Skip to main content

Available Templates

Dokrypt ships with 6 built-in templates covering the most common Web3 project types. All templates are free and licensed under Apache-2.0.

Usage

What Each Template Includes

Every template generates:

Common Settings

All templates use:
  • Solidity: 0.8.20
  • Optimizer: Enabled, 200 runs
  • Test framework: Foundry (forge)
  • Chain engine: Anvil (default)
  • Chain ID: 31337 (local)
  • Accounts: 10, funded with 10,000 ETH each

Choosing a Template

Just getting started?

Use evm-basic. A Counter and ERC-20 token with tests. Perfect for learning.

Building a token project?

Use evm-token. Complete ERC-20 with vesting schedules, staking pools, and a multisig wallet.

Building an NFT project?

Use evm-nft. ERC-721 collection with marketplace, royalties (EIP-2981), and IPFS metadata.

Building a DAO?

Use evm-dao. Full governance stack with Governor, Timelock, Treasury, and voting token.

Building DeFi?

Use evm-defi. Complete DeFi stack: AMM with Factory/Pair/Router, lending vault, staking, and price oracle.

Building on Arbitrum?

Use evm-arbitrum. L2 bridge messaging, token gateway, and Arbitrum mainnet forking out of the box.

Custom Templates

You can create and share your own templates:
See Template Management for details.