chore: claude and agents files for contract#135
Merged
Merged
Conversation
kiseln
reviewed
Feb 17, 2026
|
|
||
| ## Core Functions | ||
|
|
||
| ### Write Methods |
Contributor
There was a problem hiding this comment.
I think all methods are self-explanatory with an exception of gc method
Contributor
There was a problem hiding this comment.
But gc is also described further down below so I would remove this section completely
|
|
||
| A Bitcoin SPV light client implemented as a NEAR Protocol smart contract. It verifies and stores block headers on-chain, enabling trustless verification of Bitcoin (and other UTXO chain) transactions without running a full node. Relayers can submit blocks and they are verified on-chain via proof-of-work validation, difficulty adjustment checks, and chain selection rules. | ||
|
|
||
| **Supported chains** (compile-time feature flags, mutually exclusive): |
Contributor
There was a problem hiding this comment.
Mentioned below in the same document. Let's keep only one instance
olga24912
requested changes
Feb 17, 2026
Collaborator
Author
|
olga24912
approved these changes
Apr 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new local build target for the smart contract and adds comprehensive documentation for the BTC Light Client Contract. The most significant changes are the addition of a
build-localtarget in theMakefilefor easier development on macOS, and the inclusion of a detailed project overview and instructions incontract/CLAUDE.md.Build system improvements:
build-localtarget to theMakefile, allowing developers to build all chain variants locally with macOS-specific LLVM paths. This simplifies development and testing on Apple Silicon machines. [1] [2]Documentation additions:
contract/CLAUDE.md, which provides a thorough overview of the BTC Light Client Contract, including supported chains, core functions, architecture, block submission flow, chain reorganization, transaction verification, and garbage collection.contract/AGENTS.mdto reference the newCLAUDE.mddocumentation file.