New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

bitgit

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitgit

git push for Bitcoin — inscribe content, register domains, manage tokens on BSV

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

bitgit

git push for Bitcoin. Inscribe content, register domains, and manage tokens on BSV.

npm install -g bitgit

Commands

bit init                # scaffold .bit.yaml for your project
bit push                # git push + inscribe changed content on BSV
bit register <domain>   # inscribe a domain on DNS-DEX
bit status              # show wallet, domain, token & version chain

Quick Start

# 1. Set up your project
cd your-project
bit init

# 2. Configure your BSV key
export BOASE_TREASURY_PRIVATE_KEY="your-wif-key"

# 3. Push content to Bitcoin
bit push

bit push does two things:

  • git push to your remote (if there are commits to push)
  • Inscribes changed content on BSV (OP_RETURN with Bitcoin Schema)

Every inscription is chained — each transaction's change output feeds the next input, so you can inscribe dozens of files in one session without waiting for confirmations.

.bit.yaml

bit init creates a .bit.yaml in your project root:

project:
  name: my-project
  domain: my-project.com
  token: MYTOKEN

wallet:
  key_env: BOASE_TREASURY_PRIVATE_KEY

content:
  type: blog              # blog | repo | domain | custom
  source: content/blog/   # directory to watch
  format: bitcoin_schema  # bitcoin_schema | op_return
  protocol: my-project-blog

db:
  supabase_url_env: NEXT_PUBLIC_SUPABASE_URL
  supabase_key_env: SUPABASE_SERVICE_ROLE_KEY
  version_table: blog_post_versions

dns_dex:
  token_symbol: $my-project.com

Inscription Formats

Bitcoin Schema (default)

Uses the B + MAP + AIP Bitcom protocols:

  • B — content storage (full markdown/JSON)
  • MAP — queryable metadata (indexed by GorillaPool)
  • AIP — cryptographic authorship proof (ECDSA signature)

Simple OP_RETURN

OP_FALSE OP_RETURN <protocol> <content-type> <payload>

DNS-DEX Domain Registration

bit register kwegwong.com
bit register kwegwong.com --category=culture --supply=1000000000

Inscribes a dnsdex-domain token on BSV and prints the DNS TXT records to add for verification.

Broadcast Fallback Chain

Transactions are broadcast with automatic fallback:

  • WhatsOnChain API
  • GorillaPool ARC
  • TAAL ARC

Dry Run

All commands support --dry-run to preview without broadcasting:

bit push --dry-run
bit register example.com --dry-run

Environment Variables

VariableRequiredDescription
BOASE_TREASURY_PRIVATE_KEYYesBSV private key (WIF format)
NEXT_PUBLIC_SUPABASE_URLOptionalSupabase URL for version chain DB
SUPABASE_SERVICE_ROLE_KEYOptionalSupabase service role key

Lineage

bitgit is the evolution of bgit (v2, 2026). Same DNA — commit/push to Bitcoin — but instead of wrapping git with a payment gate, bit adds Bitcoin alongside git.

Part of the PATH Protocol

License

MIT

Keywords

bitcoin

FAQs

Package last updated on 11 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts