Add ContractKit plugin for Foundry smart contract development#270
Open
HCS412 wants to merge 4 commits intoanthropics:mainfrom
Open
Add ContractKit plugin for Foundry smart contract development#270HCS412 wants to merge 4 commits intoanthropics:mainfrom
HCS412 wants to merge 4 commits intoanthropics:mainfrom
Conversation
ContractKit is a Claude Code plugin for generating complete smart contract projects from safe Foundry templates. Features include: - 4 blueprint templates: ERC20, ERC721, Escrow, Vault - 8 skills: /new, /test, /local, /deploy, /call, /status, /explain, /audit-lite - Complete test suites and deployment scripts - Security documentation and threat models - OpenZeppelin-based implementations Repository: https://github.com/HCS412/contractkit Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Thanks for your interest! This repo only accepts contributions from Anthropic team members. If you'd like to submit a plugin to the marketplace, please submit your plugin here. |
- Update Solidity version to ^0.8.24 for OpenZeppelin 5.x compatibility - Add ERC721Receiver interface to NFT test - Fix forge fmt formatting issues - Fix Escrow test (add vm.deal for payee) - Fix Vault test line length formatting - All templates now compile and pass tests Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Third-party plugins belong in /external_plugins, not /plugins (which is reserved for Anthropic-maintained plugins). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Author
|
Update: Moved ContractKit from Security model:
Template validation: |
Security model prominently displayed: - Key handling (local only, no transmission) - Deployment scope (local + Sepolia, no mainnet) - Audit-lite disclaimer Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.
Summary
ContractKit is a Claude Code plugin for generating complete Foundry smart contract projects from safe templates.
Features
/contractkit:new- Scaffold new projects from templates/contractkit:test- Run Foundry test suites/contractkit:local- Start local Anvil node/contractkit:deploy- Deploy contracts to networks/contractkit:call- Interact with deployed contracts/contractkit:status- Check project and network status/contractkit:explain- Explain contract code/contractkit:audit-lite- Quick security reviewRepository
https://github.com/HCS412/contractkit
Changes
plugins/contractkit/directory with complete plugin.claude-plugin/marketplace.jsonTesting
forge buildforge test🤖 Generated with Claude Code