handshake-org/hs-airdrop

After airdrop claim balance still 0

adhocore opened this issue ยท 11 comments

i followed https://handshake.org/claim/ and after running hs-airdrop --bare ... and then hsd-cli rpc sendrawairdrop without any error,
hsw-cli balance shows

{
  "account": -1,
  "tx": 0,
  "coin": 0,
  "unconfirmed": 0,
  "confirmed": 0,
  "lockedUnconfirmed": 0,
  "lockedConfirmed": 0
}

even after 4 days.

i might have missed something. please suggest, thank you.

Is your hsd node fully synced? hsd-cli info look for progress: ....

thank you, it is 0.966, does it have to be 1 when done?

edit: now it is

{
  "account": -1,
  "tx": 1,
  "coin": 1,
  "unconfirmed": 4246894314,
  "confirmed": 4246894314,
  "lockedUnconfirmed": 0,
  "lockedConfirmed": 0
}

wondering what "account": -1 means, thank you

Hooray! Yes, progress: 1 is 100%, fully synced. Account -1 means you are seeing the balance for ALL accounts in your wallet. You can also request to see data about individual accounts: https://hsd-dev.org/api-docs/#get-balance

Thanks for asking this question, it's a FAQ so I'm going to leave it open -- sync your node before checking your balance!

great, thank you. one more question if you don't mind, is bidding on name as in claim page compulsory?

I'm not sure what you mean, you don't have to bid on a name if you don't want to. If you own a reserved name from the legacy system you can claim it without bidding using a DNSSEC proof. You can join us on telegram https://t.me/hns_tech or IRC (freenode/libera) #handshake for more interactive support ;-)

Progress 100%, account balance -1, nothing in my wallet.

The ./bin/hsd-cli info

"chain": {
    "height": 81824,
    "tip": "00000000000000007c89e2e5fb5ab1dd5b44c60b0504f913226b3d46e9366539",
    "treeRoot": "bda689b0cfa913097ccabffc0e21f73154e6fcf9df002b29fa993b420d37bd80",
    "progress": 1,
    "state": {
      "tx": 4652445,
      "coin": 3482392,
      "value": 414882997088535,
      "burned": 23116427651725
    }
  }

the ./bin/hsw-cli account get default shows balance.account: 0

"balance": {
    "account": 0,
    "tx": 0,
    "coin": 0,
    "unconfirmed": 0,
    "confirmed": 0,
    "lockedUnconfirmed": 0,
    "lockedConfirmed": 0
  }

But the ./bin/hsw-cli balance shows -1.

{
  "account": -1,
  "tx": 0,
  "coin": 0,
  "unconfirmed": 0,
  "confirmed": 0,
  "lockedUnconfirmed": 0,
  "lockedConfirmed": 0
}

The https://blockexplorer.com, shows 404 for my address hs1qpk9d9zrkcn9x9u4klv5aah0q3mme8v4ehp5q4h

edit: aah yea, there is an error on the hsd output,

[error] (node) Verification failure: bad-goosig-disabled (code=invalid score=0 hash=d70821be4ae29871ba86597cf710dc75ccb63ce947c02b9e69e59af69c60a58f)
    at Mempool.insertAirdrop (/home/ckarl/handshake/hsd-2.4.0/hsd/lib/mempool/mempool.js:1290:15)
    at Mempool._addAirdrop (/home/ckarl/handshake/hsd-2.4.0/hsd/lib/mempool/mempool.js:1252:16)
    at Mempool.addAirdrop (/home/ckarl/handshake/hsd-2.4.0/hsd/lib/mempool/mempool.js:1233:25)
    at process._tickCallback (internal/process/next_tick.js:68:7)
[warning] (node) Verification failed for proof: d70821be4ae29871ba86597cf710dc75ccb63ce947c02b9e69e59af69c60a58f.
[warning] (node) Attempting to broadcast anyway...

i'll try again later, have some ideas

@tunnckoCore you good?

#131 (comment)

welcome to handshake!

Yep. Good now :) After 3 days syncing, haha.

Thanks.

Hi, I also followed the instructions at https://handshake.org/claim/ and everything worked without errors. The public address I generated in the process is showing the right balance. The problem is, I have no idea how to import those coins into my wallet now. I only have that public address and a wallet I set up using bob-wallet. How do I get those coins into my wallet? Or do I already have another wallet and the coins are already in there? I'm confused ๐Ÿค”

Any help is appreciated @pinheadmz

@mrzool when you ran hsd for the first time, a wallet was generated for you and that's the address you got from this command: ./bin/hsw-cli account get default | grep receiveAddress

To restore this wallet in Bob, you need to restart hsd and then get the seed phrase:

hsw-cli master

https://hsd-dev.org/api-docs/#get-master-hd-key

Then you can import this seed phrase into Bob Wallet and rescan.

Thanks @pinheadmz! I ended up figuring it out yesterday, my node just needed to finish synching.

It wasn't clear to me that hsw-cli account get default | grep receiveAddress would already create a wallet, and the "account": -1, after running hsw-cli balance gave me the impression that I, in fact, didn't have one yet.

Turns out, patience is key :)