starknet-social-sdk v1.2.2
🛠 A Typesafe SDK of Starknet Social
Mint your Starknet Social Space and take ownership of your online presence with our unique NFT dAvatar and diverse range of identity options such as ✨.strk, .cairo, .starknet, and more. Showcase your Social media profiles, Wallet addresses, NFT collections, Trust score, and a lot more 🍭 all conveniently located in one place.
Capabilities of SDK
- Retrieve Social Space Info
- Resolves wallet address from Social Space
- Retrieve dAvatar from Social Space
- Get all Social Space minted by a User
Get the primary Social Space set by User
Getting Started
Install dependencies:
yarn
or npm install
Once the package is installed, you can import the library using import or require approach:
import { Resolver } from "starknet-social-sdk";
then use functions as follows
const spaceInfo = await Resolver.resolveFromSocialSpace("dolvenlabs.cairo");
const resolvedAddress = await Resolver.getResolvedAddress("dolvenlabs.cairo");
const primarySpace = await Resolver.getUserPrimary(
"0x07Bafc7158b8ccbc65b907418ebbf42C390ef2fbbe7c8d6e75a4de0c6dec81c4"
);
const avatarLink = await Resolver.getAvatarFromAvatarHash(
"1034101811101414181113161012"
);
const spaces = await Resolver.getUserSpaces(
"0x07baFc7158b8cCbc65B907418eBbF42C390ef2FBBe7c8d6E75a4DE0c6dEC81c4"
);
Contact with us on Discord (https://discord.dolvenlabs.com) or Twitter (https://twitter.com/ahmetoznarr) for your inquries
5 months ago
12 months ago
12 months ago
12 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago