mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-19 19:55:51 +00:00
xahau-patch
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@xrplf/secret-numbers",
|
||||
"version": "1.0.0",
|
||||
"description": "Generate XRPL Accounts with a number-based secret: 8 chunks of 6 digits",
|
||||
"description": "Generate XAHL Accounts with a number-based secret: 8 chunks of 6 digits",
|
||||
"main": "dist/index.js",
|
||||
"unpkg": "build/xrplf-secret-numbers-latest-min.js",
|
||||
"jsdelivr": "build/xrplf-secret-numbers-latest-min.js",
|
||||
@@ -30,7 +30,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@xrplf/isomorphic": "^1.0.0",
|
||||
"ripple-keypairs": "^2.0.0"
|
||||
"xahau-keypairs": "^2.0.0"
|
||||
},
|
||||
"prettier": "@xrplf/prettier-config",
|
||||
"repository": {
|
||||
@@ -40,8 +40,8 @@
|
||||
"license": "ISC",
|
||||
"readmeFilename": "README.md",
|
||||
"keywords": [
|
||||
"xrp",
|
||||
"xrpl-ledger",
|
||||
"xah",
|
||||
"xahau-ledger",
|
||||
"multi sign",
|
||||
"sign"
|
||||
]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { deriveAddress, deriveKeypair, generateSeed } from 'ripple-keypairs'
|
||||
import { deriveAddress, deriveKeypair, generateSeed } from 'xahau-keypairs'
|
||||
|
||||
import {
|
||||
entropyToSecret,
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { hexToBytes } from '@xrplf/isomorphic/utils'
|
||||
import { deriveAddress, deriveKeypair, generateSeed } from 'ripple-keypairs'
|
||||
import { deriveAddress, deriveKeypair, generateSeed } from 'xahau-keypairs'
|
||||
|
||||
import { Account, secretToEntropy } from '../src'
|
||||
|
||||
describe('API: XRPL Secret Numbers', () => {
|
||||
describe('API: XAHL Secret Numbers', () => {
|
||||
describe('Generate new account', () => {
|
||||
const account = new Account()
|
||||
it('Output sanity checks', () => {
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"include": ["./src/**/*.ts", "./src/**/*.json"],
|
||||
"references": [
|
||||
{
|
||||
"path": "../ripple-keypairs/tsconfig.json"
|
||||
"path": "../xahau-keypairs/tsconfig.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user