Skip to content
Set up a local development environment for COMIT apps with one command.
Rust TypeScript JavaScript Shell Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
.githooks
.github/workflows
.npm
erc20_token
new_project
src
tests
.gitignore
CHANGELOG.md
Cargo.lock
Cargo.toml
Makefile
README.md
build.rs
rust-toolchain
rustfmt.toml

README.md

Create Comit App

Set up a local development environment for COMIT apps with one command.

1 - Install

  1. Install Docker,
  2. Install yarn,
  3. create-comit-app can now be run with either:
  • yarn create comit-app --help

2 - Create your first project!

  1. yarn create comit-app new <your-app-name>,
  2. yarn create comit-app start-env to start blockchain and COMIT nodes,
  3. Run the btc-eth example (in separate terminal):
    1. Navigate to the btc-eth example app directory cd <path-to-your-app>/examples/btc-eth,
    2. yarn install to install dependencies,
    3. yarn start to run the application.

You can find additional examples in the examples directory that is created as part of step 1.

Appendix

Important: You don't have to follow this section, the above section is actually sufficient.

Appendix A: Build the project yourself

  1. Install Docker,
  2. Install Rust: curl https://sh.rustup.rs -sSf | sh,
  3. Checkout the repo: git clone https://github.com/comit-network/create-comit-app/; cd create-comit-app,
  4. Build and install: make install.
You can’t perform that action at this time.