Skip to content

This is bitcoin wallet connect boilerplate. ordinal address, payment address, fractal address. Supports Unisat, Xverse, Okx, Leather, magic deden, phantom.

Notifications You must be signed in to change notification settings

fredalden/wallet-connect-send-bitcoin-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

This is bitcoin wallet connect boilerplate. ordinal address, payment address, fractal address. Supports Unisat, Xverse, Okx, Leather, magic deden, phantom.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published