Skip to content

Commit 8033d6a

Browse files
committed
diff ..
1 parent d6d9b6d commit 8033d6a

9 files changed

Lines changed: 1179 additions & 30 deletions

File tree

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
1-
blank_issues_enabled: true
1+
blank_issues_enabled: false
22
contact_links:
3-
- name: Support & Troubleshooting with the Substrate Stack Exchange Community
3+
- name: REChain Documentation
4+
url: https://docs.rechain.network
5+
about: Check the documentation for help and guides
6+
7+
- name: Discord Community
8+
url: https://discord.gg/rechain
9+
about: Join our Discord for community discussions
10+
11+
- name: Security Issues
12+
url: mailto:security@rechain.network
13+
about: Report security vulnerabilities privately
14+
15+
- name: Stack Exchange
416
url: https://substrate.stackexchange.com
5-
about: |
6-
For general problems with Substrate or related technologies, please search here first
7-
for solutions, by keyword and tags. If you discover no solution, please then ask and questions in our community! We highly encourage everyone also share their understanding by answering questions for others.
17+
about: Ask technical questions on Stack Exchange

.github/codeql-config.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: "REChain Security Analysis"
2+
3+
disable-default-queries: false
4+
5+
queries:
6+
- uses: security-experimental
7+
- uses: security-and-quality
8+
- uses: security-experimental/cwe-190
9+
- uses: security-experimental/cwe-681
10+
11+
paths-ignore:
12+
- "**/tests/**"
13+
- "**/*.test.rs"
14+
- "**/mock.rs"
15+
- "target/**"
16+
- "**/node_modules/**"
17+
18+
paths:
19+
- "substrate/frame"
20+
- "rechain"
21+
- "bridges"
22+
- "cumulus"
23+
24+
query-filters:
25+
- exclude:
26+
id: rust/constant-comparison
27+
reason: "Not relevant for blockchain consensus code"
28+
29+
- exclude:
30+
id: rust/unsafe-code-used
31+
reason: "Blockchain runtime requires some unsafe operations"
32+
33+
- exclude:
34+
id: rust/panic
35+
reason: "Blockchain runtime handles panics gracefully"

.github/dependabot.yml

Lines changed: 49 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,55 @@
11
version: 2
22
updates:
3-
# Update github actions:
4-
- package-ecosystem: github-actions
5-
directory: '/'
6-
labels: ["A1-insubstantial", "R0-silent"]
7-
schedule:
8-
interval: weekly
9-
groups:
10-
ci_dependencies:
11-
patterns:
12-
- "*"
13-
# Update Rust dependencies:
3+
# Rust dependencies
144
- package-ecosystem: "cargo"
155
directory: "/"
16-
labels: ["A1-insubstantial", "R0-silent"]
176
schedule:
187
interval: "weekly"
19-
groups:
20-
# We assume these crates to be semver abiding and can therefore group them together.
21-
known_good_semver:
22-
patterns:
23-
- "syn"
24-
- "quote"
25-
- "log"
26-
- "paste"
27-
- "*serde*"
28-
- "clap"
29-
update-types:
30-
- "minor"
31-
- "patch"
8+
day: "monday"
9+
time: "09:00"
10+
open-pull-requests-limit: 10
11+
assignees:
12+
- "REChain-Network-Solutions/maintainers"
13+
reviewers:
14+
- "REChain-Network-Solutions/developers"
15+
commit-message:
16+
prefix: "chore"
17+
include: "scope"
18+
labels:
19+
- "dependencies"
20+
- "automated"
21+
22+
# GitHub Actions
23+
- package-ecosystem: "github-actions"
24+
directory: "/"
25+
schedule:
26+
interval: "weekly"
27+
day: "monday"
28+
time: "09:00"
29+
open-pull-requests-limit: 5
30+
assignees:
31+
- "REChain-Network-Solutions/devops"
32+
commit-message:
33+
prefix: "chore"
34+
include: "scope"
35+
36+
# Docker images
37+
- package-ecosystem: "docker"
38+
directory: "/"
39+
schedule:
40+
interval: "weekly"
41+
day: "tuesday"
42+
time: "10:00"
43+
open-pull-requests-limit: 5
44+
45+
# NPM packages (for SDKs and tools)
46+
- package-ecosystem: "npm"
47+
directory: "/sdk"
48+
schedule:
49+
interval: "weekly"
50+
day: "wednesday"
51+
time: "11:00"
52+
open-pull-requests-limit: 5
53+
commit-message:
54+
prefix: "chore"
55+
include: "scope"

