Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
Update send_receive.js
Browse files Browse the repository at this point in the history
  • Loading branch information
22388o authored Feb 1, 2024
1 parent bd59244 commit 6e5f57c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/bitcoin/send_receive.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const bitcoin = require('bitcoinjs-lib');
const {PrivateKey, PublicKey, UTXO = require('bitcoinjs-lib');
const testnet = bitcoin.networks.testnet;
const payjoin = requiere('payjoin-lib');
const keypair = ECPair.makeRandom({ network });
Expand All @@ -7,7 +7,6 @@ const tweakedSigner = tweakSigner(keypair, { network });
// Replace the values below with your own testnet wallet information
const privateKey = 'YOUR_PRIVATE_KEY';
const publicKey = 'YOUR_PUBLIC_KEY';
const destinationAddress = 'DESTINATION_ADDRESS';

// Connect to the Bitcoin testnet network
const provider = 'https://testnet.blockchain.info/api';
Expand Down

0 comments on commit 6e5f57c

Please sign in to comment.