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

No reveals to redeem. #605

Closed
sugendran opened this issue May 25, 2021 · 3 comments
Closed

No reveals to redeem. #605

sugendran opened this issue May 25, 2021 · 3 comments

Comments

@sugendran
Copy link

Hi,

I thought I'd try the auction process after going through the airdrop claim process. I created an auction for sugendran (vanity name... I know and then managed missed the bid window. Am I right in thinking that all the coins were locked up in the auction creation?

When I try to do the redeem it tells me:

No reveals to redeem.

Is it possible to recover the coins that were locked up at auction creation?

@rithvikvibhu
Copy link
Member

https://hnsnetwork.com/names/sugendran

The auction had 1 bid and was revealed. Is this yours?
If yes, you won the name.

If not, then no other bid was placed so there aren't any (bid) coins locked up.

When the auction starts, there's an OPEN transaction sent, and this is locked forever. But this isn't really a problem because it has a value of 0 HNS.

@pinheadmz
Copy link
Member

@rithvikvibhu actually OPENs are spendable:

/**
* Test whether a coin should be considered
* unspendable in the coin selector.
* @returns {Boolean}
*/
isNonspendable() {
switch (this.type) {
case types.NONE:
case types.OPEN:
case types.REDEEM:
return false;
default:
return true;
}
}

but otherwise you are correct, @sugendran REDEEM is just for losing bids -- winning bids use REGISTER to set DNS records for the name, but it also sweeps the change back from the second-highest bid. In your case (with only one bid) the second highest bid is zero, so when you REGISTER this name you will get your entire reveal amount back as a change output.

@sugendran
Copy link
Author

Ah okay, I think I misunderstood the output of cli.

Will close this.

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

3 participants