Usage
Arguments
Flags
Description
Creates a new project directory with smart contracts, tests, deployment scripts, and adokrypt.yaml configuration file scaffolded from the selected template.
The scaffolding process:
- Validates the project name and checks that the target directory doesn’t already exist
- Loads the selected template (built-in or installed from marketplace)
- Renders all template files, replacing variables like
{{ .ProjectName }},{{ .ChainName }},{{ .ChainID }}, and{{ .Engine }} - Initializes a git repository (unless
--no-gitis set) - Displays the created files and next steps
Available Templates
Examples
Basic project with defaults
my-project/ with the evm-basic template, Anvil engine, and Ethereum chain.
DeFi project
NFT project with custom chain
Skip git initialization
Scaffold into a specific directory
Output Structure
The created directory structure depends on the template. Forevm-basic:
my-project
dokrypt.yaml
foundry.toml
README.md
contracts
Counter.sol
SimpleToken.sol
test
Counter.t.sol
SimpleToken.t.sol
scripts
deploy.js