-
Notifications
You must be signed in to change notification settings - Fork 196
Add RPC API to usage examples, improve self-confidence #5936
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
Changes from 4 commits
e22a2c3
2634c02
e635fd7
f860b53
cd4d3a3
a26187f
385ff0f
6c93f8b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,11 +23,15 @@ Need a specific method? Let us know on | |
|
|
||
| The RPC interface is the primary mechanism for interacting with Forest. | ||
|
|
||
| As there is presently no cross-client specification, the Lotus | ||
| [V0](https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-v0-methods.md) | ||
| Before June 2025, the Lotus | ||
| [V0](https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-methods-v0-deprecated.md) | ||
| and | ||
| [V1](https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-v1-unstable-methods.md) | ||
| APIs are the reference for Forest's implementation. | ||
| [V1](https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-methods-v1-stable.md) | ||
| APIs served as the reference for Forest's implementation. | ||
|
|
||
| Since then, the [Common Node API](https://github.com/filecoin-project/FIPs/blob/master/FRCs/frc-0104.md) | ||
| has been the standard for RPC methods across Filecoin clients, replacing the Lotus-specific API as | ||
| the primary reference for V1 methods. | ||
|
|
||
|
Comment on lines
+32
to
33
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent 🧩 Analysis chainFuture-proof the tense and tighten wording; consider pinning external references Two tweaks:
Also, consider pinning external links (Lotus docs and FRC-0104) to a specific commit to avoid link rot when default-branch files move. Apply this diff: -Since June 2025, the [Common Node API](https://github.com/filecoin-project/FIPs/blob/master/FRCs/frc-0104.md) has been the standard for RPC methods across Filecoin clients, replacing the Lotus-specific API as the primary reference for V1 methods.
+As of June 2025, the [Common Node API](https://github.com/filecoin-project/FIPs/blob/master/FRCs/frc-0104.md) is the standard for RPC methods across Filecoin clients, replacing Lotus-specific APIs as the primary reference for V1 methods.You can quickly validate that all referenced URLs resolve (HTTP 200) with: 🏁 Script executed: #!/bin/bash
set -euo pipefail
urls=(
"https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-methods-v0-deprecated.md"
"https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-methods-v1-stable.md"
"https://github.com/filecoin-project/FIPs/blob/master/FRCs/frc-0104.md"
)
for u in "${urls[@]}"; do
code=$(curl -s -o /dev/null -w "%{http_code}" "$u")
echo "$code $u"
if [[ "$code" != "200" ]]; then
echo "Non-200 for: $u"
fi
doneLength of output: 1446 Tighten wording and future-proof the tense • File: Suggested diff: -As of June 2025, the [Common Node API](https://github.com/filecoin-project/FIPs/blob/master/FRCs/frc-0104.md) is the standard for RPC methods across Filecoin clients, replacing Lotus-specific APIs as the primary reference for V1 methods.
+As of June 2025, the [Common Node API](https://github.com/filecoin-project/FIPs/blob/<COMMIT_SHA>/FRCs/frc-0104.md) is the standard for RPC methods across Filecoin clients, replacing Lotus-specific APIs as the primary reference for V1 methods.Replace
🤖 Prompt for AI Agents |
||
| :::info | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: word golf