Open jakswa opened 8 years ago
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...
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?
For example, I sent $1 between two coinbase wallets and there is a 100 bits fee added onto this transaction:
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.
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.
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:
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)
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:
balance
command was returning successfully ("You've got 100 bits")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