.github/workflows/security.yml

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
name: Security Analysis
2+
3+
on:
4+
push:
5+
branches: [ main, develop ]
6+
pull_request:
7+
branches: [ main, develop ]
8+
schedule:
9+
- cron: '0 6 * * 1' # Weekly on Monday at 6 AM UTC
10+
11+
jobs:
12+
security-audit:
13+
name: Security Audit
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
19+
- name: Install Rust toolchain
20+
uses: actions-rust-toolchain@v1
21+
with:
22+
toolchain: stable
23+
24+
- name: Install security tools
25+
run: |
26+
cargo install cargo-audit
27+
cargo install cargo-deny
28+
29+
- name: Run security audit
30+
run: cargo audit
31+
32+
- name: Check dependencies
33+
run: cargo deny check
34+
35+
- name: Run Clippy with security warnings
36+
run: cargo clippy --workspace --all-targets -- -W clippy::pedantic -W clippy::nursery -W clippy::cargo
37+
38+
codeql-analysis:
39+
name: CodeQL Analysis
40+
runs-on: ubuntu-latest
41+
permissions:
42+
actions: read
43+
contents: read
44+
security-events: write
45+
46+
steps:
47+
- name: Checkout repository
48+
uses: actions/checkout@v4
49+
50+
- name: Initialize CodeQL
51+
uses: github/codeql-action/init@v3
52+
with:
53+
languages: javascript, rust
54+
config-file: ./.github/codeql-config.yml
55+
56+
- name: Install Rust toolchain
57+
uses: actions-rust-toolchain@v1
58+
with:
59+
toolchain: stable
60+
61+
- name: Build project
62+
run: cargo build --workspace
63+
64+
- name: Perform CodeQL Analysis
65+
uses: github/codeql-action/analyze@v3
66+
67+
slither-analysis:
68+
name: Slither Smart Contract Analysis
69+
runs-on: ubuntu-latest
70+
if: contains(github.event.head_commit.message, '[smart-contract]') || contains(github.event.pull_request.title, 'smart contract')
71+
72+
steps:
73+
- name: Checkout code
74+
uses: actions/checkout@v4
75+
76+
- name: Install Node.js
77+
uses: actions/setup-node@v4
78+
with:
79+
node-version: '18'
80+
81+
- name: Install Slither
82+
run: pip install slither-analyzer
83+
84+
- name: Run Slither analysis
85+
run: |
86+
find . -name "*.sol" -exec slither {} \;
87+
88+
fuzzing:
89+
name: Fuzzing Tests
90+
runs-on: ubuntu-latest
91+
steps:
92+
- name: Checkout code
93+
uses: actions/checkout@v4
94+
95+
- name: Install nightly toolchain
96+
uses: actions-rust-toolchain@v1
97+
with:
98+
toolchain: nightly
99+
100+
- name: Install cargo-fuzz
101+
run: cargo install cargo-fuzz
102+
103+
- name: Run fuzzing targets
104+
run: |
105+
find . -name "fuzz_targets" -type d -exec cargo fuzz run --manifest-path {}/../Cargo.toml {} \;

