DefichainPython v3.0.0
Release v3.0.0 of the DefichainPython Library! 馃殌馃殌馃殌
Version 3.0.0 of the DefichainPython library is finally released and is available on PyPi. You can install it using just this line of code:
pip install defichain -UThe new update brings some really cool new features:
- Implementation of new ocean API endpoints: Governance and Consortium
- Possibility to encrypt your wallet and store it
- Possibility to create your own RawTransactions (also known as Custom Transaction and DefiTransaction). For more information follow this explanation: Basic Usage Of Transactions Builder
Already implemented RawDefiTransactions:
- UtxosToAccount
- AccountToUtxos
- AccountToAccount
- hex_data
- str_data
- Vote
- TakeLoan
- PayBackLoan
- CreateMasternode
- ResignMasternode
- UpdateMasternode
- PoolSwap
- CompositSwap
- AddPoolLiquidity
- RemovePoolLiquidity
- send
- sendall
- sendmany
- CreateVault
- DepositToVault
- WithdrawFromVault
What has changed in the code?
Improvements
- Set wallet as default if only one wallet available by @eric-volz in #64
- Improve RPC by @eric-volz in #70
- Change base url of testnet by @eric-volz in #80
- Rework Documentation by @eric-volz in #94
- Sitemap for docs by @eric-volz in #97
New Implementations
- New ocean governance and consortium methods by @eric-volz in #69
- Encryption of hdwallet by @eric-volz in #83
RawTransactions
- Raw Transactions by @eric-volz in #67
- New signing process by @eric-volz in #71
- Add builder for data by @eric-volz in #76
- New Method: Send Many for utxo by @eric-volz in #78
- Nextv3.0.0b2 by @eric-volz in #79
- Implement signing of P2PKH address type by @eric-volz in #81
- Add DefiTx: UpdateMasternode by @eric-volz in #82
- Improve documentation for transaction builder by @eric-volz in #100
Tests
- Test for address by @eric-volz in #73
- Adjust GitHub Actions for transaction tests by @eric-volz in #74
- Test for utils by @eric-volz in #75
- Tests for RemoteData of Transactions by @eric-volz in #84
- Tests for fees of Transactions by @eric-volz in #86
- Tests for Rawtransactions by @eric-volz in #88
- Tests for DefiTx by @eric-volz in #89
- Tests for transaction builder by @eric-volz in #103
Full Changelog: v2.3.0...v3.0.0