edge-currency-accountbased 4.2.0 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +9 -5
- package/android/src/main/assets/edge-currency-accountbased/2090.chunk.js +527 -0
- package/android/src/main/assets/edge-currency-accountbased/2100.chunk.js +1 -0
- package/android/src/main/assets/edge-currency-accountbased/2428.chunk.js +1 -1
- package/android/src/main/assets/edge-currency-accountbased/2734.chunk.js +8 -0
- package/android/src/main/assets/edge-currency-accountbased/{2701.chunk.js → 3753.chunk.js} +11 -11
- package/android/src/main/assets/edge-currency-accountbased/5234.chunk.js +2 -2
- package/android/src/main/assets/edge-currency-accountbased/5336.chunk.js +7 -7
- package/android/src/main/assets/edge-currency-accountbased/5836.chunk.js +1 -1
- package/android/src/main/assets/edge-currency-accountbased/6341.chunk.js +11 -11
- package/android/src/main/assets/edge-currency-accountbased/7202.chunk.js +17 -17
- package/android/src/main/assets/edge-currency-accountbased/794.chunk.js +1 -0
- package/android/src/main/assets/edge-currency-accountbased/8193.chunk.js +3 -3
- package/android/src/main/assets/edge-currency-accountbased/edge-currency-accountbased.js +2 -2
- package/android/src/main/assets/edge-currency-accountbased/hedera.chunk.js +1 -2
- package/android/src/main/assets/edge-currency-accountbased/solana.chunk.js +1 -1
- package/android/src/main/assets/edge-currency-accountbased/stellar.chunk.js +1 -1
- package/android/src/main/assets/edge-currency-accountbased/tron.chunk.js +1 -1
- package/android/src/main/assets/edge-currency-accountbased/zcash.chunk.js +4 -3
- package/lib/common/smartPay.js +6 -6
- package/lib/ethereum/info/binancesmartchainInfo.js +8 -0
- package/lib/ethereum/info/ethereumInfo.js +24 -0
- package/lib/ethereum/info/polygonInfo.js +8 -0
- package/lib/ethereum/info/zksyncInfo.js +16 -0
- package/lib/hedera/HederaEngine.js +47 -199
- package/lib/hedera/HederaTools.js +21 -45
- package/lib/hedera/hederaInfo.js +2 -5
- package/lib/hedera/hederaTestnetInfo.js +2 -4
- package/lib/hedera/hederaTypes.js +1 -28
- package/lib/hedera/hederaUtils.js +1 -8
- package/lib/polkadot/info/liberlandInfo.js +4 -1
- package/lib/react-native.js +3 -0
- package/lib/zcash/ZcashEngine.js +68 -17
- package/lib/zcash/zcashTypes.js +3 -0
- package/package.json +4 -4
- package/android/src/main/assets/edge-currency-accountbased/1094.chunk.js +0 -8
- package/android/src/main/assets/edge-currency-accountbased/7481.chunk.js +0 -34
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 4.3.0 (2024-04-22)
|
|
6
|
+
|
|
7
|
+
- added: (Zcash) Orchard pool support
|
|
8
|
+
- added: (Zcash) ZIP-317 dynamic fee support
|
|
9
|
+
- added: (Hedera) Replace account purchase with auto account creation
|
|
10
|
+
- added: Ethereum default tokens AXS, COTI, and GMT
|
|
11
|
+
- added: Binance Smart Chain default token AAVE
|
|
12
|
+
- added: Polygon default token VOXEL
|
|
13
|
+
- added: zkSync default tokens DAI and USDT
|
|
14
|
+
- changed: Updated Liberland rpc list
|
|
15
|
+
- changed: Update Smartpay cleaners to match API changes
|
|
16
|
+
|
|
5
17
|
## 4.2.0 (2024-04-09)
|
|
6
18
|
|
|
7
19
|
- added: Expose the modern `customFeeTemplate` fields on the relevant currency infos.
|
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ These are compatible with edge-core-js v0.21.2 or later.
|
|
|
8
8
|
|
|
9
9
|
## Installing
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
First, add this library to your project:
|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
14
|
npm i -s edge-currency-accountbased
|
|
@@ -49,14 +49,18 @@ and then adjust your script URL to http://localhost:8082/edge-currency-accountba
|
|
|
49
49
|
|
|
50
50
|
### React Native
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
In addition to installing `edge-currency-accountbased`, you must also install
|
|
53
|
+
Zcash and Pirate Chain React Native libraries as peer dependencies
|
|
54
|
+
Follow the instructions in the [Zcash React Native](https://www.npmjs.com/package/react-native-zcash) and [Pirate Chain React Native](https://www.npmjs.com/package/react-native-piratechain) packages to install the required native dependencies.
|
|
55
|
+
|
|
56
|
+
The `edge-currency-accountbased` package will automatically install itself using React Native autolinking.
|
|
57
|
+
To integrate the plugins with edge-core-js, add its URI to the context component:
|
|
53
58
|
|
|
54
59
|
```jsx
|
|
55
60
|
import { pluginUri, makePluginIo } from 'edge-currency-accountbased'
|
|
56
|
-
|
|
57
61
|
<MakeEdgeContext
|
|
58
62
|
nativeIo={{
|
|
59
|
-
'edge-currency-accountbased': makePluginIo()
|
|
63
|
+
'edge-currency-accountbased': makePluginIo()
|
|
60
64
|
}}
|
|
61
65
|
pluginUris={[pluginUri]}
|
|
62
66
|
// Plus other props as required...
|
|
@@ -89,7 +93,7 @@ You can also do `updot edge-currency-accountbased` from within `edge-react-gui`
|
|
|
89
93
|
Please note that our team considers (but does not guarantee) PR's to add new currencies / blockchains to this repo's master branch (included into production version of Edge Wallet). Among other requirements the code must satisfy the following guidelines:
|
|
90
94
|
|
|
91
95
|
- Rebase of your branch upon this repo's `master` branch. For more info:
|
|
92
|
-
https://github.com/edx/edx-platform/wiki/How-to-Rebase-a-Pull-Request
|
|
96
|
+
https://github.com/edx/edx-platform/wiki/How-to-Rebase-a-Pull-Request
|
|
93
97
|
|
|
94
98
|
### Naming Convention
|
|
95
99
|
|