diff options
| author | 2023-04-19 17:30:39 +0800 | |
|---|---|---|
| committer | 2023-04-19 17:30:39 +0800 | |
| commit | 3adc965dd09490b7efa1cce9f09b0a3b30970277 (patch) | |
| tree | f813abb07d7b003984aa74e3154752b6ffc3ccd5 /envshare/util | |
| parent | c7c9ca6f0c8eddf6d34cd40779f3b2d9463f3a46 (diff) | |
| download | HydroRoll-3adc965dd09490b7efa1cce9f09b0a3b30970277.tar.gz HydroRoll-3adc965dd09490b7efa1cce9f09b0a3b30970277.zip | |
✨优化文档
Diffstat (limited to 'envshare/util')
| -rw-r--r-- | envshare/util/base58.ts | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/envshare/util/base58.ts b/envshare/util/base58.ts deleted file mode 100644 index 7eeee95..0000000 --- a/envshare/util/base58.ts +++ /dev/null @@ -1,7 +0,0 @@ -import baseX from "base-x"; - -const alphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"; - -export const toBase58 = (b: Uint8Array) => baseX(alphabet).encode(b); - -export const fromBase58 = (s: string) => baseX(alphabet).decode(s); |
