Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

Commit

Permalink
Fixes #782 – typo in algorand package
Browse files Browse the repository at this point in the history
  • Loading branch information
gre committed Jan 31, 2022
1 parent dc3ec64 commit f772a6c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions packages/hw-app-algorand/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Ledger Hardware Wallet Algorand JavaScript bindings.

### Algorand

Cosmos API
Algorand API

#### Parameters

Expand All @@ -37,7 +37,7 @@ const algo = new Algorand(transport)

#### getAddress

get Algorajt address for a given BIP 32 path.
get Algorant address for a given BIP 32 path.

##### Parameters

Expand All @@ -47,7 +47,7 @@ get Algorajt address for a given BIP 32 path.
##### Examples

```javascript
cosmos.getAddress("44'/60'/0'/0/0").then(o => o.address)
cosmos.getAddress("44'/283'/0'/0/0").then(o => o.address)
```

Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<{publicKey: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), address: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>** an object with a publicKey, address and (optionally) chainCode
6 changes: 3 additions & 3 deletions packages/hw-app-algorand/src/Algorand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const CLA = 0x80;
const INS_GET_PUBLIC_KEY = 0x03;
const INS_SIGN_MSGPACK = 0x08;
/**
* Cosmos API
* Algorand API
*
* @example
* import Algorand from "@ledgerhq/hw-app-algorand";
Expand All @@ -48,12 +48,12 @@ export default class Algorand {
}

/**
* get Algorajt address for a given BIP 32 path.
* get Algorant address for a given BIP 32 path.
* @param path a path in BIP 32 format
* @option boolDisplay optionally enable or not the display
* @return an object with a publicKey, address and (optionally) chainCode
* @example
* cosmos.getAddress("44'/60'/0'/0/0").then(o => o.address)
* cosmos.getAddress("44'/283'/0'/0/0").then(o => o.address)
*/
getAddress(
path: string,
Expand Down

0 comments on commit f772a6c

Please sign in to comment.