Skip to content

Releases: movnetwork/swap

⇋ v0.5.0

15 Dec 13:02
Compare
Choose a tag to compare

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.

Network HTLC Contract Addresses HTLC ERC20 Contract Addresses
Mainnet None None
Ropsten 0x0cc7C744f96729B7f60B12B36A4B9504191CD458 0x761c47A8dc8178d55aE14b661abf26cc0B599bc6
Kovan 0xf3c7CD43F2f87958E708E00780EBDf87292Ad37E 0x32a05649778bc96958bF804835C9e8eC9678e283
Rinkeby 0xB00370e1F88C86Ef6Fc81B380E0c7fC1dcbceD17 0xe0d3155c9DC0ADdCDA71E7ef15c689AeCC8Dfc28
Testnet None None
  • Add XinFin Hash Time Lock Contract HTLC-XRC20 token standards protocol.
Network HTLC Contract Addresses HTLC XRC20 Contract Addresses
Mainnet xdc1C2F24F4E2427aD43df9c20521B88C78A32Bafb2 xdcC8E8De7999D74bdD71e1cDC00025867F34c50b89
Apothem xdc959c04329fa6B45d0250A2315673e4F952218BdE xdc4C909fdd6c30f5B4c4d48938C161637B2767d714
Testnet None None
  • 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

20 Nov 07:38
Compare
Choose a tag to compare
⇋ v0.4.2 Alpha 3 Pre-release
Pre-release
v0.4.2a3

Bump: Swap from v0.4.1 to v0.4.2a3 alpha-3 package.

⇋ v0.4.1

06 Aug 20:01
Compare
Choose a tag to compare

New

  • Add XinFin Testnet (Apothem) network.

New/Updated HTLC Contract Addresses

  • Ethereum
Network Contract Addresses
Mainnet None
Ropsten 0xE5cb615899436A490dBde26d7880A0C2502Fc676
Kovan 0xB00370e1F88C86Ef6Fc81B380E0c7fC1dcbceD17
Rinkeby 0x126C40bf42b566e3513b1599f78070B3962f7114
Testnet None
  • XinFin
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

06 Jul 17:24
Compare
Choose a tag to compare

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 MAXamount 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

06 Jul 09:22
Compare
Choose a tag to compare
⇋ v0.4.0 Alpha 1 Pre-release
Pre-release
v0.4.0a1

Bump: Swap package to v0.3.2 Alpha 3

⇋ v0.3.2 Alpha 2

16 Jan 20:11
Compare
Choose a tag to compare
⇋ v0.3.2 Alpha 2 Pre-release
Pre-release

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

06 Jan 04:57
Compare
Choose a tag to compare
⇋ v0.3.2 Alpha 1 Pre-release
Pre-release

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

31 Dec 07:45
Compare
Choose a tag to compare

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

10 Dec 07:02
Compare
Choose a tag to compare

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.

04 Dec 12:58
Compare
Choose a tag to compare

New

  • Bytom sidechain protocol is now available on this version.