Skip to content

web3Auth updated - #112

Merged
ayo-klaytn merged 2 commits into
kaiachain:mainfrom
ayo-klaytn:fix/web3Auth-guide
Sep 24, 2024
Merged

ayo-klaytn merged 2 commits into
kaiachain:mainfrom
ayo-klaytn:fix/web3Auth-guide

Conversation

@ayo-klaytn

Copy link
Copy Markdown
Contributor

Proposed changes

updates web3Auth guide

Types of changes

Please put an x in the boxes related to your change.

  • Minor Issues and Typos
  • Major Content Contribution
  • Others

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to reach out. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have read the CONTRIBUTING GUIDELINES
  • I have read the CLA and signed by comment I have read the CLA Document and I hereby sign the CLA in first time contribute
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged and published in downstream modules

Related issues

  • Please leave the issue numbers or links related to this PR here.

Further comments

If this is a relatively large content contribution, kick off the discussion by explaining why you would suggest the content contribution, etc...

Comment thread docs/build/tools/wallets/wallet-libraries/web3Auth.mdx
Comment thread docs/build/tools/wallets/wallet-libraries/web3Auth.mdx Outdated
Comment thread docs/build/tools/wallets/wallet-libraries/web3Auth.mdx

}

const writeToContract = async (provider: IProvider, value : string): Promise<any> => {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

How do you think about the function name to be the "action". I think the "writeToContract" is too general.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I personally prefer the function name like "storeNumToContract". I think it's good if you are ok because it's very minor thing.

}
};

const readFromContract = async (provider: IProvider): Promise<string> => {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Same with the writeToContract function name.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

In this case, "getNumFromContract" looks better

Comment thread docs/build/tools/wallets/wallet-libraries/web3Auth.mdx Outdated
@ayo-klaytn
ayo-klaytn merged commit 9f3fbe4 into kaiachain:main Sep 24, 2024
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants