A generic Signer interface as specified in @textile/core-storage
.
A set of Standard Claims as specified by the JWT spec.
A promise that resolves to a token string.
Estimate the required deposit size in gwei given the session length.
The requested session length in seconds. Should be an integer value. Is passed through Math.floor before being multiplied by current session multiplier.
A BigNumber representation of the required deposit in gwei.
Initialize a Filecoin Storage Interface. This will generate a new JWT token, signed by the user for interacting with a remote Bridge Provider. If no Bridge Provider is given, this will also query the on-chain Bridge Registry to find a suitable Provider.
User account as a ethers.Signer
object.
Additional configuration options. Possible values include a pre-signed token, registry contract, provider contract, and standard JWT claims.
A promise that resolves to a CoreAPI object.
Request to connect to a EIP-1102 and EIP-1193 compliant Ethereum provider.
A promise that resolves to true (success) or false.
Generated using TypeDoc
Create and sign a JWT token to produce a JWS.