A comprehensive suite of developer tools for working with sBTC on the Stacks blockchain. This monorepo contains multiple applications to help you interact with and analyze sBTC. sBTC-Tools Live Demo sBTC-Analytics Live Demo
- CLI Tools: Powerful command-line interface for transferring STX and interacting with sBTC contracts
- Analytics Dashboard: Comprehensive analytics for monitoring sBTC supply, holders, and transactions
- Landing Page: Modern web interface to showcase the tools and provide documentation
sbtc-tools/
├── apps/
│ ├── web/ # Next.js landing page
│ ├── cli/ # Command-line interface for sBTC operations
│ └── analytics/ # sBTC analytics dashboard
├── packages/ # Shared packages and utilities
│ ├── tsconfig/
│ ├── utils/
│ └── ui/ # Shared Shadcn UI components
└── README.md
First, clone the repository:
git clone https://github.com/iatomic1/sBTC-tools
cd sBTC-tools
Then install dependencies:
bun install
To run the CLI tool:
cd apps/cli
bun www/bin.ts
Example commands:
# Transfer STX
bun www/bin.ts transfer --amount 100 --to SP2WNEL...
# Check balance
bun www/bin.ts balance --address SP2WNEL...
# Get analytics
bun www/bin.ts analytics --metric supply
To run the analytics dashboard:
cd apps/analytics
bun dev
Then open http://localhost:4002 in your browser.
To run the landing page:
cd apps/web
bun dev
Then open http://localhost:4000 in your browser.
For more detailed documentation on each tool:
- CLI: See the CLI Documentation
- Analytics: See the Analytics Documentation
The CLI provides a simple interface for:
- Transferring STX between addresses
- Checking balances of addresses
- Fetching analytics data (coming soon)
The analytics dashboard offers:
- Real-time monitoring of sBTC supply
- Tracking of active holders
- Visualization of transfers
- Price history and charts
- Top holders list
- and many more...
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
If you have any questions or feedback, please open an issue on GitHub or reach out to the maintainers.
Born from the void, shaped by Atomic