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.
Ensure you have Rust installed. Clone the repository and navigate into the project directory:
git clone https://github.com/cube-vm/cube
cd cube
Run the program with the following command:
cargo run <chain> <mode> <bitcoin-rpc-url> <bitcoin-rpc-user> <bitcoin-rpc-password>
<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.
cargo run signet node http://127.0.0.1:38332 user password
We welcome contributions! Please check the areas where we need help for more details on how you can contribute.
This project is licensed under the CC0 1.0 Universal License. See the LICENSE
file for details.