Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

add opera provider example #10

wants to merge 1 commit into from

Conversation

andreigiura
Copy link
Contributor

No description provided.

SignableMessage,
Transaction,
TransactionPayload,
} from "@elrondnetwork/erdjs";
Copy link
Contributor

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();
Copy link
Contributor

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();
Copy link
Contributor

@CiprianDraghici CiprianDraghici Feb 3, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants