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

A smart contract system for Litecoin and Bitcoin.

Smart Contract System

  • Bitcoin Computer Lib: A client side non-custodial wallet that can read and write transactions encoding smart contracts.
  • Bitcoin Computer Node: Server side infrastructure to host trustless smart contract based web applications.

Standard Smart Contracts

  • BRC20 contract: A Bitcoin Computer implementation of the ERC20 Fungible Token Standard.
  • BRC721 contract: A Bitcoin Computer implementation of the ERC721 Non-Fungible Token Standard on Litecoin/Bitcoin.

Example Applications

  • Wallet: A simple wallet using the Bitcoin Computer
  • Chat: A p2p chat application where messages are communicated over the blockchain.
  • Fungible Token: An application for minting, sending, and storing NFTs
  • Non Fungible Token: An application for minting, sending, and storing fungible tokens.

Get Started

The first step is to run your own local regtest Bitcoin Computer Node. Clone the repository and follow the instructions on the Readme file.

To get started with a simple Wallet example application, you can use our template to create a new project:

npx create-react-app <your-app-name> --template @bitcoin-computer/cra-template

Then, open a browser to http://localhost:3000.

The Wallet application allows you to generate addresses based on some mnemonic strings. You will need to fund your wallet using the Bitcoin Computer Node. Follow the instructions in the Readme file.

Once you fund the Wallet, the balance should be updated. You can then send transactions to other addresses.

Many other examples can be found in the Applications section. The complete documentation can be found in Bitcoin Computer Docs.

Questions

If you have any questions, please let us know in our Telegram group, on Twitter, or by email [email protected].

Documentation and Help

Have a look at the Bitcoin Computer Docs or create an issue.

Price

  • Testnet: The Bitcoin Computer will be free forever on testnet.
  • Mainnet: The fees for the Bitcoin Computer are exactly the same as the miners fees. For example, if the miner transaction fees is $0.01, then you will pay $0.02: one cent to the miners, and one cent to support the development of the Bitcoin Computer.

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%