BSV BLOCKCHAIN | Script Templates
A collection of script templates for use with the official BSV Golang SDK
The goal of this repository is to provide a place where developers from around the ecosystem can publish all manner of script templates, without needing to update the core library. We're generally neutral and unbiased about what people contribute, so feel free to contribute and see what people do with your cool idea!
Template | Description |
---|---|
BitCom | BitCom protocol utilities (B, MAP, AIP) for structured data |
BSocial | Social media actions using BitcoinSchema.org standards |
BSV20 | BSV20 token standard implementation |
BSV21 | BSV21 token standard implementation including LTM and POW20 |
Cosign | Co-signing transactions with multiple parties |
Inscription | On-chain NFT-like inscriptions |
Lockup | Time-locked transactions |
OrdLock | Locking and unlocking functionality for ordinals |
OrdP2PKH | Ordinal-aware P2PKH transactions |
P2PKH | Standard Pay-to-Public-Key-Hash transactions |
Shrug | Experimental template for demo purposes |
Each template folder contains its own README with detailed usage examples.
go get github.com/bitcoin-sv/go-templates
Import the specific template you need:
import "github.com/bitcoin-sv/go-templates/template/bsocial"
See each template's README for detailed examples.
We welcome contributions of all kinds:
- Fork & Clone: Fork this repository and clone it locally
- Make Changes: Add or improve templates
- Test: Ensure all tests pass with
go test
- Document: Add clear documentation with examples in the template's README
- Pull Request: Submit your changes for review
Open BSV License - See LICENSE.txt
For questions or issues, please open a GitHub issue or contact the project maintainers.