Skip to content

Commit

Permalink
Merge pull request #10 from miguilimzero/patch-1
Browse files Browse the repository at this point in the history
Add missing methods to Method Summary on README.md
  • Loading branch information
paulmillr authored Mar 29, 2024
2 parents 3c7f760 + b2c29f4 commit 618e30a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ Method summary:

```ts
function formatPrivate(privateKey: Bytes, format: 'base58' | 'hex' | 'array' = 'base');
function getPublicKey(privateKey: Bytes);
function getAddress(privateKey: Bytes);
function getAddressFromPublicKey(publicKey: Bytes);
function signTx(privateKey: Bytes, data: TxData): Promise<[string, string]>;
function verifyTx(tx: TxData);
function createTx(from: string, to: string, amount: string, fee: bigint, blockhash: string);
function createTx(from: string, to: string, amount: string, _fee: bigint, blockhash: string);
function createTxComplex(address: string, instructions: Instruction[], blockhash: string);
function defineProgram<T extends Record<string, MethodHint<any>>>;
function isOnCurve(bytes: Bytes | string);
Expand Down

0 comments on commit 618e30a

Please sign in to comment.