# 开发者接入

## 推荐工具栈

* **Solidity**: Foundry-zksync (`forge` / `cast` / `anvil-zksync`)
* **TypeScript**: viem ≥ 2.x + @babydriver/sdk
* **Rust**: alloy 0.8+ + baby-modules workspace

## 起步

```bash
git clone https://github.com/leeleeEcho/babyDriver_Layer2.git
cd babyDriver_Layer2/contracts
forge install
forge test # 905 tests pass
```

## 关键参考

* [Chain 391 合约地址](/consolidated-resources/contract-addresses-chain-391.md)
* [TypeScript SDK](/integration-jie-ru-fang-shi/sdk-typescript.md)
* [Foundry / cast 工具链](/integration-jie-ru-fang-shi/tooling-foundry-cast.md)
* [合约 ABI](/integration-jie-ru-fang-shi/contract-abi.md)
* [测试覆盖率](/consolidated-resources/test-coverage.md) — 905 tests / 75.75% branch
* [Pre-audit Self Review](https://github.com/leeleeEcho/babyDriver_Layer2/blob/main/docs/audit/pre-audit-self-review-2026-05-07.md) — 已修 finding

## 贡献流程

1. Fork repo → branch off main
2. `forge test` 全绿 + `cargo test --workspace` 全绿
3. Slither 扫一遍（[venv 配置](/security/known-issues.md)）
4. PR 描述明确改动 + 关联 task #


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://yellowpaper.axblade.io/getting-started/for-developers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
