trezor / omni-trezor

OMNI Wallet for Trezor
https://trezor.github.io/omni-trezor
MIT License
7 stars 9 forks source link

"Output change script_type should be set to PAYTOADDRESS", code: "Method_InvalidParameter" #2

Open iRaiseTheBar opened 3 years ago

iRaiseTheBar commented 3 years ago

When trying to send an omni transaction the following error appears:

"There was an issue completing the transaction, see the console for details". In the console, the following error is being logged:

"Output change script_type should be set to PAYTOADDRESS", code: "Method_InvalidParameter"

Transaction comes from a Trezor T 2.4.0

autonomi-community commented 2 years ago

Try this:

  1. Open Electrum (v4.1.1.)
  2. Create new wallet
  3. Use your hardware device
  4. Choose legacy (p2pkh)
  5. Go to “Tools” menu
  6. Open the “Preferences” dialog
  7. Switch to the “Transactions” tab
  8. Uncheck the option “Use change addresses”
  9. Enabled the tab for addresses in the “View” menu
  10. Select the address where the MAID tokens are located
  11. Right-clicking on the address and choose “Spend from” in the menu
  12. Go to the Send tab
  13. In the "Pay to" put your OP_RETURN data generated at https://trezor.github.io/omni-trezor/
  14. Put a comma after the omni data and 0 - example: OP_RETURN YourOmniDataFromTrezor.Github.io, 0
  15. On a new line, enter the address to which you are sending MAID
  16. Put a comma after the recipient address and 0.00000546 BTC example: 1*****theRecipientAddress, 0.00000546
  17. Note that the recipient must be a 1… or a 3… address, bech32 addresses starting with “bc1” are not supported by the Omni protocol