mirror of
https://github.com/fullstack-cash/wallet.fullstack.cash.git
synced 2026-09-21 16:52:05 -07:00
feat(sweep): Adding token sweeping to wallet
This commit is contained in:
+2
-1
@@ -14,6 +14,7 @@ module.exports = {
|
||||
options: {
|
||||
modules: ['bch-wallet-plugin-postoffice']
|
||||
}
|
||||
}
|
||||
},
|
||||
'gatsby-plugin-bch-sweep'
|
||||
]
|
||||
}
|
||||
|
||||
Generated
+8
@@ -22276,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": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/gatsby-plugin-compile-es6-packages/-/gatsby-plugin-compile-es6-packages-2.1.0.tgz",
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
"bch-wallet-plugin-postoffice": "Permissionless-Software-Foundation/bch-wallet-plugin-postoffice#ct-unstable",
|
||||
"gatsby": "^2.23.7",
|
||||
"gatsby-ipfs-web-wallet": "^1.9.18",
|
||||
"gatsby-plugin-bch-sweep": "^1.2.2",
|
||||
"gatsby-plugin-compile-es6-packages": "^2.1.0"
|
||||
},
|
||||
"repository": {
|
||||
|
||||
@@ -9,10 +9,17 @@
|
||||
import React from 'react'
|
||||
import { Sidebar } from 'adminlte-2-react'
|
||||
import About from '../../about'
|
||||
import Sweep from 'gatsby-plugin-bch-sweep/src/components/sweep'
|
||||
|
||||
const { Item } = Sidebar
|
||||
|
||||
const MenuComponents = [
|
||||
{
|
||||
key: 'Sweep',
|
||||
// component: <><p>test</p></>,
|
||||
component: <Sweep key='Sweep' />,
|
||||
menuItem: <Item icon='fas-cog' key='Sweep' text='Sweep' />
|
||||
},
|
||||
{
|
||||
key: 'About',
|
||||
component: <About />,
|
||||
|
||||
@@ -18,6 +18,9 @@ export default function HTML (props) {
|
||||
{/* 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}
|
||||
</head>
|
||||
<body {...props.bodyAttributes}>
|
||||
|
||||
Reference in New Issue
Block a user