-
Notifications
You must be signed in to change notification settings - Fork 24
Add NFT Transfer Option on Xahau Network using the Remit. #550
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
base: main
Are you sure you want to change the base?
Add NFT Transfer Option on Xahau Network using the Remit. #550
Conversation
@Anna15170221 please test this one too |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
requires a bit of code optimisation
components/SignForm.js
Outdated
setStatus(t('form.error.address-empty')) | ||
setFormError(true) | ||
// For regular NFT transfer offers | ||
tx.Amount = '0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is code is exactly the same as for remit, except the amount.. Please don't copy-paste the same code!
if (tx.TransactionType !== 'Remit') {
tx.Amount = '0'
}
@ihomp @pandablue0809 |
@ihomp |
@Anna15170221 can you please test again? |
@pandablue0809 @ihomp |
Issue
We need to add an option, to transfer NFT using the Remit. If destination doesn't have disallowRemitIncoming (allows remit trxs) then we can just send NFT to the destination without asking (but paying for the NFT reserve).