Skip to content

💡 [SDKv3] VNS module #2469

@claytonneal

Description

@claytonneal

Summary

The idea is to take the resolveNamesInClauses function from SDKv2 transaction module
And in V3 create a new VNS module, so that users can do:

thorClient.vns.resolveNamesInClauses(clauses[])
thorClient.vns.resolveName('clayton.veworld.vet')

once it is there for thorClient, the idea is to then look at the viem public client (it will use thorclient)
so that viem users can do:

const address = publicClient.getVnsAddress('clayton.veworld.vet');

see: https://viem.sh/docs/ens/actions/getEnsAddress

Basic Example

a

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