UNPKG
near-hd-key
Version:
latest (1.2.1)
1.2.1
1.0.0
BIP-0032 like derivation for ed25519 curve
github.com/alepop/ed25519-hd-key
alepop/ed25519-hd-key
near-hd-key
/
dist
/
utils.js
6 lines
(5 loc)
•
236 B
JavaScript
View Raw
1
2
3
4
5
6
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
replaceDerive
=
exports
.
pathRegex
=
void
0
;
exports
.
pathRegex
=
new
RegExp
(
"^m(\\/[0-9]+')+$"
);
exports
.
replaceDerive
=
(
val
) =>
val.
replace
(
"'"
,
''
);