Welcome to BSV Code Academy

Your Complete Guide to Building on BSV Blockchain

Welcome to the BSV Code Academy - a comprehensive, modular learning platform for developers at all skill levels who want to build applications on the Bitcoin Satoshi Vision (BSV) blockchain. From beginner to intermediate production-ready applications.


📚 How to Use This Repository

This academy is organized into three complementary systems that work together:

1. 🎓 Learning Paths (Structured Courses)

Start here for guided learning

Follow progressive courses from beginner to intermediate. Each course teaches concepts and references the SDK Components and Code Features below.

  • When to use: You want to learn systematically

  • Path: Read courses in order, following the references to components

  • Time: Full path ~21-27 hours

2. 🔧 SDK Components (Technical Reference)

Use as reference documentation

Deep-dive documentation for each part of the BSV SDK. Think of these as your technical manual - comprehensive API docs with examples.

  • When to use: You need detailed technical specs or API reference

  • Path: Jump directly to the component you need

  • Time: 15-30 minutes per component

3. 💻 Code Features (Ready-to-Use Examples)

Copy and adapt for your projects

Production-ready code examples for specific features. Copy, modify, and use in your applications.

  • When to use: You need working code for a specific task

  • Path: Find the feature, copy the code, adapt to your needs

  • Time: 5-15 minutes per feature


🚀 Quick Start Guides

For Complete Beginners

"I'm new to BSV blockchain development"

Estimated time: ~5 hours You'll learn: Development setup, BSV fundamentals, create wallet, build transactions, integrate wallets

For Experienced Developers

"I know blockchain, new to BSV"

Estimated time: 3-4 hours to get productive You'll learn: BSV-specific features, transaction building, SPV, BRC standards, payment systems, tokenization

For SDK Reference

"I need API documentation"

Estimated time: 15-30 minutes per component You'll find: Complete API docs, usage patterns, best practices

For Code Examples

"I need working code for [specific task]"

Estimated time: 5-15 minutes per feature You'll get: Production-ready TypeScript code you can use immediately


📖 Learning Paths (Structured Courses)

🟢 Beginner Path

Goal: Learn BSV development fundamentals

Course
Time
What You'll Learn

30 min

Install tools, understand workflow

45 min

Set up BSV development environment

30 min

BSV development patterns and paradigms

1h

Core concepts: UTXOs, transactions, scripts

45 min

Create and manage BSV wallets

1h

Build, sign, and broadcast transactions

45 min

Integrate wallets into client applications

Total time: ~5 hours Prerequisites: Basic programming knowledge (JavaScript/TypeScript) Outcome: Build simple BSV applications

🟡 Intermediate Path

Goal: Build production applications

Core Concepts (Learn Key Technologies)

Course
Time
What You'll Learn

45-60m

PushDrop tokens, two-phase signing, MessageBox transfers

45-60m

Topic Managers, Lookup Services, protocol validation

Hands-On Projects (Build Real Applications)

Project
Time
What You'll Build

2-3h

Wallet data integration, key derivation, baskets

2-3h

On-chain data storage with OP_RETURN, basket organization, file hashing

4-6h

Token-based crowdfunding with escrow and automated payouts

6-8h

Full-stack token system with overlay validation and MongoDB indexing

Total time: 16-22 hours Prerequisites: Complete beginner path Outcome: Build production-ready applications with full frontend and backend


🔧 SDK Components (Technical Reference)

Complete API documentation for the BSV TypeScript SDK

Core Cryptography

Transaction Components

Advanced Features

Network & Standards

  • P2PKH - Standard payment template

  • BEEF - BRC-62 transaction envelopes

  • ARC - Transaction broadcasting

  • BRC-29 - Payment protocol

  • BRC-42 - Key derivation standard

How to use: Click into any component for complete API reference, usage patterns, and examples.


💻 Code Features (Ready-to-Use Examples)

Production-ready code you can copy and adapt

Transaction Operations

Wallet & Keys

Scripts & Templates

Verification & Security

Advanced Patterns

Business Applications

How to use: Browse features, find what you need, copy the code, adapt to your project.


🎯 Learning by Use Case

"I want to build a wallet"

"I want to integrate payments"


🗺️ Complete Repository Map


📊 What's Inside

  • 📚 13 Structured Courses covering beginner → intermediate

    • 7 Beginner courses

    • 2 Intermediate concept courses

    • 4 Intermediate hands-on projects

  • 🔧 17 SDK Components with complete API documentation

  • 💻 31 Code Features with production-ready examples

  • 📝 Comprehensive documentation covering all aspects of BSV development

  • ⚡ Latest Tech including Teranode architecture and deployment


🛠️ Installation & Setup

Prerequisites

  • Node.js 18+

  • TypeScript 4.9+

  • Basic terminal/command line knowledge

Install BSV SDK

Quick Test

Full setup guide: learning-paths/beginner/development-environment/


🤝 How Components Work Together

Modular Architecture

Example Flow:

  1. You're learning about transactions → Read learning-paths/beginner/first-transaction/

  2. Need API details → Reference sdk-components/transaction/

  3. Want working code → Copy from code-features/transaction-building/


Fastest Path to Production (2 weeks intensive)

Comprehensive Mastery (3-4 weeks part-time)

Token-Focused Path

SDK Reference User (ongoing)


🌟 Key Features

Complete Coverage - From "Hello World" to running Teranode infrastructure ✅ Production Ready - All code examples tested with real @bsv/sdk API ✅ Modular Design - Use what you need, skip what you don't ✅ Latest Technology - Includes Teranode, latest BRC standards ✅ TypeScript First - Modern, type-safe development ✅ Cross-Referenced - Easy navigation between related topics


📚 External Resources

Official BSV Resources

Developer Tools

Community


🤝 Contributing

This is a living documentation project. Contributions are welcome!


📄 License

This documentation is provided as-is for educational purposes.


🚀 Get Started Now!

Choose your path:

Happy Building on BSV! 🎉


Built with ❤️ for the BSV developer community

Last updated