1.2.2 • Published 5 months ago

starknet-social-sdk v1.2.2

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

🛠 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

1.2.2

5 months ago

1.2.0

12 months ago

1.1.9

12 months ago

1.1.8

12 months ago

1.2.1

11 months ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago