Hacker News new | ask | show | jobs
by j2kun 3502 days ago
21 Inc. (where I work) has a very easy to use python library [1] allowing you to accept bitcoin payments via HTTP 402. But you can also just use the library to serve up a fresh payout address in plaintext on a website.

If you like the CLI, it has that too; it's a fully-compliant HD wallet. Getting set up is as simple as it can be

    $ curl https://21.co > setup.sh
    $ sh setup.sh
    $ wallet create
    [write down mnemonic]
    $ wallet payoutaddress
    [printed payout address]

Then you can use `wallet history` or `wallet balance` to see incoming payments, and `wallet send` to send money to a recipient.

If you like the advanced stuff, it has support for micropayment channels, too.

[1] https://github.com/21dotco/two1-python/