Skip to content

Allow users to buy flake with bitcoin (do before zcash and monero) #5

@TheRook

Description

@TheRook
  1. Find the current gas price and cost for Flake to Bitcoin.
  2. Check the database to make sure that this list price is totally unique, randomly generate a few satoshi to make sure it is unique.
  3. Setup a cron job to poll our wallet for new transactions, when we receive one with the exact price, we know which account purchased with bitcoin. Verification is done with an HTTP bitcion blockchain explorer to check for recent transactions on our wallet.

For bitcoin there are APIs that give us an HTTP callback when we get a new confirmed transaction for a wallet we choose:
https://www.blockchain.com/api/api_receive

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions