Skip to content

A Node.js Lib for tapscript building, provide module, use case and demo

Notifications You must be signed in to change notification settings

scalebit/OpenTap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenTap

OpenTap is both a library and an integrated demo for tapscript developers. We wrapped the most commonly used tapscript as a module for developers. You can build taproot-related apps in a more easy way.

Currently, we are supporting the node.js environment, go version is on the way. The function we are currently supported:

  • Taproot Builder - Easily to create a taproot address/wallet
  • Script (ASM) Builder - Build Bitcoin raw script by opcode
  • Multi-Sig Builder - Build Multi-Sig script and signing
  • Inscription Builder - Build basic Brc20/Rune/Inscription
  • RPC/API - Module used to get/post data to RPC/API
  • Demo - An integrated demo that builds a multi-sig wallet in the browser

We are working on:

  • Assets - Fully support Bitcoin native assets
  • DLC - Implement of discreet log contract
  • BitVM - Tapscript based on BitVM (and BitVM improvement)
  • Go - Fully supported go language

DISCLAIMER: We haven’t finished our inside auditing yet, so use it at your own risk before we fully confirm the source code.

Test Environment

Before you using/testing this repo, we strongly recommend you to set up a local Bitcoin test environment (regtest). Building a test environment is tedious work, we have managed to organize and testify all the necessary steps to build it, which is much quicker to test anything compared to Bitcoin testnet. Our env include:

  • Bitcoin Regtest
  • Bitcoin Explorer
  • Brc20/Inscription Indexer
  • Rune Indexer

You can go to the ./Environment folder for all the instruction you need.

Reference

About

A Node.js Lib for tapscript building, provide module, use case and demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •