Skip to content

docs: sharpen top-level README and fix inaccurate test/dependency docs#88

Merged
mikemaccana merged 10 commits into
mainfrom
claude/quicknode-solana-programs-plsus8
Jun 30, 2026
Merged

docs: sharpen top-level README and fix inaccurate test/dependency docs#88
mikemaccana merged 10 commits into
mainfrom
claude/quicknode-solana-programs-plsus8

Conversation

@mikemaccana

@mikemaccana mikemaccana commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

Documentation-only changes to the top-level README.md and CONTRIBUTING.md. Sharpens the lead, corrects test/dependency instructions that no longer matched the code, and tightens the Financial Software section.

README.md

  • Lead paragraph: state the concrete toolchain (Anchor 1.1, current multi-file program layout, LiteSVM) instead of a vague "current toolchain" claim, and orient newcomers ("what other chains call smart contracts").
  • Test instructions: examples run via their framework's command (anchor test, cargo test --manifest-path=…, quasar test), not pnpm test — most example directories have no package.json and the repo root has no test script. Reconciled the frameworks list with Getting Started so they agree.
  • Financial Software: collapsed the intro to a single sentence (each program already has its own description) and trimmed the formal-verification note to a two-sentence pointer into the finance/<program>/kani-proofs/ crates.
  • Lending: added the finance/lending example, which existed on disk but was not linked from the README.
  • Moved the Solana Foundation acknowledgement into its own section near the footer.
  • Pointed the [Quicknode] links at https://www.quicknode.com/chains/solana.

CONTRIBUTING.md

  • Replaced the pnpm test instruction with the per-framework test commands.
  • Corrected the stale dependency note: solana-bankrun is gone entirely, and Native/Pinocchio/ASM examples are tested exclusively with Rust + LiteSVM. The only remaining @solana/web3.js v1 usage is in a couple of wallet-adapter frontend demo apps under tokens/token-extensions/. Updated the Project structure note to match.

https://claude.ai/code/session_01Bg5jG3Fyx6cR4kkxPmksgA

Drop the "DeFi" framing in favor of a description that points at what
actually differentiates this repo (documented invariants, LiteSVM
test suites) and add the finance/lending example, which existed on
disk but was never linked from the README.
The previous commit accidentally wrote a base64-encoded string as the
literal file content instead of plain text, truncating the README.
This restores the full file with the intended Financial Software
section edits.
Replace the overwrought intro paragraph with a single sentence; each
program already has its own description below, so the intro doesn't
need to enumerate primitives or invariants.
- State the concrete toolchain (Anchor 1.1, multi-file layout, LiteSVM)
  instead of a vague "current toolchain" claim.
- Orient newcomers ("what other chains call smart contracts").
- Fix the test instructions: examples run via their framework's command
  (anchor test / cargo test / quasar test), not `pnpm test` — most
  example dirs have no package.json. Reconcile the frameworks list and
  Getting Started so they agree.
- Move the Solana Foundation acknowledgement to its own section near the
  footer so it credits the origin without framing the top of the page.
- Tests run via the framework command (anchor test / cargo test /
  quasar test), not `pnpm test`; most example dirs have no package.json
  and the root has no test script.
- Native/Pinocchio/ASM tests are Rust + LiteSVM exclusively; the
  web3.js v1 / solana-bankrun TS suites were removed (per CHANGELOG).
  The only remaining web3.js v1 is in two wallet-adapter frontend demo
  apps under tokens/token-extensions/, which the ecosystem still
  requires. Fix the Project structure note to match.
The full detail (invariant list, weekly schedule, the two findings,
why the proofs are slow) lives in each finance/<program>/kani-proofs/
README. The front page only needs the differentiator and a pointer.
End the bullet at where the remaining usage lives; drop the prescriptive
tail (these demo apps will move to Solana Kit later).
End at "test with `anchor test`"; drop the cargo test / Anchor.toml aside.
@mikemaccana mikemaccana changed the title Update financial primitives documentation with lending and invariants docs: sharpen top-level README and fix inaccurate test/dependency docs Jun 30, 2026
@mikemaccana mikemaccana merged commit b68b762 into main Jun 30, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant