From a142906bd1cb5e6c218f201df3b13753adf12a1f Mon Sep 17 00:00:00 2001 From: Daniel Gonzalez Date: Mon, 17 Jan 2022 13:18:05 -0400 Subject: [PATCH] feat(token): Integrate token-creation plugin into wallet.fullstack.cash --- gatsby-config.js | 4 +++- package.json | 1 + .../components/menu-components.js | 10 ++++++++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/gatsby-config.js b/gatsby-config.js index ae77587..0556295 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -16,7 +16,9 @@ module.exports = { // } // }, // require.resolve('/home/trout/work/psf/gatsby-plugin-bch-sweep') - 'gatsby-plugin-bch-sweep' + 'gatsby-plugin-bch-sweep', + 'gatsby-plugin-bch-create-token' + ], // https://www.gatsbyjs.com/docs/reference/release-notes/v2.28/#feature-flags-in-gatsby-configjs flags: { diff --git a/package.json b/package.json index 211c95c..8e80294 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "@capacitor/cli": "^2.4.6", "@capacitor/core": "^2.4.6", "gatsby": "^4.4.0", + "gatsby-plugin-bch-create-token": "^1.1.1", "gatsby-plugin-bch-sweep": "^1.5.5", "gatsby-theme-bch-wallet": "^1.1.2" }, diff --git a/src/gatsby-theme-bch-wallet/components/menu-components.js b/src/gatsby-theme-bch-wallet/components/menu-components.js index 1edaa16..88b2ea1 100644 --- a/src/gatsby-theme-bch-wallet/components/menu-components.js +++ b/src/gatsby-theme-bch-wallet/components/menu-components.js @@ -16,6 +16,7 @@ import SendReceive from 'gatsby-theme-bch-wallet/src/components/admin-lte/send-r import About from '../../about' import Sweep from 'gatsby-plugin-bch-sweep/src/components/sweep/index' +import CreateToken from 'gatsby-plugin-bch-create-token/src/components/create-token' const { Item } = Sidebar @@ -40,7 +41,7 @@ const MenuComponents = props => { { key: 'Sweep', component: , - menuItem: + menuItem: }, { key: 'Wallet', @@ -48,6 +49,11 @@ const MenuComponents = props => { // component: , menuItem: }, + { + key: 'Create Token', + component: , + menuItem: + }, { key: 'Configure', component: , @@ -56,7 +62,7 @@ const MenuComponents = props => { { key: 'About', component: , - menuItem: + menuItem: } ] }