Skip to content

A Turing-complete smart contract system for Bitcoin and Litecoin

Notifications You must be signed in to change notification settings

techcto/monorepo

Repository files navigation

Bitcoin Computer Monorepo

Get started

git clone https://github.com/Bitcoin-Computer-Secrets/monorepo.git
yarn install
lerna bootstrap

Publish packages

Checkout branch dev. First update package versions using the following command.

yarn create-version

Then obfuscate code and copy to the public packages.

yarn deploy

Commit the changes to dev

git commit

Deploy testing version

yarn publish-testing

Merge dev to main and run following command to deploy public versions

yarn publish-npm

Scripts

Makes sure that current git tree is clean.

yarn git-changes-check

Rename public packages with correct names.

yarn cleanup-public-package-json-testing

Commit these name changes (lerna will only publish if everything is committed).

yarn pre-git-commit

Publish public testing packages, lerna will also make a commit of version update, and then a release will be created on github.

yarn publish

Undo all the name changing.

test-post-publish-changes

Commit and push above changes.

yarn post-git-commit

About

A Turing-complete smart contract system for Bitcoin and Litecoin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.7%
  • TypeScript 8.7%
  • CSS 0.3%
  • HTML 0.1%
  • Shell 0.1%
  • Python 0.1%