- Source:
Members
Methods
(static) changeMethod(method) → {void}
Changes selected derivation method in dropdown
- Source:
Parameters:
Name | Type | Description |
---|---|---|
method |
string
|
Derivation method |
Returns:
- Type:
-
void
(static) changeMethod(method) → {void}
Changes selected derivation method in dropdown
- Source:
Parameters:
Name | Type | Description |
---|---|---|
method |
string
|
Derivation method |
Returns:
- Type:
-
void
(static) changeWalletClient(client) → {void}
Changes selected wallet client in dropdown
- Source:
Parameters:
Name | Type | Description |
---|---|---|
client |
string
|
Wallet client |
Returns:
- Type:
-
void
(static) changeWalletClient(client) → {void}
Changes selected wallet client in dropdown
- Source:
Parameters:
Name | Type | Description |
---|---|---|
client |
string
|
Wallet client |
Returns:
- Type:
-
void
(static) checkBase32Input(inputFieldId, invalidFeedbackId, maxLength, rangeopt) → {number}
Checks if input is a valid base32 string, meets given length/range criteria and is a valid Algorand address
- Source:
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
inputFieldId |
string
|
|||
invalidFeedbackId |
string
|
|||
maxLength |
number
|
|||
range |
boolean
|
<optional> |
true |
Returns:
- Type:
-
number
(static) checkBase32Input(inputFieldId, invalidFeedbackId, maxLength, rangeopt) → {number}
Checks if input is a valid base32 string, meets given length/range criteria and is a valid Algorand address
- Source:
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
inputFieldId |
string
|
|||
invalidFeedbackId |
string
|
|||
maxLength |
number
|
|||
range |
boolean
|
<optional> |
true |
Returns:
- Type:
-
number
(static) checkMnemonic() → {void}
Verifies if BIP39 mnemonic is valid
- Source:
Returns:
- Type:
-
void
(static) checkMnemonic() → {void}
Verifies if BIP39 mnemonic is valid
- Source:
Returns:
- Type:
-
void
(static) clear(include)
Clears form fields and reset to defaults
- Source:
Parameters:
Name | Type | Description |
---|---|---|
include |
string
|
Section to include while clearing |
(static) clear(include)
Clears form fields and reset to defaults
- Source:
Parameters:
Name | Type | Description |
---|---|---|
include |
string
|
Section to include while clearing |
(static) clearMnemonic() → {void}
Clears mnemonic and (in)valid feedback
- Source:
Returns:
- Type:
-
void
(static) clearMnemonic() → {void}
Clears mnemonic and (in)valid feedback
- Source:
Returns:
- Type:
-
void
(static) clearStatus() → {void}
Clears status message
- Source:
Returns:
- Type:
-
void
(static) clearStatus() → {void}
Clears status message
- Source:
Returns:
- Type:
-
void
(async, static) createPdf()
Creates PDF file on-the-fly (i.e. offline, all done in the browser) with Algorand Wallet and Secret
- Source:
Listens to Events:
(async, static) createPdf()
Creates PDF file on-the-fly (i.e. offline, all done in the browser) with Algorand Wallet and Secret
- Source:
Listens to Events:
(static) derivationSearch(address, seed, field, id) → {void}
Derives mnemonic for given field and evaluates if derived Algorand address matches given address
- Source:
Parameters:
Name | Type | Description |
---|---|---|
address |
string
|
Algorand wallet address to search |
seed |
mainjs.WordArray
|
BIP39 seed WordArray |
field |
Array.<string>
|
Search field with derivation method/path combinations |
id |
number
|
Interval Id that started the process |
Returns:
- Type:
-
void
(static) derivationSearch(address, seed, field, id) → {void}
Derives mnemonic for given field and evaluates if derived Algorand address matches given address
- Source:
Parameters:
Name | Type | Description |
---|---|---|
address |
string
|
Algorand wallet address to search |
seed |
mainjs.WordArray
|
BIP39 seed WordArray |
field |
Array.<string>
|
Search field with derivation method/path combinations |
id |
number
|
Interval Id that started the process |
Returns:
- Type:
-
void
(static) endDerivationSearch(done, id) → {void}
Ends derivation search
- Source:
Parameters:
Name | Type | Description |
---|---|---|
done |
boolean
|
Complete indicator |
id |
number
|
Interval Id to clear |
Returns:
- Type:
-
void
(static) endDerivationSearch(done, id) → {void}
Ends derivation search
- Source:
Parameters:
Name | Type | Description |
---|---|---|
done |
boolean
|
Complete indicator |
id |
number
|
Interval Id to clear |
Returns:
- Type:
-
void
(static) findMyCoolAddress(prefix, alive, id, tick)
Searches for Algorand wallet address that starts with given prefix
- Source:
Parameters:
Name | Type | Description |
---|---|---|
prefix |
string
|
Beginning sequence of characters to search |
alive |
boolean
|
Active process indicator |
id |
number
|
Interval Id |
tick |
number
|
Initial timestampt |
(static) findMyCoolAddress(prefix, alive, id, tick)
Searches for Algorand wallet address that starts with given prefix
- Source:
Parameters:
Name | Type | Description |
---|---|---|
prefix |
string
|
Beginning sequence of characters to search |
alive |
boolean
|
Active process indicator |
id |
number
|
Interval Id |
tick |
number
|
Initial timestampt |
(static) generateMnemonic() → {void}
Generates random BIP39 mnemonic
- Source:
Returns:
- Type:
-
void
(static) generateMnemonic() → {void}
Generates random BIP39 mnemonic
- Source:
Returns:
- Type:
-
void
(static) getPath() → {string}
Gets current selected path
- Source:
Returns:
- Type:
-
string
path
(static) getPath() → {string}
Gets current selected path
- Source:
Returns:
- Type:
-
string
path
(static) handleChangeWalletClient(e)
Handles change wallet client event and calls mainjs.changeWalletClient
- Source:
Parameters:
Name | Type | Description |
---|---|---|
e |
document#event:change
|
Change event |
Listens to Events:
(static) handleChangeWalletClient(e)
Handles change wallet client event and calls mainjs.changeWalletClient
- Source:
Parameters:
Name | Type | Description |
---|---|---|
e |
document#event:change
|
Change event |
Listens to Events:
(static) handleDerivationSearch()
Handles derivation search click event
and calls mainjs.startDerivationSearch
- Source:
Listens to Events:
(static) handleDerivationSearch()
Handles derivation search click event
and calls mainjs.startDerivationSearch
- Source:
Listens to Events:
(static) handleMyCoolAddressLookup() → {void}
Handles click address lookup and calls
mainjs.startMyCoolAddressLookup
- Source:
Listens to Events:
Returns:
- Type:
-
void
(static) handleMyCoolAddressLookup() → {void}
Handles click address lookup and calls
mainjs.startMyCoolAddressLookup
- Source:
Listens to Events:
Returns:
- Type:
-
void
(static) killDerivationSearch()
Handles cancel derivation search click event
- Source:
Listens to Events:
(static) killDerivationSearch()
Handles cancel derivation search click event
- Source:
Listens to Events:
(static) killMyCoolAddressLookup()
Kills address lookup process
- Source:
Listens to Events:
(static) killMyCoolAddressLookup()
Kills address lookup process
- Source:
Listens to Events:
(static) mnemonicFocusoutHangler(e) → {void}
Handles mnemonic input focusout event
- Source:
Parameters:
Name | Type | Description |
---|---|---|
e |
document#event:focus
|
Focusout event |
Listens to Events:
Returns:
- Type:
-
void
(static) mnemonicFocusoutHangler(e) → {void}
Handles mnemonic input focusout event
- Source:
Parameters:
Name | Type | Description |
---|---|---|
e |
document#event:focus
|
Focusout event |
Listens to Events:
Returns:
- Type:
-
void
(static) mnemonicKeyboardEventHandler(e)
Handles mnemonic input keyboard event, provides auto-complete suggestions and validates word to BIP39 wordlist
- Source:
Parameters:
Name | Type | Description |
---|---|---|
e |
document#event:keyboard
|
Keyboard event |
Listens to Events:
(static) mnemonicKeyboardEventHandler(e)
Handles mnemonic input keyboard event, provides auto-complete suggestions and validates word to BIP39 wordlist
- Source:
Parameters:
Name | Type | Description |
---|---|---|
e |
document#event:keyboard
|
Keyboard event |
Listens to Events:
(static) prettifyWords(words) → {string}
Formats list of 25 words in a 5x5 grid, indexed Top-to-Bottom
- Source:
Parameters:
Name | Type | Description |
---|---|---|
words |
Array.<string>
|
List of Algorand's 25 secret words |
Returns:
- Type:
-
string
Formatted string
(static) prettifyWords(words) → {string}
Formats list of 25 words in a 5x5 grid, indexed Top-to-Bottom
- Source:
Parameters:
Name | Type | Description |
---|---|---|
words |
Array.<string>
|
List of Algorand's 25 secret words |
Returns:
- Type:
-
string
Formatted string
(static) printAddressQR(address) → {void}
Generates and prints QR code witl wallet address
- Source:
Parameters:
Name | Type | Description |
---|---|---|
address |
string
|
Algorand wallet address |
Returns:
- Type:
-
void
(static) printAddressQR(address) → {void}
Generates and prints QR code witl wallet address
- Source:
Parameters:
Name | Type | Description |
---|---|---|
address |
string
|
Algorand wallet address |
Returns:
- Type:
-
void
(static) printPath(path, disableIndex) → {void}
Updates path fields in form
- Source:
Parameters:
Name | Type | Description |
---|---|---|
path |
string
|
Full derivation path |
disableIndex |
number
|
Disable input for all path index less than this |
Returns:
- Type:
-
void
(static) printPath(path, disableIndex) → {void}
Updates path fields in form
- Source:
Parameters:
Name | Type | Description |
---|---|---|
path |
string
|
Full derivation path |
disableIndex |
number
|
Disable input for all path index less than this |
Returns:
- Type:
-
void
(static) printQR(words) → {void}
Generates and prints QR code with words data
- Source:
Parameters:
Name | Type | Description |
---|---|---|
words |
Array.<string>
|
Algorand secret words |
Returns:
- Type:
-
void
(static) printQR(words) → {void}
Generates and prints QR code with words data
- Source:
Parameters:
Name | Type | Description |
---|---|---|
words |
Array.<string>
|
Algorand secret words |
Returns:
- Type:
-
void
(static) printWords(words) → {void}
Displays Alorand secret words section
- Source:
Parameters:
Name | Type | Description |
---|---|---|
words |
Array.<string>
|
Returns:
- Type:
-
void
(static) printWords(words) → {void}
Displays Alorand secret words section
- Source:
Parameters:
Name | Type | Description |
---|---|---|
words |
Array.<string>
|
Returns:
- Type:
-
void
(static) range(n, oopt) → {Array}
Generates array with numbers from 0 [+ offset] to N [+ offset]
- Source:
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
n |
number
|
Size of array |
||
o |
number
|
<optional> |
0 |
Offset |
Returns:
- Type:
-
Array
Array with N numbers
(static) range(n, oopt) → {Array}
Generates array with numbers from 0 [+ offset] to N [+ offset]
- Source:
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
n |
number
|
Size of array |
||
o |
number
|
<optional> |
0 |
Offset |
Returns:
- Type:
-
Array
Array with N numbers
(static) rePrintWords() → {void}
Re-print words if viewport crosses one of the defined breakpoints
- Source:
Listens to Events:
Returns:
- Type:
-
void
(static) rePrintWords() → {void}
Re-print words if viewport crosses one of the defined breakpoints
- Source:
Listens to Events:
Returns:
- Type:
-
void
(static) showAddressTab() → {void}
Switches navigation to the My Cool Address tab
- Source:
Returns:
- Type:
-
void
Nothing
(static) showAddressTab() → {void}
Switches navigation to the My Cool Address tab
- Source:
Returns:
- Type:
-
void
Nothing
(static) showInfoTab() → {void}
Switches navigation to the More Info tab
- Source:
Returns:
- Type:
-
void
Nothing
(static) showInfoTab() → {void}
Switches navigation to the More Info tab
- Source:
Returns:
- Type:
-
void
Nothing
(static) showMnemonicTab() → {void}
Switches navigation to the Mnemonic tab
- Source:
Returns:
- Type:
-
void
Nothing
(static) showMnemonicTab() → {void}
Switches navigation to the Mnemonic tab
- Source:
Returns:
- Type:
-
void
Nothing
(static) startDerivationSearch(address) → {void}
Starts derivation search process
- Source:
Parameters:
Name | Type | Description |
---|---|---|
address |
string
|
Algorand wallet address to search |
Returns:
- Type:
-
void
(static) startDerivationSearch(address) → {void}
Starts derivation search process
- Source:
Parameters:
Name | Type | Description |
---|---|---|
address |
string
|
Algorand wallet address to search |
Returns:
- Type:
-
void
(static) startMnemonicDerivation() → {void}
Derives BIP39 mnemonic with selected params and computes related Algorand's mnenomic
- Source:
Listens to Events:
Returns:
- Type:
-
void
(static) startMnemonicDerivation() → {void}
Derives BIP39 mnemonic with selected params and computes related Algorand's mnenomic
- Source:
Listens to Events:
Returns:
- Type:
-
void
(static) startMyCoolAddressLookup(prefix, alive) → {number}
Starts search for wallet address that begins with prefix
- Source:
Parameters:
Name | Type | Description |
---|---|---|
prefix |
string
|
Beginning sequence of characters to search |
alive |
boolean
|
Active process indicator |
Returns:
- Type:
-
number
Interval Id
(static) startMyCoolAddressLookup(prefix, alive) → {number}
Starts search for wallet address that begins with prefix
- Source:
Parameters:
Name | Type | Description |
---|---|---|
prefix |
string
|
Beginning sequence of characters to search |
alive |
boolean
|
Active process indicator |
Returns:
- Type:
-
number
Interval Id
(static) tabSwitcher()
Changes navigation tab based on window location hash
- Source:
Listens to Events:
(static) tabSwitcher()
Changes navigation tab based on window location hash
- Source:
Listens to Events:
(static) updateStatus(m, s) → {void}
Displays a status message
- Source:
Parameters:
Name | Type | Description |
---|---|---|
m |
string
|
Message to display in status |
s |
Status
|
Status of the task, if done it wil auto clear |
Returns:
- Type:
-
void
(static) updateStatus(m, s) → {void}
Displays a status message
- Source:
Parameters:
Name | Type | Description |
---|---|---|
m |
string
|
Message to display in status |
s |
Status
|
Status of the task, if done it wil auto clear |
Returns:
- Type:
-
void
Type Definitions
WordArray
Properties:
Name | Type | Description |
---|---|---|
words |
Array.<number>
|
Bytes array as signed integers |
sigBytes |
number
|
- Source:
Type:
-
Object
WordArray
Properties:
Name | Type | Description |
---|---|---|
words |
Array.<number>
|
Bytes array as signed integers |
sigBytes |
number
|
- Source:
Type:
-
Object