@daohaus/profile-data
TypeScript icon, indicating that this package has built-in type declarations

0.5.5 • Public • Published

@daohaus/profile-data

Profile data provides a simple query to get data related to a single address. This could include an ENS and Lens Protocol profile data.

Usage

Installation

yarn add @daohaus/profile-data

Requirements

This packages uses an rpc endpoint to get the ens name for an address. You should provide an ethereum mainnet rpc url.

Examples

How to fetch a profile by address

import { getProfileForAddress } from '@daohaus/profile-data';

const profile = await getProfileForAddress({ address: '0x0address', rpcUri: 'https://some-rpc-endpoint.com' });

Building

Run nx profile-data:build to build the library.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.5.50latest
0.2.0-alpha.60alpha

Version History

VersionDownloads (Last 7 Days)Published
0.5.50
0.5.40
0.5.30
0.5.20
0.5.10
0.5.00
0.4.50
0.4.40
0.4.30
0.4.20
0.4.10
0.4.00
0.3.30
0.3.20
0.3.10
0.3.00
0.2.30
0.2.20
0.2.10
0.2.00
0.2.0-alpha.60
0.2.0-alpha.50
0.2.0-alpha.40
0.2.0-alpha.30
0.2.0-alpha.00
0.1.320
0.1.310
0.1.300
0.1.290
0.1.280
0.1.270
0.1.260
0.1.250
0.1.240
0.1.230
0.1.220
0.1.210
0.1.200
0.1.190
0.1.180
0.1.170
0.1.160
0.1.50
0.1.40
0.1.30
0.1.20
0.1.10
0.1.00
0.0.90
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i @daohaus/profile-data

Weekly Downloads

0

Version

0.5.5

License

none

Unpacked Size

8.08 kB

Total Files

20

Last publish

Collaborators

  • daohaus-protocol