Skip to content

Cookiecutter template for a Cartesi DApp using python-cartesi and Cartesi CLI

License

Notifications You must be signed in to change notification settings

prototyp3-dev/cookiecutter-python-cartesi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cookiecutter Cartesi DApp with Cartesi CLI

This is a Cookiecutter template for a Cartesi DApp written in Python and using the python-cartesi framework and Sunodo.

Features

This template initialized a minimal DApp with the following features:

  • Sample implementation of the "echo" example
  • Using Cartesi CLI as the dapp build system
  • Requirements managed by pip-tools
  • Test case for the sample dapp using pytest

Usage

To use this template, it is assumed you already have the following dependencies:

  • Cookiecutter installed in your python environment
  • NodeJS version 18 available
  • Cartesi CLI installed (npm install -g @cartesi/cli)

To create your project, you can execute:

cookiecutter gh:prototyp3-dev/cookiecutter-python-cartesi

You will be asked the following questions:

  • Project Name: The full name of the project. This will be used in the README title, and also to seed the next questions
  • Name for the root directory of the repository: This will be the name of the directory being created to hold the new project.
  • Name for the main package in the repository: This is the name of the Python package within the repository that will contain your code.

About

Cookiecutter template for a Cartesi DApp using python-cartesi and Cartesi CLI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published