Skip to main content

Overview

The Dokrypt marketplace is a registry for sharing project templates. You can browse community templates, install them locally, and publish your own. Registry URL: https://hub.dokrypt.com/api/v1

Browsing Templates

Browse by Category

Categories: defi, nft, dao, token, basic

View Details

Installing Templates

Installed templates are stored in ~/.dokrypt/marketplace/. Use installed templates with dokrypt init:

Creating Templates

1. Scaffold

2. Add Your Files

my-defi-template
template.yaml
dokrypt.yaml.tmpl
foundry.toml.tmpl
README.md.tmpl
contracts
MyContract.sol
test
MyContract.t.sol
scripts
deploy.js

3. Define Metadata

4. Use Template Variables

In .tmpl files, use Go template syntax:
Files ending in .tmpl are rendered and the extension is removed. All other files are copied as-is.

5. Test Locally

6. Publish

Template Metadata Reference

Managing Installed Templates