## [0.0.38](https://github.com/OneKeyHQ/blockchain-libs/compare/v0.0.16...v0.0.38) (2022-07-21)

### Bug Fixes

- add peerDependiency for sdk ([#58](https://github.com/OneKeyHQ/blockchain-libs/issues/58)) ([4303053](https://github.com/OneKeyHQ/blockchain-libs/commit/4303053aad6645ee725f8965379d72d8c5597aba))
- **algo:** fix suggestedParams expiration time check ([a3ecc83](https://github.com/OneKeyHQ/blockchain-libs/commit/a3ecc83f81f7256fdfc4c33c732045e2e69d58c0))
- **algo:** use js-sha512 ([df6c410](https://github.com/OneKeyHQ/blockchain-libs/commit/df6c410737fc9d5c64eac4b7096819f67367b5d1))
- avoid using bigint for now ([ed2aa05](https://github.com/OneKeyHQ/blockchain-libs/commit/ed2aa052c7dcbefa587fb0dc04bbb7df8133376e))
- **basic:** remove redundant leading zero digits in hex string ([98b068e](https://github.com/OneKeyHQ/blockchain-libs/commit/98b068ea04d7200e19aa6e40031a66f6e920923e))
- **basic:** use whatwg-url instead of url ([238100e](https://github.com/OneKeyHQ/blockchain-libs/commit/238100e57285bdf4e53e68046f87edcd888d1b32))
- **cfx:** correct rpc method name of cfx_getNextNonce ([533df11](https://github.com/OneKeyHQ/blockchain-libs/commit/533df11f09972c4a254045a77143e1de1d4b4544))
- crypto hack for react-native and BigInt format used that invalid in react-native ([a6ec0b7](https://github.com/OneKeyHQ/blockchain-libs/commit/a6ec0b76447c9061303fddd92180f34591ce74e4))
- eth personal sign upon hex string ([#60](https://github.com/OneKeyHQ/blockchain-libs/issues/60)) ([7ef5bf6](https://github.com/OneKeyHQ/blockchain-libs/commit/7ef5bf6c9ab8c44c15160494cb11abcdaea4cf7f))
- **eth:** allow to address to be null in transactions ([#57](https://github.com/OneKeyHQ/blockchain-libs/issues/57)) ([bbc2118](https://github.com/OneKeyHQ/blockchain-libs/commit/bbc2118e217fec07081d3bcbf6ac06e358ad9ebc))
- **eth:** handle non-standard token name/symbol call result ([2c0e027](https://github.com/OneKeyHQ/blockchain-libs/commit/2c0e027ab9edbe3347c2d8bbffe27c9cb994a815))
- fix secp256k1 curve, require canonical signature ([ed9297f](https://github.com/OneKeyHQ/blockchain-libs/commit/ed9297ff943b677e5ca4f1500cddbcf9cbc4f605))
- optimize eip1559 fee estimate ([ddd2746](https://github.com/OneKeyHQ/blockchain-libs/commit/ddd274645325f3159d61f7f70e50b013d62d356c))
- personal sign should return signedMessageHex, instead of signature ([a68965f](https://github.com/OneKeyHQ/blockchain-libs/commit/a68965f1c21777bd0af15ae6d7919cb5148a2950))
- price.shiftedBy(-feeDecimals) in app-momorepo->getGasPrice cause the price to be 0.000000001 ([d360f3d](https://github.com/OneKeyHQ/blockchain-libs/commit/d360f3d65603ece058a0567a5d986f5fccf0ab43))
- **provider:** fix a bignumber comparison error ([9e74652](https://github.com/OneKeyHQ/blockchain-libs/commit/9e74652a6453adbb312764124c8510b7b1d5fb83))
- **provider:** remove redundant leading zero digits in hex string ([7ecfd86](https://github.com/OneKeyHQ/blockchain-libs/commit/7ecfd86c06bb516eb741ad938143ee1ce0b9f0be))
- remove bigint dependencies ([fbab8bd](https://github.com/OneKeyHQ/blockchain-libs/commit/fbab8bd48e605b36d869cb45e2c9e4468da0462f))
- remove User-Agent from header ([4c32b20](https://github.com/OneKeyHQ/blockchain-libs/commit/4c32b20ed071b22b48fa6dfdff2f2c7bab802829))
- rename BaseRestfulClient to SimpleClient ([8bf2766](https://github.com/OneKeyHQ/blockchain-libs/commit/8bf2766094738dced9f50bc87807ca2a3c18c435))
- replace dry_run with dry_run_raw while estimateGasLimit ([3774c07](https://github.com/OneKeyHQ/blockchain-libs/commit/3774c0749b7f6f823e6c172cdbd0ce7b6e325afc))
- replace tokensChangedTo BigNumberto string; do no support price being 0.000000001 ([0e61477](https://github.com/OneKeyHQ/blockchain-libs/commit/0e6147769f63c38415f92ebcde49ab544f01f6a5))
- **secret:** don't use << opeation for BigInt ([338bcaf](https://github.com/OneKeyHQ/blockchain-libs/commit/338bcaf0c06ad44aea32e61d606e8beb47c5a634))
- **secret:** fix bn.js related problem on browser ([4f42144](https://github.com/OneKeyHQ/blockchain-libs/commit/4f421443e746dee8abd4a6f0a3097ec64b98d80a))
- **solana:** rename verifyAssociatedTokenAddress ([70bacd5](https://github.com/OneKeyHQ/blockchain-libs/commit/70bacd5d6b71b5efb96df634b7424f9d185c1347))
- **stc:** fix some trivial problems ([2a47833](https://github.com/OneKeyHQ/blockchain-libs/commit/2a4783311e8296f652761594a878f8a29d2ba16c))
- support call ScriptFunction and deploy contract blob(txParmas.data) in Dapps ([ab50349](https://github.com/OneKeyHQ/blockchain-libs/commit/ab50349ea233abc570bd25e900cd835b0a207b44))
- throw error while no nonce ([d890440](https://github.com/OneKeyHQ/blockchain-libs/commit/d890440c05b90283a9b4a52e6bdeeaf6a0f6c3b1))
- upgrade maxGasAmount to 4000000, avoid dry_run_raw fail because of OutOfGas ([819e97b](https://github.com/OneKeyHQ/blockchain-libs/commit/819e97be84aece18c2f1474cf6f7b07d772d5391))

### Features

- add cfx support ([8084643](https://github.com/OneKeyHQ/blockchain-libs/commit/80846438a75417503030885b75327dc3387a9db9))
- add sol and unused-import lint support ([e159b16](https://github.com/OneKeyHQ/blockchain-libs/commit/e159b16ebeb009e624e48b26ccf68c85ddacb765))
- add stc support ([057615f](https://github.com/OneKeyHQ/blockchain-libs/commit/057615ff886c02b4034e0448aa5797513718484d))
- adjust broadcastTransaction, return txid ([ab712a7](https://github.com/OneKeyHQ/blockchain-libs/commit/ab712a7fc1efbff78f13beb5bfb87bfd69ecb141))
- btc supports hardware ([#51](https://github.com/OneKeyHQ/blockchain-libs/issues/51)) ([67778ee](https://github.com/OneKeyHQ/blockchain-libs/commit/67778eec0b3fed235b60bddeedf30219d16f1af7))
- btc xpub stuff ([#62](https://github.com/OneKeyHQ/blockchain-libs/issues/62)) ([95208b0](https://github.com/OneKeyHQ/blockchain-libs/commit/95208b05a71031c5665d677b31f1503ae4263aa9))
- calculate gas limit for near tx ([61e6495](https://github.com/OneKeyHQ/blockchain-libs/commit/61e6495e4d9d8afc5aeefd5712e509a77a19792c))
- cfx support hardware([#54](https://github.com/OneKeyHQ/blockchain-libs/issues/54)) ([814c717](https://github.com/OneKeyHQ/blockchain-libs/commit/814c7173efbb0eeff35e126beb97079ceba3fab3))
- create BaseRestfulClient for restful api ([ea2f0dd](https://github.com/OneKeyHQ/blockchain-libs/commit/ea2f0dd3f059e056ac594643210ea5e68bc649e5))
- enable all chains ([#65](https://github.com/OneKeyHQ/blockchain-libs/issues/65)) ([22248d3](https://github.com/OneKeyHQ/blockchain-libs/commit/22248d3cf530d53823d14c7ea43c1b7f30ad5b27))
- eth supports hardware ([c180130](https://github.com/OneKeyHQ/blockchain-libs/commit/c180130597a734f39546358c2d378db8b42f3fc1))
- **eth:** add methods needed to mimic a metamask provider ([#61](https://github.com/OneKeyHQ/blockchain-libs/issues/61)) ([3824cc2](https://github.com/OneKeyHQ/blockchain-libs/commit/3824cc2c0bd1926e087958946d05f5ee93cb8bb7))
- export eip712PreHash for hardware typed data sign ([f5d2a7b](https://github.com/OneKeyHQ/blockchain-libs/commit/f5d2a7b44f7b36d786072a19365cd5cd27e9ffee))
- **provider:** add missing implementation routes ([df6bbbc](https://github.com/OneKeyHQ/blockchain-libs/commit/df6bbbc78e822035172f9b7bffeb2e76b9a47950))
- replace estimateGasLimit with estimateGasLimitAndTokensChangedTo, add tokensChangedTo ([6e2699e](https://github.com/OneKeyHQ/blockchain-libs/commit/6e2699e1cbac07f9587dcfbd89c2bc66d72a7508))
- **restful:** allow posting binary data ([ff020e3](https://github.com/OneKeyHQ/blockchain-libs/commit/ff020e3048f8c0de0f2102c0d0531ac5e5fca138))
- **secret:** add batch get key functionalities and pubkey compress/decompress ([c96acdd](https://github.com/OneKeyHQ/blockchain-libs/commit/c96acdd5e523f1ffd59f03f3081071b5ca6b6010))
- **secret:** add tests for canonical signature ([dadf7ad](https://github.com/OneKeyHQ/blockchain-libs/commit/dadf7adc6e56bc2b07d45dee38ac3738e5e9dbd1))
- **secret:** use aes/hash/hmac from asmcrypto.js ([60183f8](https://github.com/OneKeyHQ/blockchain-libs/commit/60183f87f88749d2eef459ee64bc23c9c002ae31))
- sign and verify eth message ([e8e393b](https://github.com/OneKeyHQ/blockchain-libs/commit/e8e393b001ca0f546bfd2d9c3f49b24169ed5284))
- sign/verify message for btc and btc-like coins ([80258b7](https://github.com/OneKeyHQ/blockchain-libs/commit/80258b77bf85bcaa5f89c0c60a666f06eab8db1d))
- sol support hardware ([#55](https://github.com/OneKeyHQ/blockchain-libs/issues/55)) ([6012250](https://github.com/OneKeyHQ/blockchain-libs/commit/6012250b5149349f271f321a0560865c21378ad9))
- stc supports hardware ([#53](https://github.com/OneKeyHQ/blockchain-libs/issues/53)) ([a41cb39](https://github.com/OneKeyHQ/blockchain-libs/commit/a41cb39ca777e6aa57c19feebbe84a5eaac8f31b))
- support btc ([5724275](https://github.com/OneKeyHQ/blockchain-libs/commit/572427513514cd5efb9973eba58199c1705e1dd8))
- support cosmos ([0481ffc](https://github.com/OneKeyHQ/blockchain-libs/commit/0481ffc237adec2a34895f87be28e9bd9dd7cb4c))
- support CW20 ([90a297e](https://github.com/OneKeyHQ/blockchain-libs/commit/90a297e04a957a21d52de4986d3161d40187d966))
- support dash ([c388a16](https://github.com/OneKeyHQ/blockchain-libs/commit/c388a16fb90db28d197cfa6037072f22bfb1fe4a))
- support ltc, bch, doge, btg, dgb, nmc, vtc ([c05f4f3](https://github.com/OneKeyHQ/blockchain-libs/commit/c05f4f362ad22ac3299769f1a15af749f30bb4f4))
- support near ([887eece](https://github.com/OneKeyHQ/blockchain-libs/commit/887eecebb2d9d8ed71e3d3201290bfe75d3f1321))
- use ethers ([#52](https://github.com/OneKeyHQ/blockchain-libs/issues/52)) ([09c0fbe](https://github.com/OneKeyHQ/blockchain-libs/commit/09c0fbe341594053651a639c767f78e6725fc791))
