Skip to content

The JS SDK for interacting with the RSS3 Network Data Sublayer

License

Notifications You must be signed in to change notification settings

RSS3-Network/DSL-js-sdk

Repository files navigation

RSS3 Logo

RSS3 JavaScript SDK

npm package npm bundle size follow RSS3 on X discord chat

The Turbocharger for Your Next Open Web Development.

  • Quick Integration with Ethereum, Arbiturm, Base, Polygon and more....
  • Lightning Fast to Interact with the RSS3 Network.
  • Many Web3 Domains Supported
  • Fully Typed, Easy to BUIDL.

Installation

npm i @rss3/sdk

Getting Started

Obtain Data from the RSS3 Network

Get open social activities of anyone, here we get vitalik.eth's comments on Farcaster:

import { getActivities } from '@rss3/sdk'

const socialActivities = await getActivities({
  account: "vitalik.eth",
  tag: ["social"],
  type: ["comment"],
  platform: ["Farcaster"],
});

Or simply query cross-network and human-readable feed of anyone:

import { getActivities } from '@rss3/sdk'

const readableFeed = await getActivities({
  account: "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
});

For more examples visit RSS3 Docs.

License

MIT.