Commit Graph
5 Commits
Author SHA1 Message Date
r4bbit 154b41ba5c refactor: rename nssa/nssa_core → lee/lee_core
Follow the spel fork's `nssa → lee` refactor (chore/update-lez): the
`#[lez_program]` macro now emits `lee_core::…` paths, so the crate must be
referenced by its real name rather than the `nssa_core` alias.

- Cargo.toml: rename the `nssa_core`/`nssa` dep keys to `lee_core`/`lee` and
  drop the now-redundant `package = "lee_core"`/`package = "lee"` aliases
  (dep name == package name).
- Rust: `nssa_core::` → `lee_core::`, `nssa::` → `lee::` across programs,
  modules, and tools.
- Docs: update the library reference in CLAUDE.md and README.md.

Also drop the dead `NSSA_WALLET_HOME_DIR` env var — superseded by
`LEE_WALLET_HOME_DIR`, which is the only wallet-home var any v0.2.x wallet
reads — from the test tooling (setup-amm-testnet.sh, custom-token.mjs,
run-basecamp-e2e.sh) and docs.

Closes #225
2026-08-26 12:32:37 +02:00
Andrea Franz 91f07949af feat(stablecoin): add current value projection helpers
closes #166
2026-08-25 16:23:53 +02:00
r4bbit ad020b1c7f docs(token): add token program usage runbook"
A spel-oriented guide for the token program, in the same style as the testnet
runbook but scoped to token operations only: create fungible definitions, hand
out holdings, transfer, mint, burn, rotate/renounce the mint authority, and
print NFTs.

Verified against main (4363f13) on the LEZ v0.2.0 pin: the regenerated IDL
matches artifacts/token-idl.json, all 63 token_program tests pass, and every
quoted abort message exists in programs/token/src.

Documents three constraints that are easy to hit and hard to infer:
- transfer's recipient and mint's holding are not signers, so a fresh account
  cannot be claimed by them — initialize-account first.
- spel has no optional args or optional accounts: Option<account_id> flags are
  always required (pass 'none'), and authority ops are split into self vs
  *-with-authority variants.
- new-definition-with-metadata is unusable from the CLI in spel v0.5.0 and
  v0.6.0 — its serializer has no encoding for IDL 'defined' types.
2026-08-11 12:52:34 +02:00
r4bbit 0a120bd42c docs: add a testnet run book to show how to deploy and use the programs 2026-06-30 15:13:47 +02:00
r4bbit 3774d5112c docs(stablecoin): move design document into docs folder 2026-06-23 16:55:36 +02:00