diff --git a/src/components/Admin.vue b/src/components/Admin.vue new file mode 100644 index 0000000..820249f --- /dev/null +++ b/src/components/Admin.vue @@ -0,0 +1,248 @@ + + + + + Minting Transaction + + + + + + + Mint to + + + + + + + + Address must be of the form e.g. usd1....xyz + + + + + + + + + + + Value of UTXO + + + + + + + + Denomination must be in form 0.00 + + + + + + + + + Number of UTXOs to Mint + + + + + + + + Amount must be a positive integer + + + + + + + + Send Mint Transaction + + + + + + {{ message }} + + + + + + + + + \ No newline at end of file diff --git a/src/components/Dashboard.vue b/src/components/Dashboard.vue index c52bfb1..cd981c5 100644 --- a/src/components/Dashboard.vue +++ b/src/components/Dashboard.vue @@ -37,6 +37,12 @@ + + + Admin + + + @@ -50,6 +56,7 @@ import CreateWallet from './CreateWallet.vue'; import Receive from './Receive.vue'; import Send from './Send.vue'; import TransactionList from './TransactionList.vue'; +import Admin from './Admin.vue'; const Pubkey = window.cbdc.Publickey; const Input = window.cbdc.Input; const Output = window.cbdc.Output; @@ -66,7 +73,7 @@ const axiosCaller = axios.create({ }); export default { - components: { Send, CreateWallet, Receive, TransactionList }, + components: { Send, CreateWallet, Receive, TransactionList, Admin }, name: 'Dashboard', props: {