Skip to content

Conversation

@cbrzn
Copy link
Contributor

@cbrzn cbrzn commented Aug 8, 2023

No description provided.

@cbrzn cbrzn changed the title chore(examples): init examples feat: examples Aug 9, 2023
@cbrzn cbrzn marked this pull request as ready for review August 9, 2023 10:16
@dOrgJelli
Copy link
Contributor

Do we want to add CI for these examples?

@cbrzn
Copy link
Contributor Author

cbrzn commented Aug 9, 2023

Do we want to add CI for these examples?

yes! thanks for pointing that out

import { Wallet } from "ethers";

const main = async () => {
const { uri: ethereumPluginUri } = Uri.from(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: I would prefer we rename to "ethereumWalletUri" and "ethereumWalletPlugin" in all examples.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed, just changed it. instead of ethereumWalletPlugin i named it ethereumWalletPackage because the ethereumWalletPlugin is the variable from the @polywrap/ethereum-wallet-js package


// The data to sign
const message = {
from: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: indentation looks to be off here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think its good (just tried to format)

@cbrzn cbrzn requested a review from dOrgJelli August 14, 2023 10:23
Copy link
Contributor

@dOrgJelli dOrgJelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

@dOrgJelli dOrgJelli merged commit 0683d1b into origin-dev Aug 18, 2023
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.

4 participants