A generic Signer interface as specified in @textile/core-storage
.
A promise that resolves to a token string.
Estimate the required deposit size in yocto-NEAR 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 string representation of the required deposit in yocto-NEAR.
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 derived from a ConnectedWallet
.
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 sign the user into their local browser wallet.
A pre-defined Wallet Connection.
A promise that resolves to true (success) or false.
Generated using TypeDoc
Create and sign a JWT token to produce a JWS.