Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change config.js #1

Open
nya-elimu opened this issue May 14, 2022 · 1 comment
Open

Change config.js #1

nya-elimu opened this issue May 14, 2022 · 1 comment

Comments

@nya-elimu
Copy link

nya-elimu commented May 14, 2022

@blueridger The documentation says:

  1. Fork this repo
  2. Change config.js

What does "Change config.js" entail?

module.exports = {
    GUILD_IDS: {
        "798975165342023700": {
            repo: "sourcecred/dev-cred", 
            branch: "payout-bot-test", 
            chainId: "1", 
            tokenAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
        }
    },
}

Is "798975165342023700" the only thing that needs to be changed? Or do we need to change any of those other values as well?

@blueridger
Copy link
Owner

The number should be your discord server ID. The repo and branch should point to your sourcecred instance, probably the main branch. This is where the bot will persist changes. The chainid and token address is for communities who want to distribute ethereum-based tokens, and those can be ignored if they don't apply. (That example is for USDC on Ethereum mainnet)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants