@ecp.eth/sdk / core
core
Ethereum Comments Protocol SDK Core Core functionality for the Ethereum Comments Protocol
Type Aliases
| Type Alias | Description |
|---|---|
| Hex | type for hex format string, e.g. 0x1234567890abcdef |
| RunAsyncOptions | - |
| WaitableWriteContractHelperResult | - |
| WriteContractHelperResult | The result of a write contract function |
Variables
| Variable | Description |
|---|---|
| HexSchema | - |
Functions
| Function | Description |
|---|---|
| createWaitableWriteContractHelper | This function wraps the write function to add a wait() method in the returned object. The wait() method waits the transaction receipt and returns the event arguments specified by the write function, within the transaction. |
| getOneDayFromNowInSeconds | Get the number of seconds to one day from now |
| getOneMinuteFromNowInSeconds | Get the number of seconds to one minute from now |
| isZeroHex | Check if a hex string is zero |
| runAsync | Run an async function with retries and backoff. |