Skip to content
/ cube Public

Cube is a virtual machine designed to enable bridgeless smart contract execution natively on Bitcoin.

License

Notifications You must be signed in to change notification settings

cube-vm/cube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cube Cube is a virtual machine designed to enable bridgeless smart contract execution natively on Bitcoin. Providing a fully trustless execution environment with unilateral exit, Cube keeps users in full control of their funds.

By combining virtual UTXOs with a symmetric state channel architecture and leveraging Bitcoin DA, Cube integrates Bitcoin payments directly into a virtual machine with global-state.

Cube is currently in the early development phase.

Installation

Ensure you have Rust installed. Clone the repository and navigate into the project directory:

git clone https://github.com/cube-vm/cube
cd cube

Usage

Run the program with the following command:

cargo run <chain> <mode> <bitcoin-rpc-url> <bitcoin-rpc-user> <bitcoin-rpc-password>

Parameters:

  • <chain>: The Bitcoin network to use. Supported values:
    • signet
    • mainnet
  • <mode>: The mode in which the program runs. Supported values:
    • node: For running a Cube node.
    • engine: For network operators.
  • <bitcoin-rpc-url>: The RPC URL of the Bitcoin node.
  • <bitcoin-rpc-user>: The RPC username.
  • <bitcoin-rpc-password>: The RPC password.

Example:

cargo run signet node http://127.0.0.1:38332 user password

Contributing

We welcome contributions! Please check the areas where we need help for more details on how you can contribute.

License

This project is licensed under the CC0 1.0 Universal License. See the LICENSE file for details.

About

Cube is a virtual machine designed to enable bridgeless smart contract execution natively on Bitcoin.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages