Skip to content

Withdraw issues #27

Description

@function0xMarki

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions