Skip to content

Commit aca1eef

Browse files
committed
feat: add knowledge base content
1 parent 1c402fa commit aca1eef

4 files changed

Lines changed: 58 additions & 2 deletions

File tree

sites/wonderland/docs/development/solidity/onboarding/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This onboarding process is designed to provide you with the necessary knowledge,
88

99
The onboarding is divided into two key sections:
1010

11-
- [Knowledge Base](/docs/development/solidity/onboarding/knowledge-base): A comprehensive guide covering coding standards, best practices, and essential tools.
11+
- [Knowledge Base](/docs/development/solidity/onboarding/knowledge-base/overview): A comprehensive guide covering coding standards, best practices, and essential tools.
1212
- [Coding Challenges](/docs/development/solidity/onboarding/challenges/overview): A series of Solidity and Security exercises to assess and refine your skills.
1313

1414
## 🛰️ Comms

sites/wonderland/docs/development/solidity/onboarding/knowledge-base.md renamed to sites/wonderland/docs/development/solidity/onboarding/knowledge-base/overview.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: Overview
3+
---
4+
15
# Knowledge Base
26

37
The Knowledge Base serves as the cornerstone of our onboarding process. It contains information about our organization’s coding style, best practices, and the tools we use to write, test, and maintain Solidity code. By familiarizing yourself with the Knowledge Base, you ensure that you can align with our standards and workflows.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: Recommended Resources
3+
---
4+
5+
Working in DeFi often means standing on the shoulders of giants and using existing code to speed up development. Some contracts are forked more often than others, and with time, they become famous or influential.
6+
7+
:::tip Ecosystem Awareness
8+
Understanding these foundational contracts and standards is crucial for DeFi development. When you encounter similar patterns in protocols, you will recognize the battle-tested approaches that have shaped the ecosystem.
9+
:::
10+
11+
## 🏗️ Foundational Contracts
12+
13+
These are the contracts that have shaped DeFi and continue to influence new protocols:
14+
15+
### Core Infrastructure
16+
- [Chainlink](https://docs.chain.link/data-feeds) - The global standard for blockchain connectivity.
17+
- [Connext](https://docs.connext.network/) - Cross-chain communication protocol.
18+
- [Gnosis Safe Multisig](https://github.com/safe-global/safe-smart-account/tree/main/contracts) - Multi-signature wallet standard used across DeFi.
19+
- [OpenZeppelin Library](https://docs.openzeppelin.com/contracts/5.x/) - The gold standard for secure, audited implementations.
20+
21+
### DeFi Primitives
22+
- [Synthetix](https://github.com/Synthetixio/synthetix/blob/develop/contracts/StakingRewards.sol) - Staking rewards pattern used across protocols.
23+
- [UniswapV4 Hooks](https://docs.uniswap.org/contracts/v4/concepts/hooks) - Next-generation AMM extensibility.
24+
- [Aave](https://aave.com/docs) - DeFi's largest lending network.
25+
26+
Some of the contracts and concepts above are pretty advanced, it is ok if you do not understand them completely. Just keep in mind that they exist for when you need them.
27+
28+
## 📚 Essential Standards & Concepts
29+
30+
These are the building blocks that define the DeFi ecosystem:
31+
32+
### Ethereum Improvements
33+
- [EIP-1559: Fee market change](https://eips.ethereum.org/EIPS/eip-1559) - Understanding gas pricing mechanics.
34+
- [EIP-7702: Set Code for EOAs](https://eips.ethereum.org/EIPS/eip-7702) - Givin EOAs super powers.
35+
36+
### Ecosystem Standards
37+
- [ERC-3643: The Token Standard for RWA Tokenization](https://www.erc3643.org/) - Real-world asset tokenization.
38+
- [ERC-4337: Account Abstraction](https://www.erc4337.io/) - Smart account infrastructure.
39+
- [ERC4626 vault](https://erc4626.info/) - The vault standard that revolutionized yield-bearing tokens.
40+
41+
### Contract Creation Patterns
42+
- [CREATE, CREATE2, CREATE3](https://blog.solichain.com/the-ultimate-guide-to-create-create2-and-create3-cc6fe71c6d40) - Deterministic contract deployment.
43+
- [CREATEX](https://github.com/pcaversaccio/createx?tab=readme-ov-file) - Advanced deployment patterns.
44+
45+
Don't worry about understanding everything at once. Focus on the patterns that appear most frequently in the ecosystem, then expand your knowledge as you encounter new challenges.

sites/wonderland/sidebars.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,14 @@ const sidebars: SidebarsConfig = {
156156
label: "Onboarding",
157157
items: [
158158
"development/solidity/onboarding/getting-started",
159-
"development/solidity/onboarding/knowledge-base",
159+
{
160+
type: "category",
161+
label: "Knowledge Base",
162+
items: [
163+
"development/solidity/onboarding/knowledge-base/overview",
164+
"development/solidity/onboarding/knowledge-base/recommended-resources",
165+
],
166+
},
160167
{
161168
type: "category",
162169
label: "Challenges",

0 commit comments

Comments
 (0)