forked from trustwallet/wallet-core
-
Notifications
You must be signed in to change notification settings - Fork 1
Sync tag 2.9.4. #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
添加Bitcoin testnet支持
This reverts commit 9939f79.
� 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
* 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
…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>
* upgrade gradle and add arm64-v8a
…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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Testing instructions
Types of changes
Checklist
[WIP]
if necessary.