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

"don't have enough balance" when I do #2

Open
jakswa opened this issue Dec 11, 2015 · 6 comments
Open

"don't have enough balance" when I do #2

jakswa opened this issue Dec 11, 2015 · 6 comments

Comments

@jakswa
Copy link
Contributor

jakswa commented Dec 11, 2015

First, thanks for this, and good work! Setup was really simple. This bot surfaced when I googled something close to, 'slack bitcoin bot.'

I'm receiving "You don't have enough balance" when the balance command shows that I do. I dug into the code really quick and looks like this error message might have multiple underlying meanings? I'm not sure whether I've set up something incorrectly (and it really can't find the wallets it has created), or whether it truly thinks my balance is below 1bits.

Anyways, here's my chain of events in case it helps:

  • sent transaction for main wallet during setup
  • interacted with the bot to sanity check things (at which point it created my personal wallet)
  • waited for that main transaction to finish
  • also waited for a separate transaction to finish (me manually funding my tip wallet, since it was created before the main wallet was funded)
  • verified that the balance command was returning successfully ("You've got 100 bits")
  • started doing some secret reactions to test, noticed that no transactions were being created in coinbase
  • did some manual tip <user> <amount> commands in private chat with the bot (for 10bits and 1bits) and am now getting this error message every time: You don't have enough balance for that

edit: to clarify, when I say, "noticed that no transactions were being created in coinbase," I meant that I didn't notice any tip transactions being created. During initial interactions, the wallets for new users were being created successfully and their initial 100bits were being sent succesfully

@jakswa
Copy link
Contributor Author

jakswa commented Dec 11, 2015

also, I learned that it will PM the recipient in the event of this error, which I did not expect to happen when testing late at night...

@jakswa
Copy link
Contributor Author

jakswa commented Dec 15, 2015

Since I see other issues where users are successfully using this, my best guess is that this is happening because the default balance of 100 bits isn't enough to actually send bitcoin, if there are fees being added on the transactions?

@jakswa
Copy link
Contributor Author

jakswa commented Dec 15, 2015

For example, I sent $1 between two coinbase wallets and there is a 100 bits fee added onto this transaction:
screen shot 2015-12-15 at 6 03 53 pm

@jakswa
Copy link
Contributor Author

jakswa commented Dec 15, 2015

After adding $1 to my wallet, I was able to successfully tip someone (and was not able to tip that person before the transaction completed). The default minimum balance looks to be too low.

@illuzen
Copy link

illuzen commented Dec 16, 2015

Doesn't coinbase have an off-chain micropayments api? If the bot is creating all wallets, they are all coinbase wallets and should be able to be fee-free.

@jakswa
Copy link
Contributor Author

jakswa commented Dec 20, 2015

I think you are right about fees not applying to transactions between coinbase wallets. However, multiple people have tried tipping with our tipbot and experienced this behavior. My guess that it's related to fee logic still stands, since I have no other ideas. No tipping works unless you have more than 100 bits, even if you're only trying to send 100 bits. After your wallet balance exceeds 100 bits, you must tip at least 100 bits for it to work:

screenshot from 2015-12-20 18 34 47

I don't have enough balance to send 99, but I have enough for 100? Regardless, I guess we personally discovered the reason behind things not working, and even then tipbot doesn't seem to be something we'll use, so I'm unsubbing from this issue. Feel free to close this, or leave it open to provide insight to others.

edit: to clarify, I'd say we're abandoning this due the issues described above combined with the slowness of transactions between coinbase wallets (which I kind of expected)

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

2 participants