{"id":51359445,"url":"https://github.com/lightninglabs/tap-sdk","last_synced_at":"2026-07-02T22:04:51.142Z","repository":{"id":362901699,"uuid":"1094497964","full_name":"lightninglabs/tap-sdk","owner":"lightninglabs","description":"Build Taproot Assets applications","archived":false,"fork":false,"pushed_at":"2026-06-14T13:24:58.000Z","size":1098,"stargazers_count":12,"open_issues_count":16,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-07-02T08:32:26.427Z","etag":null,"topics":["bitcoin","lightning-network","sdk-go","taproot-assets"],"latest_commit_sha":null,"homepage":"https://docs.lightning.engineering/the-lightning-network/taproot-assets","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lightninglabs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-11-11T19:38:03.000Z","updated_at":"2026-06-08T16:42:01.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/lightninglabs/tap-sdk","commit_stats":null,"previous_names":["lightninglabs/tap-sdk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lightninglabs/tap-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightninglabs%2Ftap-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightninglabs%2Ftap-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightninglabs%2Ftap-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightninglabs%2Ftap-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lightninglabs","download_url":"https://codeload.github.com/lightninglabs/tap-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightninglabs%2Ftap-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35064275,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-02T02:00:06.368Z","response_time":173,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bitcoin","lightning-network","sdk-go","taproot-assets"],"created_at":"2026-07-02T22:04:50.526Z","updated_at":"2026-07-02T22:04:51.130Z","avatar_url":"https://github.com/lightninglabs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003etap-sdk\u003c/h1\u003e\n\n  \u003cp\u003e\n    \u003cstrong\u003eBuild Taproot Assets applications\u003c/strong\u003e\n  \u003c/p\u003e\n\n  \u003cp\u003e\n    \u003ca href=\"https://pkg.go.dev/github.com/lightninglabs/tap-sdk\"\u003e\u003cimg alt=\"Go Reference\" src=\"https://pkg.go.dev/badge/github.com/lightninglabs/tap-sdk.svg\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/lightninglabs/tap-sdk/actions\"\u003e\u003cimg alt=\"CI\" src=\"https://github.com/lightninglabs/tap-sdk/actions/workflows/main.yml/badge.svg\"/\u003e\u003c/a\u003e\n    \u003ca href=\"LICENSE\"\u003e\u003cimg alt=\"MIT Licensed\" src=\"https://img.shields.io/badge/license-MIT-blue.svg\"/\u003e\u003c/a\u003e\n    \u003ca href=\"go.mod\"\u003e\u003cimg alt=\"Go 1.25.10+\" src=\"https://img.shields.io/badge/go-1.25.10%2B-lightgrey.svg\"/\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n`tap-sdk` is the application SDK for\n[Taproot Assets](https://github.com/lightninglabs/taproot-assets). It wraps a\nrunning `tapd` node with a typed, developer-facing API for issuing, receiving,\nsending, proving, burning, and discovering assets.\n\nThe SDK intentionally does not mirror tapd one-to-one. It exposes the asset\nmodel developers usually want:\n\n- `AssetRef` as the stable handle for assets across wallet, issuer, proof,\n  burn, balance, event, and universe flows.\n- `Asset`, `Collection`, and `Issuance` as distinct business concepts.\n- High-level `Wallet`, `Issuer`, and `Universe` surfaces for common workflows.\n- Direct `grpc` and `rest` transport packages for connection setup and advanced RPC-shaped access.\n\nThe Go package is the first implementation. The API model is designed to be\nportable to TypeScript, Rust, Python, Kotlin, and Swift bindings over time.\n\n## Install\n\n```bash\ngo get github.com/lightninglabs/tap-sdk\n```\n\n## Compatibility\n\n| tap-sdk | tapd / Taproot Assets | lnd | Go |\n|---------|------------------------|-----|----|\n| `main` | tapd `main` after v0.8.0 | v0.21.0-beta or newer | 1.25.10+ |\n| `v0.1.x` | v0.8.0 or newer | v0.21.0-beta or newer | 1.25.10+ |\n\nOlder `tapd` versions are unsupported. See [Compatibility](docs/compatibility.md) for the detailed matrix.\n\nThe first public SDK tag is `v0.1.0`. The SDK remains pre-v1 because some\nTaproot Assets workflows are intentionally still outside the current surface\nand the API has not yet been broadly exercised by external developers.\n\n## Quick Start\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"log\"\n\n\ttapsdk \"github.com/lightninglabs/tap-sdk\"\n\ttapgrpc \"github.com/lightninglabs/tap-sdk/grpc\"\n)\n\nfunc main() {\n\tctx := context.Background()\n\n\tclient, err := tapgrpc.NewClient(\u0026tapgrpc.Config{\n\t\tHost:     \"localhost:10029\",\n\t\tNetwork:  tapsdk.NetworkRegtest,\n\t\tTLS:      tapgrpc.TLSFromPath(\"/path/to/tls.cert\"),\n\t\tMacaroon: tapsdk.MacaroonFromPath(\"/path/to/admin.macaroon\"),\n\t})\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tdefer client.Close()\n\n\twallet := tapsdk.NewWallet(client, tapsdk.NetworkRegtest)\n\tissuer := wallet.NewIssuer()\n\n\ttoken, err := issuer.CreateFungible(ctx, tapsdk.FungibleAssetSpec{\n\t\tName:   \"example-token\",\n\t\tAmount: 1_000_000,\n\t})\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tbalance, err := wallet.GetBalance(ctx, token.AssetRef)\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tlog.Printf(\"asset=%s balance=%d\", token.AssetRef, balance)\n}\n```\n\n## Packages\n\n| Package | Role |\n|---------|------|\n| `github.com/lightninglabs/tap-sdk` | Public asset model, `Wallet`, `Issuer`, `Universe`, builders, errors, and all business types |\n| `github.com/lightninglabs/tap-sdk/grpc` | gRPC transport, TLS config, macaroon auth, tapd marshal/unmarshal |\n| `github.com/lightninglabs/tap-sdk/rest` | REST transport, TLS config, macaroon auth, WebSocket event streams |\n| `github.com/lightninglabs/tap-sdk/macaroon` | Low-level macaroon source helpers |\n\nMost application code imports the root package plus one transport package.\nAdvanced integrations can use `wallet.Client()` to reach low-level methods\nwithout importing `taprpc`.\n\n## What You Can Build Today\n\n- Wallet apps that issue, receive, send, burn, and list Taproot Assets.\n- Services that mint fungibles, standalone NFTs, and NFT collections.\n- Indexing and discovery tools backed by universe roots and proofs.\n- Proof import/export flows for out-of-band delivery.\n- Ownership proof flows for proving wallet control of assets.\n- Regtest-backed test suites that exercise both gRPC and REST transports.\n\nLightning-native Taproot Assets flows such as RFQ, price oracles, asset\nchannels, and Portfolio Pilot are intentionally outside the current SDK\nsurface.\n\n## Demos\n\n- [Remote Signing Coordinator](demos/remote-signing-coordinator/README.md) -\n  runnable regtest demo for reviewing and signing external Issuance requests\n  through a Go coordinator and Next.js dashboard.\n\n## Documentation\n\n- [Getting Started](docs/getting-started.md)\n- [Asset Model](docs/asset-model.md)\n- [Transports and Auth](docs/transports.md)\n- [Compatibility](docs/compatibility.md)\n- [Architecture](docs/architecture.md)\n- [Design Decisions](docs/design/README.md)\n- [Integration Tests](itest/README.md)\n- [Contributing](CONTRIBUTING.md)\n\n## License\n\nLicensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightninglabs%2Ftap-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flightninglabs%2Ftap-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightninglabs%2Ftap-sdk/lists"}