Releases: movnetwork/swap
Releases · movnetwork/swap
⇋ v0.5.0
New
-
Add Normal transaction
, solver
and signature
for all blockchain providers including ERC20
and XRC20
token standards.
-
Add Ethereum Hash Time Lock Contract HTLC-ERC20
token standard protocol.
- Add XinFin Hash Time Lock Contract
HTLC-XRC20
token standards protocol.
- Add
wallet.erc20_balance
, rpc.get_erc20_balance
, rpc.get_erc20_decimals
, and utils.get_erc20_data
functions on Ethereum provider.
- Add
wallet.xrc20_balance
, rpc.get_xrc20_balance
, rpc.get_xrc20_decimals
, and utils.get_xrc20_data
functions on XinFin provider.
Improvements
- Drop
from_root_xprivate_key
function from Bitcoin, Ethereum and XinFin wallets.
- Upgrade Solidity compiler of Ethereum and XinFin HTLC's Smart contract scripts to the latest v0.8.10
solc
package.
- Change
decode_raw
and submit_raw
functions transaction_raw param to raw of Ethereum and XinFin providers.
Dependencies
- Bump Web3 from v5.19.0 to v5.25.0 package.
- Bump Py-Solc-X from v1.1.0 to x1.1.1 package
- Bump HDWallet from v1.3.1 to v2.0.1 package.
⇋ v0.4.2 Alpha 3
v0.4.2a3
Bump: Swap from v0.4.1 to v0.4.2a3 alpha-3 package.
⇋ v0.4.1
New
- Add XinFin Testnet (Apothem) network.
New/Updated HTLC Contract Addresses
Network |
Contract Addresses |
Mainnet |
None |
Ropsten |
0xE5cb615899436A490dBde26d7880A0C2502Fc676 |
Kovan |
0xB00370e1F88C86Ef6Fc81B380E0c7fC1dcbceD17 |
Rinkeby |
0x126C40bf42b566e3513b1599f78070B3962f7114 |
Testnet |
None |
Network |
Contract Addresses |
Mainnet |
xdc656869af3Ec1E8b2982Fc370A0526541C0Ceb90B |
Apothem |
xdcDe5109BB09C1bC6dE7Ea7c856D4abf4Be99D824b |
Testnet |
None |
Improvements
- Change Ethereum provider
amount_unit_converter
function from unit
to unit_from
parameter.
⇋ v0.4.0
New Cryptocurrencies
Network |
Contract Addresses |
Mainnet |
None |
Ropsten |
0xE5cb615899436A490dBde26d7880A0C2502Fc676 |
Kovan |
None |
Rinkeby |
None |
Testnet |
None |
- Add XinFin
XDC
blockchain network.
Network |
Contract Addresses |
Mainnet |
xdc656869af3Ec1E8b2982Fc370A0526541C0Ceb90B |
Testnet |
None |
New
- Add
get_current_timestamp
function on swap.utils
package.
- Add
estimate_endblock
function by timestamp on swap.providers.bytom.utils
and swap.providers.vapor.utils
packages.
Improvements
- Change all Transaction, Solver, and Signature
Claim
to Withdraw
class names.
- Now, Bitcoin Time-Locked, changed from expiration block (sequence) to expiration timestamp.
- Drop Normal Transaction, Solver, and Signature from all providers.
- Removed
MAX
amount parameter from all transaction build functions.
- Change all providers
amount_unit_converter
function from unit
to unit_from
parameter.
Dependencies
- Add PyXDC v0.1.1 package to interact with XinFin network.
- Add Web3 v5.19.0 package to interact with Ethereum and XinFin networks.
- Add Py-Solc-X v1.1.0 package and Solc for Solidity language compiler.
- Bump HDWallet from v0.2.0 to v1.3.1 package
⇋ v0.4.0 Alpha 1
v0.4.0a1
Bump: Swap package to v0.3.2 Alpha 3
⇋ v0.3.2 Alpha 2
New
- Add address hash type parameter for all
is_address
functions to checking detail p2pkh
, p2skh
, p2wpkh
or p2wsh
address types.
- Add amount unit parameter for all
build_transaction
functions to convert amount and fee.
⇋ v0.3.2 Alpha 1
New
- Add more
is_entropy
, get_entropy_strength
, get_mnemonic_strength
, entropy_to_mnemonic
, and mnemonic_to_entropy
functions on swap.utils
package.
- Add
max_amount
for all Fund Transactions providers.
⇋ v0.3.1
New
- Now, You can build Normal Transaction for all cryptocurrencies,
swap.providers.cryptocurrency.transaction.NotmalTransaction
class.
- Add
MAX-Amount
withdraw/refund parameter option for all Claim Transaction and Refund Transaction classes.
Improvements
- When building Claim and Refund transactions the fee is paid from
Recipient/Sender
account but now it's changed into paid from HTLC
contaract for both Bytom and Vapor providers.
- All amout unit converter function name changed from
amount_converter
to amount_unit_converter
function.
⇋ v0.3.0
New Cryptocurrencies
- Add Bytom sidechain protocol (Vapor Blockchain)
New
- Add Default derivation indexes and paths for all HDWallets.
- Add UTXO's finder for Wallet and HTLC contracts.
- Now, You can estimate Bytom and Vapor transaction fee.
Dependencies
- Bump PyBytom from v1.4.0 to v1.5.4
- Add Vapor Blockcenter API, Blockmeta API, and Vapor-Core Wallet
- Change Python-HDWallet to HDWallet
⇋ v0.3.0 Alpha 1 - Vapor protocol is now available.
New
- Bytom sidechain protocol is now available on this version.