You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many of the functions in xrpl.js, including the Client class, rely on the implementation of the Wallet class.
By changing this to rely on the interface for signing, developers will be able to use client.sign() and other functions using any wallet that implements this interface.
classClientextendsEventEmitter<EventTypes>{
...
publicasyncsubmit(transaction: SubmittableTransaction|string,opts?: {// If true, autofill a transaction.autofill?: boolean
// If true, and the transaction fails locally, do not retry or relay the transaction to other servers.failHard?: boolean
// A wallet to sign a transaction. It must be provided when submitting an unsigned transaction.wallet?: SignableWallet},): Promise<SubmitResponse>{const signedTx =awaitgetSignedTx(this,transaction,opts)returnsubmitRequest(this,signedTx,opts?.failHard)}
...
}
The text was updated successfully, but these errors were encountered:
Many of the functions in xrpl.js, including the Client class, rely on the implementation of the Wallet class.
By changing this to rely on the interface for signing, developers will be able to use client.sign() and other functions using any wallet that implements this interface.
The text was updated successfully, but these errors were encountered: