Draft
Conversation
…ild ideas Adds a new `examples/create-guild-profile` script that demonstrates how to create a guild profile using the Guild SDK. The example: - Initialises `createGuildClient` and `createSigner.fromEthersWallet` - Provides five ready-to-use guild profile ideas (name + description) so a user can quickly pick one via the `PROFILE_INDEX` env var - Accepts a `PRIVATE_KEY` env var for a real wallet, or falls back to a randomly generated wallet for local testing - Creates the guild with a free-access "Member" role so anyone can join Wallet used as reference: 0x99295ff548fe9760494a005855a46a958b02a33c https://claude.ai/code/session_01CUJ8tVtqjxLpWxCN3fLYQk
Sets up the create-guild-profile example with BeatinDaBlock branding, including a free-to-join Listener role so fans can join immediately. https://claude.ai/code/session_01CUJ8tVtqjxLpWxCN3fLYQk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a new example demonstrating how to create a guild profile using the Guild SDK. The example showcases the creation of a "BeatinDaBlock" podcast community with a free-to-join listener role.
Changes
examples/create-guild-profile/index.ts: Main example script that demonstrates guild creation workflowpackage.json: Project configuration with required dependencies (@guildxyz/sdk, ethers)tsconfig.json: TypeScript configuration for the exampleImplementation Details
PRIVATE_KEYenvironment variable for wallet authentication, with a fallback to a random wallet for demonstrationcreateGuildClientandcreateSignerutilities to authenticate and create a guildhttps://claude.ai/code/session_01CUJ8tVtqjxLpWxCN3fLYQk