AUTHORS.md

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
# Authors & Contributors
2+
3+
## Core Team
4+
5+
### REChain Network Solutions LLC
6+
7+
**Leadership:**
8+
- **CEO & Founder**: [Name] - Visionary leader and blockchain architect
9+
- **CTO**: [Name] - Technical director and system architect
10+
- **Head of Research**: [Name] - Research and development lead
11+
12+
**Development Team:**
13+
- **Senior Blockchain Engineer**: [Name] - Core protocol development
14+
- **Smart Contract Developer**: [Name] - DeFi and NFT contract development
15+
- **Security Engineer**: [Name] - Security auditing and vulnerability assessment
16+
- **DevOps Engineer**: [Name] - Infrastructure and deployment automation
17+
- **Frontend Developer**: [Name] - User interface and SDK development
18+
19+
## Contributors
20+
21+
### Major Contributors
22+
23+
**Pallet Development:**
24+
- **Web3/Web4/Web5 Pallets**: Original ecosystem architecture
25+
- **DeFi Pallet**: Complete decentralized finance implementation
26+
- **NFT Pallet**: Advanced marketplace with royalty systems
27+
- **Bridge Pallet**: Cross-chain interoperability solutions
28+
- **Governance Pallet**: Democratic governance mechanisms
29+
- **Oracle Pallet**: External data feed integration
30+
- **ZKP Pallet**: Privacy-preserving computation systems
31+
- **Layer 2 Pallet**: Scaling solution implementations
32+
- **AI Pallet**: Machine learning integration
33+
- **IoT Pallet**: Internet of Things blockchain integration
34+
35+
**Infrastructure & Tools:**
36+
- **CI/CD Pipeline**: Automated testing and deployment systems
37+
- **SDK Generation**: Multi-language SDK development tools
38+
- **Documentation**: Comprehensive documentation architecture
39+
- **Security Framework**: Security auditing and compliance tools
40+
41+
### Community Contributors
42+
43+
We would like to thank all community members who have contributed to the REChain SDK:
44+
45+
**Code Contributions:**
46+
- [Contributor Name] - [Specific contribution]
47+
- [Contributor Name] - [Specific contribution]
48+
49+
**Bug Reports & Testing:**
50+
- [Tester Name] - Comprehensive testing and bug reporting
51+
- [Tester Name] - Security vulnerability discovery
52+
53+
**Documentation:**
54+
- [Documentation Contributor] - Documentation improvements and translations
55+
- [Documentation Contributor] - Tutorial and guide creation
56+
57+
**Community Support:**
58+
- [Community Member] - Active community participation and support
59+
- [Community Member] - Educational content creation
60+
61+
## Acknowledgments
62+
63+
### Open Source Projects
64+
We extend our gratitude to the open source projects that have made this work possible:
65+
66+
- **Substrate Framework** - The foundation of our blockchain platform
67+
- **Polkadot Ecosystem** - Inspiration and technical foundation
68+
- **Rust Community** - The programming language and ecosystem
69+
- **Web3 Foundation** - Standards and interoperability protocols
70+
71+
### Technical Advisors
72+
- **Blockchain Security Expert** - Security architecture guidance
73+
- **DeFi Protocol Expert** - Decentralized finance design consultation
74+
- **Cryptography Specialist** - Zero-knowledge proof implementation review
75+
76+
### Academic Partners
77+
- **University Research Labs** - Collaborative research initiatives
78+
- **Blockchain Research Centers** - Academic validation and peer review
79+
80+
## How to Contribute
81+
82+
We welcome contributions from the community! Please see our [Contributing Guide](.github/CONTRIBUTING.md) for details on how to get involved.
83+
84+
### Contribution Types
85+
- **Code Development**: New features, bug fixes, optimizations
86+
- **Documentation**: Guides, tutorials, API documentation
87+
- **Testing**: Test cases, integration tests, security testing
88+
- **Community Support**: Help others, answer questions, organize events
89+
- **Design**: User interface, user experience, visual design
90+
- **Research**: Academic research, technical analysis, market research
91+
92+
## Recognition Programs
93+
94+
### Contributor Hall of Fame
95+
Contributors who make significant impacts are inducted into our Hall of Fame:
96+
97+
- **Code Champions**: Outstanding technical contributions
98+
- **Community Heroes**: Exceptional community support
99+
- **Security Guardians**: Important security contributions
100+
- **Documentation Stars**: Major documentation improvements
101+
102+
### Rewards & Incentives
103+
- **Bug Bounty Program**: Rewards for security vulnerability discoveries
104+
- **Feature Bounties**: Compensation for major feature implementations
105+
- **Community Recognition**: Public acknowledgment and credits
106+
- **Governance Participation**: Voting rights in project decisions
107+
108+
## Contact
109+
110+
### Team Contact
111+
- **General Inquiries**: info@rechain.network
112+
- **Technical Support**: dev@rechain.network
113+
- **Business Partnerships**: partnerships@rechain.network
114+
- **Security Issues**: security@rechain.network
115+
116+
### Community Contact
117+
- **Discord**: https://discord.gg/rechain
118+
- **GitHub Issues**: https://github.com/REChain-Network-Solutions/SDK/issues
119+
- **GitHub Discussions**: https://github.com/REChain-Network-Solutions/SDK/discussions
120+
121+
## Join Our Mission
122+
123+
REChain Network Solutions LLC is building the most advanced blockchain platform for the future of decentralized technology. Join us in creating the next generation of Web3, Web4, and Web5 applications.
124+
125+
### Open Positions
126+
We are always looking for talented individuals to join our team:
127+
128+
- **Blockchain Developers**: Rust, Substrate, smart contract development
129+
- **Security Engineers**: Cryptography, security auditing, penetration testing
130+
- **DevOps Engineers**: Infrastructure, CI/CD, monitoring
131+
- **Product Managers**: Product strategy, roadmap planning
132+
- **Community Managers**: Community building, developer relations
133+
- **Technical Writers**: Documentation, tutorials, guides
134+
135+
### Internship Program
136+
We offer internship opportunities for students and recent graduates interested in blockchain technology.
137+
138+
---
139+
140+
*This document was last updated on $(date)*
141+
*REChain Network Solutions LLC - Building the Future of Decentralized Technology*

0 commit comments

Comments
 (0)