Merge pull request #14 from Permissionless-Software-Foundation/ct-unstable

Token Sweep
This commit is contained in:
Chris Troutner
2020-09-25 07:06:37 -07:00
committed by GitHub
5 changed files with 53 additions and 13 deletions
+2 -1
View File
@@ -14,6 +14,7 @@ module.exports = {
options: { options: {
modules: ['bch-wallet-plugin-postoffice'] modules: ['bch-wallet-plugin-postoffice']
} }
} },
'gatsby-plugin-bch-sweep'
] ]
} }
+39 -11
View File
@@ -8150,6 +8150,14 @@
"resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz",
"integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=" "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40="
}, },
"copy-to-clipboard": {
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz",
"integrity": "sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw==",
"requires": {
"toggle-selection": "^1.0.6"
}
},
"copyfiles": { "copyfiles": {
"version": "2.3.0", "version": "2.3.0",
"resolved": "https://registry.npmjs.org/copyfiles/-/copyfiles-2.3.0.tgz", "resolved": "https://registry.npmjs.org/copyfiles/-/copyfiles-2.3.0.tgz",
@@ -22202,11 +22210,12 @@
} }
}, },
"gatsby-ipfs-web-wallet": { "gatsby-ipfs-web-wallet": {
"version": "1.9.14", "version": "1.9.18",
"resolved": "https://registry.npmjs.org/gatsby-ipfs-web-wallet/-/gatsby-ipfs-web-wallet-1.9.14.tgz", "resolved": "https://registry.npmjs.org/gatsby-ipfs-web-wallet/-/gatsby-ipfs-web-wallet-1.9.18.tgz",
"integrity": "sha512-TrEW+kce5fP7AwFEjNCi9e2hpYvkKEblstyVxr9kl7JsCZlYDicpTNEtiesBkLDGKUuIE2Fi2K5EWvNpy43BBQ==", "integrity": "sha512-Oh9tiWqomgBHWjj97FgHr/qJgz4HLU/O8CUDGmBsJQfTVmfNd4jqbZPmKML1EWcnXff3no3IiiLw2gtmrCsgNQ==",
"requires": { "requires": {
"adminlte-2-react": "^0.1.27", "adminlte-2-react": "^0.1.27",
"copy-to-clipboard": "^3.3.1",
"gatsby": "^2.23.7", "gatsby": "^2.23.7",
"gatsby-image": "^2.4.5", "gatsby-image": "^2.4.5",
"gatsby-plugin-ipfs": "^2.0.2", "gatsby-plugin-ipfs": "^2.0.2",
@@ -22216,7 +22225,7 @@
"gatsby-plugin-sharp": "^2.6.17", "gatsby-plugin-sharp": "^2.6.17",
"gatsby-source-filesystem": "^2.3.8", "gatsby-source-filesystem": "^2.3.8",
"gatsby-transformer-sharp": "2.5.3", "gatsby-transformer-sharp": "2.5.3",
"memo-get-gatsby": "^1.0.2", "memo-get-gatsby": "^1.0.4",
"prop-types": "^15.7.2", "prop-types": "^15.7.2",
"qrcode.react": "^1.0.0", "qrcode.react": "^1.0.0",
"react": "^16.12.0", "react": "^16.12.0",
@@ -22267,6 +22276,14 @@
} }
} }
}, },
"gatsby-plugin-bch-sweep": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/gatsby-plugin-bch-sweep/-/gatsby-plugin-bch-sweep-1.2.2.tgz",
"integrity": "sha512-s4xSKqFuEudYX+FcECMVTd9Soo98eOYbsF0w5HQLrNIJv8Uk/xBfTb8vkOikm03HrcOZIrbVm7+hFZoUb0WN9Q==",
"requires": {
"adminlte-2-react": "^0.1.27"
}
},
"gatsby-plugin-compile-es6-packages": { "gatsby-plugin-compile-es6-packages": {
"version": "2.1.0", "version": "2.1.0",
"resolved": "https://registry.npmjs.org/gatsby-plugin-compile-es6-packages/-/gatsby-plugin-compile-es6-packages-2.1.0.tgz", "resolved": "https://registry.npmjs.org/gatsby-plugin-compile-es6-packages/-/gatsby-plugin-compile-es6-packages-2.1.0.tgz",
@@ -22371,9 +22388,9 @@
} }
}, },
"gatsby-plugin-manifest": { "gatsby-plugin-manifest": {
"version": "2.4.30", "version": "2.4.31",
"resolved": "https://registry.npmjs.org/gatsby-plugin-manifest/-/gatsby-plugin-manifest-2.4.30.tgz", "resolved": "https://registry.npmjs.org/gatsby-plugin-manifest/-/gatsby-plugin-manifest-2.4.31.tgz",
"integrity": "sha512-ZcQcQRH/VNomRKlOPH/HkwzzJM0XmXw5egYYsVjf8TMtZka3/FDZucIGTeTLv7FZwdMSF2sGJrHU+nx3PrhCUQ==", "integrity": "sha512-ZhyeYIWeyYnQfnw0OTVg4LDj1AECQwLbodTqTGOQCRWJADuigS4RRu7R0dpHW5EFD/iRphTDEEgOISisJiwJcg==",
"requires": { "requires": {
"@babel/runtime": "^7.11.2", "@babel/runtime": "^7.11.2",
"gatsby-core-utils": "^1.3.20", "gatsby-core-utils": "^1.3.20",
@@ -27013,9 +27030,9 @@
"integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g="
}, },
"memo-get-gatsby": { "memo-get-gatsby": {
"version": "1.0.2", "version": "1.0.4",
"resolved": "https://registry.npmjs.org/memo-get-gatsby/-/memo-get-gatsby-1.0.2.tgz", "resolved": "https://registry.npmjs.org/memo-get-gatsby/-/memo-get-gatsby-1.0.4.tgz",
"integrity": "sha512-oGmKuwRC4oy43pZoiBGF9nQPDeB6xh4YhDm2+LpubaoTdpjw4sr/3bXege8CMj4uIY0/hbiMyaOMZr1we/pkAw==", "integrity": "sha512-9RtDJqBksHbI/a6CAZSHXpbs0UsMJJgJ/sYrlgXDwQ00eKsPrbAUGC5cNz69DTmTFNQmA5HOXJXq6RNK6d7K4Q==",
"requires": { "requires": {
"@chris.troutner/bch-js": "3.2.1" "@chris.troutner/bch-js": "3.2.1"
} }
@@ -33601,7 +33618,13 @@
"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:christroutner/bitcoincash-ops" "bitcoincash-ops": "github:Bitcoin-com/bitcoincash-ops#2.0.0"
},
"dependencies": {
"bitcoincash-ops": {
"version": "github:Bitcoin-com/bitcoincash-ops#6ab82cc7326c67236f3b2d9d0457258ac2ef48e3",
"from": "github:Bitcoin-com/bitcoincash-ops#2.0.0"
}
} }
}, },
"q": { "q": {
@@ -38458,6 +38481,11 @@
"repeat-string": "^1.6.1" "repeat-string": "^1.6.1"
} }
}, },
"toggle-selection": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz",
"integrity": "sha1-bkWxJj8gF/oKzH2J14sVuL932jI="
},
"toidentifier": { "toidentifier": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz",
+2 -1
View File
@@ -21,7 +21,8 @@
"dependencies": { "dependencies": {
"bch-wallet-plugin-postoffice": "Permissionless-Software-Foundation/bch-wallet-plugin-postoffice#ct-unstable", "bch-wallet-plugin-postoffice": "Permissionless-Software-Foundation/bch-wallet-plugin-postoffice#ct-unstable",
"gatsby": "^2.23.7", "gatsby": "^2.23.7",
"gatsby-ipfs-web-wallet": "^1.9.14", "gatsby-ipfs-web-wallet": "^1.9.18",
"gatsby-plugin-bch-sweep": "^1.2.2",
"gatsby-plugin-compile-es6-packages": "^2.1.0" "gatsby-plugin-compile-es6-packages": "^2.1.0"
}, },
"repository": { "repository": {
@@ -9,10 +9,17 @@
import React from 'react' import React from 'react'
import { Sidebar } from 'adminlte-2-react' import { Sidebar } from 'adminlte-2-react'
import About from '../../about' import About from '../../about'
import Sweep from 'gatsby-plugin-bch-sweep/src/components/sweep'
const { Item } = Sidebar const { Item } = Sidebar
const MenuComponents = [ const MenuComponents = [
{
key: 'Sweep',
// component: <><p>test</p></>,
component: <Sweep key='Sweep' />,
menuItem: <Item icon='fas-cog' key='Sweep' text='Sweep' />
},
{ {
key: 'About', key: 'About',
component: <About />, component: <About />,
+3
View File
@@ -18,6 +18,9 @@ export default function HTML (props) {
{/* minimal-slp-wallet-web */} {/* minimal-slp-wallet-web */}
<script src='https://unpkg.com/minimal-slp-wallet-web' /> <script src='https://unpkg.com/minimal-slp-wallet-web' />
{/* bch-token-sweep */}
<script src='https://unpkg.com/bch-token-sweep' />
{props.headComponents} {props.headComponents}
</head> </head>
<body {...props.bodyAttributes}> <body {...props.bodyAttributes}>