Skip to content

Conversation

xuelongqy
Copy link

Description

Testing instructions

Types of changes

Checklist

  • Prefix PR title with [WIP] if necessary.
  • Add tests to cover changes as needed.
  • Update documentation as needed.
  • I have read the guidelines for adding a new blockchain
  • If there is a related Issue, mention it in the description (e.g. Fixes #<issue_number> ).

memtopia and others added 30 commits August 25, 2021 16:29
添加Bitcoin testnet支持
� Conflicts:
�	src/interface/TWAnyAddress.cpp
* Add KCC Chain
* [fix] rename KCCChain
* [fix]  rename kcc chain name
* [fix] android test fail
* [fix] android TestAddress Failure
Co-authored-by: dengcheng <dengcheng@huobi.com>
Co-authored-by: Dale Deng <>
* Updated Shelley address handling prototype

* Cleanup, PrivateKey, HDWallet

* AddressV3: cleanup, update, tests

* Update PrivateKey tests

* Test data update

* Add extra address tests

* Simple signing test

* Proto file, basic frame for Signing

* Proto cleanup

* Implement transaction planning

* iOS compile fix, numerical type

* Android address derivation test update

* Add plan in SigningInput, txid in SigningOutput

* Android address test update

* iOS compile fix, numerical types

* iOS test result fix

* Cbor: Support for null

* Update explorer to cardanoscan.io

* Rework: change address and multiple private keys

* Fix staking key generation in Cardano key derivation

* Signature handling

* Add real-world transfer example

* Update iOS address test

* Swift signing test

* Swift test fix

* Swift fix 2

* Implement AnySign

* Add Kotlin signing test

* Kotlin test fix, imports

* AnySigner test

* Test fixes, coverage

* Coverage, Kotlin test fix

* Kotlin quick fix

* Kt fix 4

* Kt fix 5

* Minor cleanup, coverage

* Finalize amount type; cleanup

* Max amount support

* Minor, review comments

* Test cleanup

* Add test with legacy address

* Add missing initializations to AddressV3

* Sending from/to legacy tests

* Case for inputs with tokens, treat as error

* AnyPlan support
rsrbk and others added 29 commits May 18, 2022 08:51
* Add evmos to registry
* Update registry.md
* Update AnyAddress.h
* evmos integration for cosmos
* using new address generation method
* Add tests for address generation, add to AnyAddress
* Entry is based on Cosmos Entry.
* Add kotlin AnyAddress test
* Fix native evmos public key
* Rename the rest of EvmosZone occurences to NativeEvmos
* Add ethermint keys proto
* Fix native evmos node
* Fix native evmos hash, add transfer test
Co-authored-by: catenocrypt <13562139+catenocrypt@users.noreply.github.com>
Co-authored-by: hewigovens <360470+hewigovens@users.noreply.github.com>
* Replace [WIP] with draft pull request
* Update .github/PULL_REQUEST_TEMPLATE.md
Co-authored-by: Adam V <13562139+catenocrypt@users.noreply.github.com>
* List Tokenary as a project using WalletCore
* Add NEAR function call transactions serialization
* Explicitly cast bytes size to uint32_t
* init emsdk env if needed, remove unnecessary macOS patch
* Add react sample link
* Update samples/wasm/README.md
Co-authored-by: Adam V <13562139+catenocrypt@users.noreply.github.com>
…ed (trustwallet#2233)

* Change coin dispatching to be blockchain-based as opposed to coin-based

* Remove coinTypes() from all Entry classes, they were not used

* Add custom blockchainID for 8 coin types (Decred, Groestlcoin, Zcash, Zelcash, NativeEvmos, Thorchain, Ronin, Kusama)

* Merge Zelcash blockchain type into Zcash (same implementation)
* Support token transfer
* Output/fee fixes; token transfer test
* Extra token transfer test (real-world, not max amount)
* Fix for max amount / token case
* Add force_fee option
* Add logic for computing minUtxoAmount
* Expose TWCardanoMinAdaAmount over C iface
* More readable minAdaAmount() implementation
* More comments in proto
* Add swift test
* Add Kotlin test
* Text expansion, coverage
* Algo optimization, minor, review
* Adjust fee computation, increase and simpify extra
* Move helper for MinAmount from test to prod
* Swift test: Reorder steps
* Kotlin test: include minAmount invocation
…ustwallet#2241)

* Generalize Cosmos address to support alternative pubkey hash, from config; merge native Evmos implementation with Cosmos
* Remove direct Trezor header
* Add publickKeyHasher to Ethereum-type network as well in registry (keccak256)
* Introduce Hasher enum, in CoinInfoData include enums instead of pointers
* Introduce new field in registry.json: addressHasher, used by Cosmos
* Additional hash tests (coverage)
* Additional Solana AnyAddress test (coverage)
* Add documentation on the registry.json fields
)

* Ronin: normalize address to checksummed format (EIP55)

* Update test result in Swift test
…rustwallet#2254)

* Introduce Hasher enum, in CoinInfoData include enums instead of pointers
* Hasher refactoring, prefer enums over functions
* Post-merge cleanup
* Re-add registry-fields, lost in merge
* Rename enum (review)
* Use constexpr constructor to avoid `may throw during initialization storage`
* Make getFeeCalculator const
* Turn the default calculator constexpr
* Use C++17 inline variable for global value and give more readability
* Turn deprecated usage of virtual in an override function
* Use appropriately final when needed.
* don't use c-cast as they imply a try of const-cast
* improvements(bitcoin_fee_calculator): remove unnecessary consts
* constexpr implies const on non reference expression
* Update src/Bitcoin/FeeCalculator.h
* format(bitcoin_fee_calculator): upgrade .clang-format
* Use `IndentAccessModifiers: false` and `AccessModifierOffset: -4`
* improvements(bitcoin_fee_calculator): remove unnecessary comment
Co-authored-by: Adam V <13562139+catenocrypt@users.noreply.github.com>
* Update Aurora explorer, symbol
* consolidate ETH symbols
Co-authored-by: hewigovens <360470+hewigovens@users.noreply.github.com>
* ChillAndUnbond for Polkadot
* Update Extrinsic.cpp
* Update PolkadotTests.swift
* update tests
* Fix test build error
Co-authored-by: hewigovens <360470+hewigovens@users.noreply.github.com>
…t#2258)

* Add ChainId to registry.json, can be obtained dynamically, deprecate enum
* Adapt newcoin generation to new dispatcher (trustwallet#2233); CoinTypeTest generator cleanup
* Adjust chainIds, field documentation, and chainId in some tests
* Split in 2 generated files
* Remove duplicate entry, skip deprecated chains
* Fix enum parsing by adding numbering
* Duplicate symbol fix
* compatible with old TWEthereumChainID
Co-authored-by: hewigovens <360470+hewigovens@users.noreply.github.com>
…llet#2279)

* revert split apk, update compileSdkVersion version
* update compileSdkVersion
* EOS date handling fix
* Replace never-triggered exception with assert
* Try reverting Android build changes
* switch by blockchain first
* Add missing vechain/theta/aion
* review comments
* improvements(cashaddress): modernize code
- Use inline variable instead of static const variable when possible
- noexcept
- refactor to respect DRY idiom
- use nodiscard for functions that should use their result
- do not use `strncmp` - use `string::compare` instead
- use braces initializer to initialize a variable
- use for the prefix a version and a switch case instead of if/elseif
- use .front/.back instead of accessing array index

* improvements(cashaddress): modernize code
- noexceptness

* Update src/Bitcoin/CashAddress.cpp
* Add Moonriver chain
* Add Moonbeam chain
* Add test for Moonriver and Moonbeam
@memtopia memtopia merged commit 274e4cd into memtopia:master Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.