Skip to content

Feature: Ledger Reads, Builder Publishing, and Network Presets - #13

Merged
sephynox merged 3 commits into
mainfrom
feat/anchor-rs-update-p5
Jul 29, 2026
Merged

Feature: Ledger Reads, Builder Publishing, and Network Presets#13
sephynox merged 3 commits into
mainfrom
feat/anchor-rs-update-p5

Conversation

@sephynox

@sephynox sephynox commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

The node client could transmit blocks but not read the ledger back, and every client had to be constructed from a raw URL and network id. This adds the read surface (blocks, chains, history, ACLs, votes), a publish path that accepts a caller-composed block builder, and well-known network presets so a client is one call from a network name.

Related Issues

Changes Made

  • KeetaClient reads blocks, chains, history, ACLs, votes, and vote quotes
  • UserClient adds account-scoped reads plus SetInfo and UpdatePermissions
  • Publish positions a caller's builder on the head and pays fees on transmit
  • GenerateIdentifier derives and claims an identifier account in one call
  • CreateKeetaClient and CreateUserClient accept a KeetaNetwork preset
  • TransmitOptions.Quote reuses a pre-fetched vote quote

Testing

  • make test: passes

Breaking Changes

None.

@sephynox
sephynox force-pushed the feat/anchor-rs-update-p5 branch from d099a29 to 9a43bfb Compare July 29, 2026 18:33
@sephynox
sephynox force-pushed the feat/anchor-rs-update-p5 branch from 9a43bfb to 0a4d944 Compare July 29, 2026 19:01
@sephynox
sephynox force-pushed the feat/anchor-rs-update-p5 branch from 0a4d944 to 3b44efd Compare July 29, 2026 19:41
@sephynox
sephynox force-pushed the feat/anchor-rs-update-p5 branch from 3b44efd to 668f14f Compare July 29, 2026 19:53
Base automatically changed from feat/anchor-rs-update-p4 to main July 29, 2026 20:00
@sephynox
sephynox force-pushed the feat/anchor-rs-update-p5 branch from 668f14f to 1cbb4c2 Compare July 29, 2026 20:00

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale comment

Identified one net-new security finding after module triage and deduplication.

Open in Web View Automation 

Sent by Cursor Security Agent: Security Reviewer

Comment thread src/KeetaNet.Anchor/Services/Node/UserClient.cs
@sephynox
sephynox force-pushed the feat/anchor-rs-update-p5 branch from 1cbb4c2 to e804992 Compare July 29, 2026 20:24
@sephynox
sephynox force-pushed the feat/anchor-rs-update-p5 branch from e804992 to ca21dc6 Compare July 29, 2026 20:25
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
75.6% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@sephynox
sephynox merged commit 986e857 into main Jul 29, 2026
6 of 7 checks passed
@sephynox
sephynox deleted the feat/anchor-rs-update-p5 branch July 30, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants