libevm 0.0.3 → 0.0.4

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.
Files changed (2) hide show
  1. package/libevm +36 -0
  2. package/package.json +1 -1
package/libevm CHANGED
@@ -206,6 +206,42 @@ function
206
206
  }
207
207
  }
208
208
 
209
+ function
210
+ _libevm_url_parse() {
211
+ /* global
212
+ _argv_url_get */
213
+ /* eslint-disable-next-line
214
+ no-global-assign */
215
+ wallet_path =
216
+ _argv_url_get(
217
+ "wallet_path")[
218
+ 0];
219
+ /* eslint-disable-next-line
220
+ no-global-assign */
221
+ wallet_password =
222
+ _argv_url_get(
223
+ "wallet_password")[
224
+ 0];
225
+ /* eslint-disable-next-line
226
+ no-global-assign */
227
+ wallet_seed =
228
+ _argv_url_get(
229
+ "wallet_seed")[
230
+ 0];
231
+ /* eslint-disable-next-line
232
+ no-global-assign */
233
+ api_key =
234
+ _argv_url_get(
235
+ "api_key")[
236
+ 0];
237
+ /* eslint-disable-next-line
238
+ no-global-assign */
239
+ target_networks.push(
240
+ _argv_url_get(
241
+ "network")[
242
+ 0]);
243
+ }
244
+
209
245
  module.exports = {
210
246
  _contract_abi_get:
211
247
  _contract_abi_get,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name":
3
3
  "libevm",
4
4
  "version":
5
- "0.0.3",
5
+ "0.0.4",
6
6
  "description":
7
7
  "Library providing useful functions to write native applications interacting with EVM-compatible blockchain networks.",
8
8
  "funding": {