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 4 commits 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

DonFungible and others added 4 commits November 11, 2024 00:53
* make isRegistered public

* make isRegistered public
* Add batchMintAndRegisterIpAssetWithPilTerms method

* Add batchRegisterDerivative method

* Enhance batchMintAndRegisterIpAssetWithPilTerms including unit tests and annotation

* Add batchMintAndRegisterIpAndMakeDerivative method

* Add batch register method

* Fix issue about Invalid signature

* Refactor code

* Add unit tests

* Fix unit test

* Export getSignature method

* Add batchRegisterWithIpMetadata method

* Enhance code

* Refactor multicall about protocol core

* Remove integration test in command

* Refactor getDeadline method

* Bump up sdk to 1.2.0-rc.2
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.

4 participants