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

Update index.ts to expose SimpleWalletClient object #318

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

Conversation

roschler
Copy link

The SimpleWalletClient object is needed by developers creating Web3 apps that interact with the user's wallet. For example:

    const config: StoryConfig = {
        chainId: await this.getCurrentChainId(), // Get the current chain ID from MetaMask
        transport: http(RPCProviderUrl), // Using MetaMask's provider
        wallet: this.walletClient as SimpleWalletClient
    };

This is so they can interact with the user's wallet for doing important operations on the Story Protocol blockchain, like signing payloads or paying for transactions.

Description

Example:
This pr adds user login function, includes:

    1. add user login page.
    1. ...

Test Plan

Example:

    1. Use different test accounts for login tests, including correct user names and passwords, and incorrect user names and passwords.
    1. ...

Related Issue

Example: Issue #123

Notes

  • Example: Links and navigation need to be added to the front-end interface

The SimpleWalletClient object is needed by developers creating Web3 apps that interact with the user's wallet.  For example:

        const config: StoryConfig = {
            chainId: await this.getCurrentChainId(), // Get the current chain ID from MetaMask
            transport: http(RPCProviderUrl), // Using MetaMask's provider
            wallet: this.walletClient as SimpleWalletClient
        };


This is so they can interact with the user's wallet for doing important operations on the Story Protocol blockchain, like signing payloads or paying for transactions.
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.

1 participant