GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - BitVM/rust-bitcoin-scriptexec: Bitcoin Script interpreter implemented in Rust

BranchesTags
Open more actions menu

Latest commit

 

History

58 Commits
58 Commits

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build-wasm.sh
build-wasm.sh
 
 

Repository files navigation

bitcoin-scriptexec

A work-in-progress Bitcoin Script execution utility.

DISCLAIMER: DO NOT EVER, EVER, TRY TO USE THIS CRATE FOR CONSENSUS PURPOSES !!

Status

This project is a work-in-progress mostly attempting to facilitate BitVM development. It does not yet fully implement all opcodes, but as a library already gives you pretty good insight into the internals of the execution in a step-wise manner.

Usage

CLI

You can simply use cargo run or build/intall the binary as follows:

# to build in debug mode
$ cargo build --locked
# to build in release (optimized) mode
$ cargo build --locked --release
# to install in ~/.cargo/bin
$ cargo install --locked --path .

Usage

The CLI currently takes only a single argument: the path to the ASM script file:

# using the binary
$ btcexec <script.bs>
# using cargo run
$ cargo run -- <script.bs>

WASM

There are wasm bindings provided. For API documentation, see the src/wasm.rsa file.

To build the WASM bindings, install wasm-pack and then run the following script:

./build-wasm.sh

About

Bitcoin Script interpreter implemented in Rust

Resources

Readme
CC0-1.0 license
Activity
Custom properties

Stars

54 stars

Watchers

2 watching

Forks

32 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.