Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Bug Report
description: Report a bug in a smart contract or tooling
title: "[Bug]: "
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to report a bug! Please fill out this form as completely as possible.

- type: textarea
id: description
attributes:
label: Description
description: A clear and concise description of the bug.
placeholder: Describe what happened…
validations:
required: true

- type: textarea
id: steps
attributes:
label: Steps to Reproduce
description: How can we reproduce the issue?
placeholder: |
1. Deploy contract with…
2. Call function `foo()` with…
3. Observe…
validations:
required: true

- type: textarea
id: expected
attributes:
label: Expected Behavior
description: What did you expect to happen?
validations:
required: true

- type: textarea
id: actual
attributes:
label: Actual Behavior
description: What actually happened?
validations:
required: true

- type: input
id: contract
attributes:
label: Affected Contract
description: Which contract file is affected?
placeholder: "e.g. contracts/token/ThinkToken.sol"

- type: textarea
id: environment
attributes:
label: Environment
description: Node version, Hardhat version, Solidity version, network
placeholder: |
- Node: 18.x
- Hardhat: 2.x
- Solidity: 0.8.20
- Network: Base Sepolia
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: 🔐 Security Vulnerability
url: mailto:security@thinkmesh.io
about: Do NOT open a public issue for security vulnerabilities. Email us directly.
- name: 💬 Discord Community
url: https://discord.gg/thinkmesh
about: Ask questions and chat with the ThinkMesh community on Discord.
- name: 💧 Fund via Drips
url: https://www.drips.network/app/projects/github/ThinknetCollective/mesh-contract
about: Support Mesh Contract development by streaming funds through Drips.
61 changes: 61 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Feature Request
description: Suggest an improvement or new feature for Mesh Contract
title: "[Feature]: "
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
Thanks for suggesting a feature! Describe your idea clearly so the community can evaluate and discuss it.

- type: textarea
id: problem
attributes:
label: Problem / Motivation
description: What problem does this feature solve? What is the current limitation?
placeholder: "Currently there is no way to…"
validations:
required: true

- type: textarea
id: solution
attributes:
label: Proposed Solution
description: Describe the feature or change you'd like to see.
placeholder: "Add a contract that…"
validations:
required: true

- type: textarea
id: alternatives
attributes:
label: Alternatives Considered
description: Have you considered any alternative approaches?

- type: dropdown
id: area
attributes:
label: Contract Area
description: Which area of the codebase does this affect?
options:
- Token (THINK token)
- Reputation Registry
- Impact NFT
- DAO Governance
- Bounty Escrow
- Staking
- Treasury
- Tooling / Scripts
- Documentation
- Other
validations:
required: true

- type: dropdown
id: difficulty
attributes:
label: Estimated Difficulty
options:
- Easy (< 5 hours)
- Medium (5–8 hours)
- Hard (8+ hours)
81 changes: 81 additions & 0 deletions .github/ISSUE_TEMPLATE/smart_contract.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: Smart Contract Implementation
description: Claim or propose a new smart contract to implement
title: "[Contract]: "
labels: ["smart-contract", "solidity"]
body:
- type: markdown
attributes:
value: |
Use this template to propose a new smart contract implementation or to claim an open contract task.
Check the [open issues](../../issues?q=is%3Aopen+label%3A%22good+first+issue%22) before creating a new one to avoid duplicates.

- type: input
id: contract_name
attributes:
label: Contract Name
description: What will the Solidity contract be called?
placeholder: "e.g. VestingSchedule"
validations:
required: true

- type: input
id: file_path
attributes:
label: File Path
description: Where in the repo will this live?
placeholder: "e.g. contracts/token/VestingSchedule.sol"
validations:
required: true

- type: textarea
id: description
attributes:
label: Description
description: What does this contract do and why is it needed?
validations:
required: true

- type: textarea
id: tasks
attributes:
label: Implementation Tasks
description: List the individual tasks needed to complete this contract.
placeholder: |
- [ ] Design data structures
- [ ] Implement core logic
- [ ] Write tests (>95% coverage)
- [ ] Add NatSpec documentation
- [ ] Deploy to Base Sepolia testnet
validations:
required: true

- type: textarea
id: acceptance
attributes:
label: Acceptance Criteria
description: What conditions must be met for this to be merged?
validations:
required: true

- type: dropdown
id: difficulty
attributes:
label: Difficulty
options:
- Easy (< 5 hours)
- Medium (5–8 hours)
- Hard (8+ hours)
validations:
required: true

- type: checkboxes
id: checklist
attributes:
label: Contributor Checklist
options:
- label: I have checked that no existing issue covers this contract
required: true
- label: I have read CONTRIBUTING.md
required: true
- label: I will follow NatSpec documentation standards
required: true
Loading