MCPcopy Index your code
hub / github.com/argotorg/sourcify

github.com/argotorg/sourcify @v2.6.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.6.0 ↗ · + Follow
509 symbols 1,222 edges 175 files 32 documented · 6%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

 

  sourcify logo

codecov

Sourcify (sourcify.dev) is a Solidity source code and metadata verification tool.

The project aims to serve as an infrastructure for other tools with an open repository of verified contracts as well as an API and other services. The goal is to make contract interactions on the blockchain safer and more user friendly with open sourced contract codes, contract ABI, and NatSpec comments available via the contract metadata.

ℹ️ This monorepo contains the main services and the verification UI. The sourcifyeth Github organization contains all other auxiliary services and components.

Documentation

For more details refer to docs.sourcify.dev

Questions?

🔍 Check out docs F.A.Q. and use search in docs.

💬 Chat with us on Gitter or Matrix chat

🐦 Follow us and help us spread the word on Twitter.

Adding a new chain

If you'd like to add a new chain support to Sourcify please follow the chain support instructions in docs.

Extension points exported contracts — how you extend this code

IResponseError (Interface)
(no doc) [8 implementers]
src/common/interfaces.ts
IVerificationService (Interface)
(no doc) [2 implementers]
src/server/services/VerificationService.ts
IGateway (Interface)
(no doc) [1 implementers]
src/monitor/gateway.ts
JsonRpcProviderWithUrl (Interface)
(no doc)
packages/lib-sourcify/src/lib/SourcifyChain.ts
SourcifyChainsExtensionsObject (Interface)
(no doc)
src/sourcify-chains.ts
ContextInterface (Interface)
(no doc)
ui/src/Context.tsx
IController (Interface)
(no doc)
src/common/interfaces.ts
IRepositoryService (Interface)
(no doc) [1 implementers]
src/server/services/RepositoryService.ts

Core symbols most depended-on inside this repo

verifyContract
called by 100
test/chains/chain-tests.js
getBlockscoutRegex
called by 65
src/sourcify-chains.ts
trigger
called by 21
src/common/EventManager.ts
safeHandler
called by 17
src/server/controllers/controllers.common.ts
expectMatch
called by 16
packages/lib-sourcify/test/utils.ts
assertSingleContractStatus
called by 15
test/server.js
deployFromAbiAndBytecode
called by 15
test/helpers/helpers.js
buildAlchemyAndCustomRpcURLs
called by 14
src/sourcify-chains.ts

Shape

Function 293
Method 99
Interface 64
Class 48
Enum 5

Languages

TypeScript100%

Modules by API surface

src/server/services/RepositoryService.ts40 symbols
packages/lib-sourcify/src/lib/types.ts30 symbols
src/monitor/source-fetcher.ts23 symbols
src/server/controllers/verification/verification.common.ts18 symbols
packages/lib-sourcify/src/lib/validation.ts17 symbols
packages/lib-sourcify/src/lib/CheckedContract.ts17 symbols
packages/lib-sourcify/src/lib/verification.ts14 symbols
test/monitor.js12 symbols
packages/lib-sourcify/src/lib/hashFunctions/ipfsHash.ts12 symbols
ui/src/pages/Lookup/Result.tsx10 symbols
test/helpers/helpers.js9 symbols
src/sourcify-chains.ts9 symbols

For agents

$ claude mcp add sourcify \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page