1.0.6 • Published 1 year ago
@arcologynetwork/frontend-util v1.0.6
Name | Description |
---|---|
generateTx | Generates a transaction and waits for its completion. |
waitingTxs(txs) | Waits for multiple transactions to complete and shows the results. |
parseReceipt(receipt) | Parses a transaction receipt and extracts the status and block height. |
showResult(result) | Displays the status and height of a transaction. |
parseEvent(receipt, eventName) | Parses an event from a transaction receipt. |
sleep(ms) | Pauses the execution for the specified number of milliseconds. |
writeFile(filename, content) | Appends content to a file. |
readFile(filename) | Reads the content of a file. |
newFile(filename) | Create a stream for writing files. |
appendTo(filehandle,content) | appending content to a file through a stream. |
ensurePath(dir) | Make sure the directory exists; otherwise, create it. |