MCPcopy Create free account
hub / github.com/NoteProtocol/NoteWallet / mint

Function mint

src/wallet.ts:280–284  ·  view source on GitHub ↗
(payload: NotePayload, toAddress?: string)

Source from the content-addressed store, hash-verified

278 }
279
280 async mint(payload: NotePayload, toAddress?: string) {
281 //NOTICE:注意,这里的toAddress未使用
282 const tx = await this.buildNoteTransaction(payload);
283 return await this.broadcastTransaction(tx);
284 }
285
286 abstract fetch(address: string): any;
287

Callers

nothing calls this directly

Calls 1

buildNoteTransactionMethod · 0.80

Tested by

no test coverage detected