Quick Start
Get started with Tribe Protocol by installing the SDK or running your own node.
Install the SDK
Terminal
npm install @tribe-protocol/sdkConnect and Register
// Connect to devnet
const provider = new AnchorProvider(connection, wallet, { commitment: "confirmed" });
const tribe = TribeClient.forDevnet(provider);
// Register a Tribe ID
const { tid, txSig } = await tribe.identity.tid.register(recoveryAddress);
// Add an app key for signing messages
await tribe.identity.appKeys.addAppKey(tid, appPubkey, AppKeyScope.Full);
// Publish a tweet
await tribe.tweets.publish(tid, "Hello Tribe!", signingKey);Run a Tribe Node
Join the network by running a full node using Homebrew. This installs the Hub, ER Sequencer, and all dependencies.
brew tap chaalpritam/tribe brew install --HEAD tribe tribe start