Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rusgot/wallet-connect-send-bitcoin-boilerplate
This is bitcoin wallet connect boilerplate. ordinal address, payment address, fractal address. Supports Unisat, Xverse, Okx, Leather, magic deden, phantom.
https://github.com/rusgot/wallet-connect-send-bitcoin-boilerplate
fractal fractal-bitcoin leather magic-eden next nodejs okx phantom react unisat
Last synced: about 1 month ago
JSON representation
This is bitcoin wallet connect boilerplate. ordinal address, payment address, fractal address. Supports Unisat, Xverse, Okx, Leather, magic deden, phantom.
- Host: GitHub
- URL: https://github.com/rusgot/wallet-connect-send-bitcoin-boilerplate
- Owner: rusgot
- Created: 2024-06-05T16:47:00.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-19T08:04:41.000Z (6 months ago)
- Last Synced: 2024-11-06T20:12:15.649Z (about 2 months ago)
- Topics: fractal, fractal-bitcoin, leather, magic-eden, next, nodejs, okx, phantom, react, unisat
- Language: TypeScript
- Homepage:
- Size: 125 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bitcoin Wallet Boilerplate
This is a basic Bitcoin wallet boilerplate project that demonstrates how to connect to the Bitcoin network, sign messages, and send Bitcoins.# Getting Started
# Prerequisites
Node.js (version 14 or higher)
npm (Node Package Manager)
A Bitcoin testnet or mainnet node setup (e.g., bitcoind or btcd)# Installation
1.Clone this repository: git clone https://github.com/your-username/bitcoin-wallet-boilerplate.git
2.Install dependencies: npm install
3.Configure the config.json file with your Bitcoin node's details (e.g., host, port, username, and password)# Usage
1.Run the script: node index.js
2.Follow the prompts to connect to the Bitcoin node, sign a message, and send Bitcoins# Features
Connect to a Bitcoin wallet using the Bitcoinjs-library
Sign messages using the Electrum Personal Message signing protocol
Send Bitcoins using the Bitcore library# Configuration
The config.json file contains the following settings:bitcoinNode: Object containing the details of your Bitcoin node (host, port, username, and password)
testnet: Boolean indicating whether to use testnet or mainnet (default: false)
Development
This project uses ES6 syntax and is written in TypeScript. You can modify the code to suit your needs.Contributing
Contributions are welcome! If you'd like to contribute to this project, please fork this repository and submit a pull request.License
This project is licensed under the MIT License.