moca_chains 1.4.3 copy "moca_chains: ^1.4.3" to clipboard
moca_chains: ^1.4.3 copied to clipboard

Chains package for Moca App. This library gives the developer common methods for interacting with chains.

1.0.0 #

  • Initial version. Ethereum, Solana and Bitcoin working

1.0.1 #

  • Changed sdk environment to 3.3.0

1.0.2 #

  • Added dependency overrides for fixing conflict with Flutter Flow

1.0.3 #

  • Changed web_socket_version to 2.4.3 version

1.1.0 #

  • Added Cacao, Rune
  • Added Maya Swaps
  • Refactoring and changed folder structure

1.1.1 #

  • Added Kujira
  • Changed tendermint to rest for swaps
  • Changed folder and variable naming

1.1.2 #

  • Added Arbitrum
  • Added getFeeEstimate for chains

1.1.3 #

  • Added ThorMsgDeposit to makeTransaction, getFeeEstimate

1.1.4 #

  • Changed affiliate_bps for maya swap
  • Added 2 extra zeros for amounts in maya swap

1.1.5 #

  • Now amount is the native unit of each chain

1.1.6 #

  • Removed extraZeros from swaps

1.1.7 #

  • Fix: removed unnecessary extra zeros in quote

1.1.8 #

  • Fix: removed unnecessary .toWei in arbitrum

1.1.9 #

  • Fix: send only sendMsgDeposit for cacao
  • Added parameter to conditionally add affiliate fee

1.1.10 #

  • Fixed hardcoded indexes for bitcoin signatures

1.1.11 #

  • Changed Maya affiliate bps

1.1.12 #

  • Take affiliate basis as parameter for swap quote

1.1.13 #

  • Fixed arbitrum chain name

1.2.0 #

  • Added depositWithExpiry and approve methods for arbitrum (ERC20) to allow swaps

1.2.1 #

  • Added dash transactions and swaps

1.2.2 #

  • Added address validation for chains

1.2.3 #

  • Fix cosmos sdk compatibility for CosmosBaseAddress

1.2.4 #

  • Added methods to handle xchain keystore
  • Fixed cosmos_sdk usage after update to 0.0.5

1.2.5 #

  • Removed dart:mirrors dependency
  • Removed redundant methods

1.2.6 #

  • Added methods to query transactions from an address

1.3.0 #

  • Added getNativeTransactionFee for thor/maya and support for history endpoints to cosmos chains and dash

1.3.1 #

  • Fixed EVM fee calculation

1.3.2 #

  • Changed transactions endpoint

1.3.3 #

  • Added repository link

1.3.4 #

  • Updated Maya Node url

1.3.5 #

  • Added a ERC20 class for tokens to handle smart contracts
  • Added uniswap functionality
  • Added support for USDC
  • Added factory class for swaps

1.3.6 #

  • Removed privateHex for swap quote

1.3.7 #

  • Added Uniswap fees response

1.3.8 #

  • Fixed lp tier calculation

1.4.0 #

  • Changed approve to be called with no transaction

1.4.1 #

  • Reverted 1.4.0 changes

1.4.2 #

  • Added scanner URL for uniswaps

1.4.3 #

  • Fixed bug on swaps. Converted amount to BigInt
1
likes
140
pub points
64%
popularity

Publisher

unverified uploader

Chains package for Moca App. This library gives the developer common methods for interacting with chains.

Repository (GitLab)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

bech32, bitcoin_base, blake2b, blockchain_utils, convert, cosmos_sdk, cryptography, dio, flutter_bitcoin, http, on_chain, pointycastle, uuid, web_socket_channel

More

Packages that depend on moca_chains