-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add opera provider example #10
base: main
Are you sure you want to change the base?
Conversation
SignableMessage, | ||
Transaction, | ||
TransactionPayload, | ||
} from "@elrondnetwork/erdjs"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@multiversx/sdk-core
instead of @elrondnetwork/erdjs
} | ||
|
||
async logout() { | ||
await this.provider.init(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it necessary to call init
before logout
?
} | ||
|
||
async signMessage() { | ||
await this.provider.init(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see that you call the provider.init
function before every action. Can't be moved in the constructor
to avoid calling this function many times?
No description provided.