Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Withdraw issues #27

Open
function0xMarki opened this issue Oct 10, 2022 · 0 comments
Open

Withdraw issues #27

function0xMarki opened this issue Oct 10, 2022 · 0 comments

Comments

@function0xMarki
Copy link

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;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant