Package Exports
- @mybucks.online/core
- @mybucks.online/core/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@mybucks.online/core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@mybucks.online/core
This is a core part of mybucks.online crypto wallet, involving hashing and private key generation.
mybucks.online
Mybucks.online is a password-only, self-custodial and browser-based cryptocurrency wallet built with Javascript. It generates a private key from your password and passcode using an industry-standard, verified one-way hash function. Your private key forms your account, allowing you to transfer, receive, and hold your crypto assets permanently.
Quick start
1. Install
npm install @mybucks.online/core2. Generate hash and private-key
import { getEvmPrivateKey, generateHash } from "@mybucks.online/core";
const showProgress = (p) => {
console.log(`progress: ${p * 100}%`);
};
const hash = await generateHash(password, passcode, showProgress);
const privateKey = getEvmPrivateKey(hash);
console.log("Private key: ", privateKey);Docs
Find the docs here.