mirror of
https://github.com/fullstack-cash/fullstack-gatsby-theme-bch-wallet.git
synced 2026-09-21 16:52:06 -07:00
Using minimal-slp-wallet with debugging
This commit is contained in:
+3
-2
@@ -25,7 +25,7 @@ const ipfsConfig =[
|
|||||||
icon: `src/images/gatsby-icon.png`, // This path is relative to the root of the site.
|
icon: `src/images/gatsby-icon.png`, // This path is relative to the root of the site.
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
// this (optional) plugin enables Progressive Web App + Offline functionality
|
// this (optional) plugin enables Progressive Web App + Offline functionality
|
||||||
// To learn more, visit: https://gatsby.dev/offline
|
// To learn more, visit: https://gatsby.dev/offline
|
||||||
// `gatsby-plugin-offline`,
|
// `gatsby-plugin-offline`,
|
||||||
@@ -55,11 +55,12 @@ const normalConfig=[
|
|||||||
icon: `src/images/gatsby-icon.png`, // This path is relative to the root of the site.
|
icon: `src/images/gatsby-icon.png`, // This path is relative to the root of the site.
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
// this (optional) plugin enables Progressive Web App + Offline functionality
|
// this (optional) plugin enables Progressive Web App + Offline functionality
|
||||||
// To learn more, visit: https://gatsby.dev/offline
|
// To learn more, visit: https://gatsby.dev/offline
|
||||||
// `gatsby-plugin-offline`,
|
// `gatsby-plugin-offline`,
|
||||||
]
|
]
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
siteMetadata: {
|
siteMetadata: {
|
||||||
title: `Gatsby IPFS Adminlte Starter`,
|
title: `Gatsby IPFS Adminlte Starter`,
|
||||||
|
|||||||
Generated
+40
-35
@@ -5582,7 +5582,7 @@
|
|||||||
"bip39": "^3.0.2",
|
"bip39": "^3.0.2",
|
||||||
"bip66": "^1.1.5",
|
"bip66": "^1.1.5",
|
||||||
"bitcoincash-ops": "github:christroutner/bitcoincash-ops",
|
"bitcoincash-ops": "github:christroutner/bitcoincash-ops",
|
||||||
"bitcoincashjs-lib": "github:christroutner/bitcoincashjs-lib",
|
"bitcoincashjs-lib": "github:christroutner/bitcoincashjs-lib#master",
|
||||||
"bitcoinjs-message": "^2.0.0",
|
"bitcoinjs-message": "^2.0.0",
|
||||||
"bs58": "^4.0.1",
|
"bs58": "^4.0.1",
|
||||||
"buffer": "^5.1.0",
|
"buffer": "^5.1.0",
|
||||||
@@ -5645,27 +5645,6 @@
|
|||||||
"util": "^0.12.0"
|
"util": "^0.12.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"bitcoincashjs-lib": {
|
|
||||||
"version": "github:christroutner/bitcoincashjs-lib#84dbcbce600af727a6f8b3eb23ebf6571651f367",
|
|
||||||
"from": "github:christroutner/bitcoincashjs-lib",
|
|
||||||
"requires": {
|
|
||||||
"bech32": "^1.1.2",
|
|
||||||
"bigi": "^1.4.0",
|
|
||||||
"bip66": "^1.1.0",
|
|
||||||
"bitcoincash-ops": "github:christroutner/bitcoincash-ops",
|
|
||||||
"bs58check": "^2.0.0",
|
|
||||||
"create-hash": "^1.1.0",
|
|
||||||
"create-hmac": "^1.1.3",
|
|
||||||
"ecurve": "^1.0.0",
|
|
||||||
"merkle-lib": "^2.0.10",
|
|
||||||
"pushdata-bitcoin": "github:Bitcoin-com/pushdata-bitcoin#1.2.1",
|
|
||||||
"randombytes": "^2.0.1",
|
|
||||||
"safe-buffer": "^5.0.1",
|
|
||||||
"typeforce": "^1.18.0",
|
|
||||||
"varuint-bitcoin": "^1.0.4",
|
|
||||||
"wif": "^2.0.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"commander": {
|
"commander": {
|
||||||
"version": "3.0.2",
|
"version": "3.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/commander/-/commander-3.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/commander/-/commander-3.0.2.tgz",
|
||||||
@@ -6864,9 +6843,9 @@
|
|||||||
"integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw="
|
"integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw="
|
||||||
},
|
},
|
||||||
"cashaddrjs": {
|
"cashaddrjs": {
|
||||||
"version": "0.3.11",
|
"version": "0.3.12",
|
||||||
"resolved": "https://registry.npmjs.org/cashaddrjs/-/cashaddrjs-0.3.11.tgz",
|
"resolved": "https://registry.npmjs.org/cashaddrjs/-/cashaddrjs-0.3.12.tgz",
|
||||||
"integrity": "sha512-TXbSJVCPa5ER9jRId0S1ZgxvAqLYowciCpgzDC66hYarQKeDRZ5wvjAa8xKPZwLEDI8t5fBL3f8PyPzz7PoMnA==",
|
"integrity": "sha512-GdjCYMVwd86HXcFcxyEZQLPLFv8a/u0ccYPsO0PpnUW26LhZzHX9l9QA+DjaeUah7tnebwPs33NWDbbUy8iVYQ==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"big-integer": "1.6.36"
|
"big-integer": "1.6.36"
|
||||||
},
|
},
|
||||||
@@ -11731,6 +11710,15 @@
|
|||||||
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz",
|
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz",
|
||||||
"integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw=="
|
"integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw=="
|
||||||
},
|
},
|
||||||
|
"bindings": {
|
||||||
|
"version": "1.5.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
|
||||||
|
"integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
|
||||||
|
"optional": true,
|
||||||
|
"requires": {
|
||||||
|
"file-uri-to-path": "1.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"blob": {
|
"blob": {
|
||||||
"version": "0.0.4",
|
"version": "0.0.4",
|
||||||
"resolved": "https://registry.npmjs.org/blob/-/blob-0.0.4.tgz",
|
"resolved": "https://registry.npmjs.org/blob/-/blob-0.0.4.tgz",
|
||||||
@@ -13798,6 +13786,12 @@
|
|||||||
"object-assign": "^4.0.1"
|
"object-assign": "^4.0.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"file-uri-to-path": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
|
||||||
|
"integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
"filename-regex": {
|
"filename-regex": {
|
||||||
"version": "2.0.1",
|
"version": "2.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz",
|
||||||
@@ -13989,6 +13983,16 @@
|
|||||||
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
||||||
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
|
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
|
||||||
},
|
},
|
||||||
|
"fsevents": {
|
||||||
|
"version": "1.2.13",
|
||||||
|
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz",
|
||||||
|
"integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==",
|
||||||
|
"optional": true,
|
||||||
|
"requires": {
|
||||||
|
"bindings": "^1.5.0",
|
||||||
|
"nan": "^2.12.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
"fstream": {
|
"fstream": {
|
||||||
"version": "1.0.12",
|
"version": "1.0.12",
|
||||||
"resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz",
|
"resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz",
|
||||||
@@ -19753,6 +19757,7 @@
|
|||||||
"requires": {
|
"requires": {
|
||||||
"anymatch": "~3.1.1",
|
"anymatch": "~3.1.1",
|
||||||
"braces": "~3.0.2",
|
"braces": "~3.0.2",
|
||||||
|
"fsevents": "~2.1.2",
|
||||||
"glob-parent": "~5.1.0",
|
"glob-parent": "~5.1.0",
|
||||||
"is-binary-path": "~2.1.0",
|
"is-binary-path": "~2.1.0",
|
||||||
"is-glob": "~4.0.1",
|
"is-glob": "~4.0.1",
|
||||||
@@ -19769,6 +19774,12 @@
|
|||||||
"to-regex-range": "^5.0.1"
|
"to-regex-range": "^5.0.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"fsevents": {
|
||||||
|
"version": "2.1.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz",
|
||||||
|
"integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
"glob-parent": {
|
"glob-parent": {
|
||||||
"version": "5.1.1",
|
"version": "5.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz",
|
||||||
@@ -27012,9 +27023,9 @@
|
|||||||
"integrity": "sha512-zd6KCAyXgmq6FV1mR10oKXYtvmA9vRoB6xPSTUJTbFApCtkefDnYueVR1gkof3KcdLZo1Y8mjF2DFmQMIxsHNQ=="
|
"integrity": "sha512-zd6KCAyXgmq6FV1mR10oKXYtvmA9vRoB6xPSTUJTbFApCtkefDnYueVR1gkof3KcdLZo1Y8mjF2DFmQMIxsHNQ=="
|
||||||
},
|
},
|
||||||
"minimal-slp-wallet": {
|
"minimal-slp-wallet": {
|
||||||
"version": "1.3.1",
|
"version": "1.3.3",
|
||||||
"resolved": "https://registry.npmjs.org/minimal-slp-wallet/-/minimal-slp-wallet-1.3.1.tgz",
|
"resolved": "https://registry.npmjs.org/minimal-slp-wallet/-/minimal-slp-wallet-1.3.3.tgz",
|
||||||
"integrity": "sha512-M1zl7Xj89wBsAbcpiwO6CvCstjkBeOM8D3v51twqUuZD+lkOHeCyVBRYI+oEzsELTkVA4vi4yCRQO7uv1vrzYg==",
|
"integrity": "sha512-D8B4ialvnpgJlNlYKrvHlvclqKB38qIwgdypHcawLK25Imhc1YCs/pB7YKRQuAVWx8Kfs2R/Cxl0CfUt5GGfYA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@chris.troutner/bch-js": "3.3.0",
|
"@chris.troutner/bch-js": "3.3.0",
|
||||||
"apidoc": "^0.23.0",
|
"apidoc": "^0.23.0",
|
||||||
@@ -29694,13 +29705,7 @@
|
|||||||
"version": "github:Bitcoin-com/pushdata-bitcoin#9b75eebe597853c6eeaec3e6c44b6d9c9cd7ee86",
|
"version": "github:Bitcoin-com/pushdata-bitcoin#9b75eebe597853c6eeaec3e6c44b6d9c9cd7ee86",
|
||||||
"from": "github:Bitcoin-com/pushdata-bitcoin#1.2.1",
|
"from": "github:Bitcoin-com/pushdata-bitcoin#1.2.1",
|
||||||
"requires": {
|
"requires": {
|
||||||
"bitcoincash-ops": "github:Bitcoin-com/bitcoincash-ops#2.0.0"
|
"bitcoincash-ops": "github:christroutner/bitcoincash-ops"
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"bitcoincash-ops": {
|
|
||||||
"version": "github:Bitcoin-com/bitcoincash-ops#6ab82cc7326c67236f3b2d9d0457258ac2ef48e3",
|
|
||||||
"from": "github:Bitcoin-com/bitcoincash-ops#2.0.0"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"q": {
|
"q": {
|
||||||
|
|||||||
+1
-1
@@ -15,7 +15,7 @@
|
|||||||
"gatsby-plugin-sharp": "^2.6.9",
|
"gatsby-plugin-sharp": "^2.6.9",
|
||||||
"gatsby-source-filesystem": "^2.3.8",
|
"gatsby-source-filesystem": "^2.3.8",
|
||||||
"gatsby-transformer-sharp": "^2.5.3",
|
"gatsby-transformer-sharp": "^2.5.3",
|
||||||
"minimal-slp-wallet": "^1.3.1",
|
"minimal-slp-wallet": "1.3.3",
|
||||||
"prop-types": "^15.7.2",
|
"prop-types": "^15.7.2",
|
||||||
"react": "^16.12.0",
|
"react": "^16.12.0",
|
||||||
"react-dom": "^16.12.0",
|
"react-dom": "^16.12.0",
|
||||||
|
|||||||
@@ -48,6 +48,7 @@ class NewWallet extends React.Component {
|
|||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
async createWallet() {
|
async createWallet() {
|
||||||
try {
|
try {
|
||||||
const bchWalletLib = new _this.BchWallet()
|
const bchWalletLib = new _this.BchWallet()
|
||||||
|
|||||||
Reference in New Issue
Block a user