Skip to content

Commit

Permalink
fix name
Browse files Browse the repository at this point in the history
  • Loading branch information
minmin.yan committed Nov 21, 2023
1 parent 2bb1ad2 commit 69d006f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/coin-base/src/currency.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export enum Currency {
Celestia = 2854,
DYDX = 2897,
Kaspa = 111111,
NoStrAssets = 22000,
NostrAssets = 1237,
}

export enum segwitType {
Expand Down
2 changes: 1 addition & 1 deletion packages/coin-nostrassets/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# @okxweb3/coin-nostrassets
NoStrAssets SDK is used to interact with the protocol NoStrAssets , it contains various functions can be used to web3 wallet.
NostrAssets SDK is used to interact with the protocol NoStrAssets , it contains various functions can be used to web3 wallet.

## Installation

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export type NewAddressData = {
publicKey?: string;
};

export class NoStrAssetsWallet extends BaseWallet {
export class NostrAssetsWallet extends BaseWallet {
async getDerivedPath(param: GetDerivedPathParam): Promise<any> {
return `m/86'/0'/0'/0/${param.index}`
}
Expand Down
2 changes: 1 addition & 1 deletion packages/coin-nostrassets/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from "./NoStrAssetsWallet";
export * from "./NostrAssetsWallet";
export * from "./nostrassets";
export * from "./keys";
export * from "./event";
4 changes: 2 additions & 2 deletions packages/coin-nostrassets/tests/nostrassetswallet.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {NoStrAssetsWallet, addressFromPrvKey, CryptTextParams, verifySignature, nipOpType} from "../src";
import {NostrAssetsWallet, addressFromPrvKey, CryptTextParams, verifySignature, nipOpType} from "../src";
import {SignTxParams} from "@okxweb3/coin-base";

const wallet = new NoStrAssetsWallet();
const wallet = new NostrAssetsWallet();
const prv = 'bb1c93508b962c7efb0a340848538b2c5f7ba6c44e55f52389aa132a2fd3521a'
describe("nostr", () => {
test("address", async () => {
Expand Down

0 comments on commit 69d006f

Please sign in to comment.