Skip to content

Commit

Permalink
export wallet module (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
fpelliccioni authored Aug 18, 2023
1 parent d16fd20 commit 844d39f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@knuth/bch",
"version": "2.1.1",
"version": "2.1.2",
"description": "Bitcoin Cash development platform for Javascript and Typescript applications",
"main": "src/kth.js",
"scripts": {
Expand Down
8 changes: 8 additions & 0 deletions src/kth.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@ const outputPoint = require('./chain/outputPoint');
const script = require('./chain/script');
const transaction = require('./chain/transaction');

const paymentAddress = require('./wallet/paymentAddress');
const wallet = require('./wallet/wallet');

const settings = require('./config/settings');
const sett_network = require('./config/network');

const err = require('../src/errors');

module.exports = {
Expand All @@ -36,6 +40,10 @@ module.exports = {
script,
transaction,

//Wallet
paymentAddress,
wallet,

//Config
settings,
network: sett_network.Network
Expand Down

0 comments on commit 844d39f

Please sign in to comment.