moca_chains 1.5.15 copy "moca_chains: ^1.5.15" to clipboard
moca_chains: ^1.5.15 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.4.4 #

  • Implemented new transactions endpoint

1.4.5 #

  • Fixed amounts for base_types

1.4.6 #

  • Removed dash method for parsing transactions

1.4.7 #

  • Changed transaction fields to parse for EVM

1.4.8 #

  • Added Moca token to send
  • Implemented new proxy for ETH node
  • Added error handling for EVMS transactions

1.4.9 #

  • Added Moca token in BSC and Solana chains
  • Implemented JWT for rpc requests
  • Fixed swaps fees

1.4.10 #

  • Added ARB.ETH token for send and swap

1.5.0 #

  • Added thorchain swaps
  • Added support for streaming swaps

1.5.1 #

  • Added arb_eth to remove hash prefix

1.5.2 #

  • Added deposit transaction for rune in thor swaps

1.5.3 #

  • Changed to fixed dependencies

1.5.4 #

  • Added USDT
  • Fixed router address for ERC20

1.5.5 #

  • Added Cardano

1.5.6 #

  • Fixed Cardano getBalance
  • Refactored bitcoin code

1.5.7 #

  • Added memo param for cardano
  • Added excludeZeroAmount param to getTransactions method

1.5.8 #

  • Removed arb_eth from approval txn

1.5.9 #

  • Added support for USK
  • General cosmos refactor
  • Added fallback url for maya swaps
  • Added maya token

1.5.10 #

  • Implemented getBalance method
  • Implemented new Balance endpoint
  • Removed Bitcoin getBalance
  • Added depositWithExpiry for thorswaps
  • Added avax c-chain

1.5.11 #

  • Added AVAX for scanner url parser
  • Removed default memo for ethereum

1.5.12 #

  • Added spend approval reset for USDT
  • Refactored getBalance method
  • Added token symbol from tx json
  • Added ETH.USDC token
  • Added DOGE

1.5.13 #

  • Added missing symbol

1.5.14 #

  • Increased timeout
  • Changed thor identifier

1.5.15 #

  • Added validation to check whether destination address is a contract before quote and swap
2
likes
0
pub points
76%
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

License

unknown (license)

Dependencies

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

More

Packages that depend on moca_chains