Skip to content

Releases: bitcart/bitcart-sdk

Version 0.6.2: critical fix

22 Sep 19:42
4cee219
Compare
Choose a tag to compare

Version 0.6.2: critical fix

Version 0.6.1 async: fix for latest daemon

22 Sep 19:39
42f1a9e
Compare
Choose a tag to compare

Version 0.6.1 async: fix for latest daemon

Version 0.6.1: fix for latest daemon

22 Sep 19:31
e618b20
Compare
Choose a tag to compare

Version 0.6.1: fix for latest daemon

Version 0.6.0 Asyncio

12 Sep 16:17
ff79cd9
Compare
Choose a tag to compare

Version 0.6.0 Asyncio
This version adds new coin: gzro to bitcart.
All APIs are the same, just import GZRO from bitcart.

Version 0.6.0

12 Sep 16:16
8d2839c
Compare
Choose a tag to compare

Version 0.6.0
This version adds new coin: gzro to bitcart.
All APIs are the same, just import GZRO from bitcart.

Version 0.5.1 Asyncio: fee calculation func now recieves default fee as argument too

08 Sep 15:54
bc2830f
Compare
Choose a tag to compare

Version 0.5.1 Asyncio: fee calculation func now recieves default fee as argument too

Version 0.5.1: fee calculation func now recieves default fee as argument too

08 Sep 15:54
7610a5c
Compare
Choose a tag to compare

Version 0.5.1: fee calculation func now recieves default fee as argument too

Version 0.5.0 Asyncio

07 Sep 19:21
d3e7790
Compare
Choose a tag to compare

Version 0.5.0 Asyncio
This version adds new coin: litecoin to bitcart.
This is where bitcart shows its features.
All APIs are the same, just import LTC from bitcart.

Version 0.5.0

07 Sep 19:20
b9c3d44
Compare
Choose a tag to compare

Version 0.5.0
This version adds new coin: litecoin to bitcart.
This is where bitcart shows its features.
All APIs are the same, just import LTC from bitcart.

Version 0.4.0 Asyncio

03 Sep 17:23
f56d910
Compare
Choose a tag to compare

Version 0.4.0 Asyncio
Full fee control and easy lightning.

Fee control:
Now you can pass fee parameter to pay_to function to specify manual fee, or
callback function like

def fee_calc(size):
    return size/4
btc.pay_to(address, amount, fee=fee_calc)

Or, use async def

async def fee_calc(size):
    result = await some_func(size)
    return result/4
btc.pay_to(address, amount, fee=fee_calc)

Getting size as argument and returning fee, it can be any function of your choice.
Another parameter, broadcast, was added. By default transaction is submitted to network, but if you set broadcast to False raw transaction will be returned. See API reference in docs for details.

Easy lightning:
Now lightning is part of btc daemon and BTC coin class, just launch the same daemon and use all lightning functions!
After upgrade, try for example, this:

>>> await btc.node_id
'030ff29580149a366bdddf148713fa808f0f4b934dccd5f7820f3d613e03c86e55'

Lightning is enabled in your daemon by default, disable it with BTC_LIGTNING=false environment variable.
If lightning is disabled, bitcart.errors.LightningDisabledError is raised.