Skip to content

Creating 1155 Collection with Privy Provider #6

@mattleesounds

Description

@mattleesounds

Hello, I am trying to deploy a new 1155 collection from a Privy embedded wallet and am getting this error:

Error creating collection: [TypeError: publicClient.readContract is not a function (it is undefined)]

Based on that error and looking at the SDK code, it appears that the SDK for creating collections only works with Viem providers, which is the only one with the readContract function as far as I can tell. Is this the case, and if so, is it still possible to create collections from a Privy Provider? FYI, Privy Provider follows the EIP 1193 standard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions