Tutorials still teach the deprecated stellar contract bindings typescript command
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 62/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- git, javascript, typescript
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu với các trang MDX được liệt kê, bắt đầu từ docs/build/smart-contracts/getting-started/hello-world-frontend.mdx quanh các dòng 58-61, và tìm mọi vị trí chạy stellar contract bindings typescript. Kiểm tra mục "CLI" trong README của SDK ở phiên bản v17.4.0 để tìm lệnh của trình tạo thay thế. Hoàn thành khi mỗi trang được liệt kê đều dùng trình tạo của SDK, ghi rõ phiên bản major của SDK (17.x) và pnpm validate chạy thành công.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Page: several (listed below)
Files:
docs/build/smart-contracts/getting-started/hello-world-frontend.mdx:58-61docs/build/guides/dapps/frontend-guide.mdx:820docs/build/guides/dapps/soroban-contract-init-template.mdx:88docs/build/guides/basics/verify-trustlines.mdx:218docs/build/apps/guestbook/bindings.mdx:57docs/build/apps/dapp-frontend.mdx:208and:364docs/learn/fundamentals/contract-development/types/fully-typed-contracts.mdx:83
What's wrong:
These pages tell readers to run stellar contract bindings typescript. The CLI marks that command deprecated and points to the JS SDK instead (stellar-cli reference on this site). It also still generates packages pinned to an older SDK major, not v17 (see the @stellar/stellar-sdk range in the CLI's TypeScript template), so apps that follow these pages get a second, older SDK copy next to v17.
Change needed:
Teach the SDK's own generator on each page, and say which SDK major the generated package uses.
Correct reference:
- SDK generator command (v17.4.0): README "CLI"
- Generated packages pin the current SDK version (v17.4.0):
src/bindings/config.ts#L54
How to check the fix:
- Each tutorial's binding step runs with
npx @stellar/stellar-sdk generateand the generated package installs@stellar/stellar-sdk17.x. npm ls @stellar/stellar-sdkin the tutorial project shows one copy.- No page outside
docs/tools/cli/stellar-cli.mdx(generated from the CLI) tells readers to run the deprecated command. pnpm validatepasses.
Why it matters: At HackMeridian 2026, apps that generated bindings this way ended up with an older SDK copy next to v17; one team pinned its whole app to an older major because of it.
Related: #2561 (adds the generator to the client SDKs page), #2564 (cross-links; mentions the generator for fully-typed-contracts.mdx), #2960 (frontend guide).
- Ngôn ngữ chính
- MDX
- Star
- 145
- Fork
- 326
- Merge trung bình
- 2 ngày 18 giờ
- Pull request đã merge (30 ngày)
- 109
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của stellar/stellar-docs
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 73/100
stellar/stellar-docs#3059 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
raven
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
stellar/stellar-docs#2998 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bot:hands-off
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
stellar/stellar-docs#2980 · 3 bình luận · 1 reaction · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
stellar/stellar-docs#2921 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Document how a dApp detects a wallet's in-app browser and connects directlyCó thể làm lại được @legend4tech đã nhận 44 ngày trước và không có pull request nào đang mở. Đang mởdocumentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
stellar/stellar-docs#2875 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của stellar/stellar-docs
Issue tương tự
-
idea-scout idea:452
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 86/100
jeanibarz/agent-notebook#452 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
level/task
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
wazuh/wazuh-dashboard-plugins#9642 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ContributingĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Ruby: The link in the Blocks lesson points to an external article that isn't at that address anymoreĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
TheOdinProject/curriculum#31529 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100