Related to issues #24 and #25.
!withdraw: Same problem as not adding the [chain] argument.
After displaying the balances in the "UTXO and NEVM" chains, the !withdraw command takes no arguments, and therefore can only be withdrawn by the default "UTXO" chain.
-
One option would be to add the need to apply a [chain] argument for the user to decide which wallet in the chain they want to withdraw funds from.
-
The ideal solution would be that the [address] argument could be parsed;
If the argument starts with 0x {
the bot executes the transaction on the NEVM chain;
} else if it starts with sys1 {
it executes the transaction on the UTXO chain;
} in case none of the cases are met {
return an error message that the address is wrong;
}
Related to issues #24 and #25.
!withdraw: Same problem as not adding the [chain] argument.
After displaying the balances in the "UTXO and NEVM" chains, the !withdraw command takes no arguments, and therefore can only be withdrawn by the default "UTXO" chain.
One option would be to add the need to apply a [chain] argument for the user to decide which wallet in the chain they want to withdraw funds from.
The ideal solution would be that the [address] argument could be parsed;
If the argument starts with 0x {
the bot executes the transaction on the NEVM chain;
} else if it starts with sys1 {
it executes the transaction on the UTXO chain;
} in case none of the cases are met {
return an error message that the address is wrong;
}