Skip to content

Release for repo.sourcify.dev #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 62 commits into from
Apr 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
8e127bd
Use Sourcify fonts
kuzdogan Apr 4, 2025
9a4c738
Add Umami script
kuzdogan Apr 8, 2025
098e015
Remove Navigation components
kuzdogan Apr 9, 2025
6cd515c
Fix fonts for tailwind v4
kuzdogan Apr 9, 2025
1e5614c
Fix sourcify logo
kuzdogan Apr 14, 2025
3051892
Improve Alignment
kuzdogan Apr 14, 2025
9590754
Add sourcify tailwind colors
kuzdogan Apr 14, 2025
fc418c9
Look and feel of the homepage
kuzdogan Apr 14, 2025
6b21b22
Add chain select dropdown with fuzzy search
kuzdogan Apr 14, 2025
16d0564
Show deprecated chains, don't sort by chainId
kuzdogan Apr 14, 2025
2c5f854
Validate contract address
kuzdogan Apr 14, 2025
fc644e0
Refactor example contracts
kuzdogan Apr 14, 2025
b280c9b
Add deprecated chain notice
kuzdogan Apr 14, 2025
9f14177
Add View on IPFS button for the metadata hash
kuzdogan Apr 14, 2025
0aa8564
Add view on Remix button
kuzdogan Apr 15, 2025
8e5da6e
Add Download sources button
kuzdogan Apr 15, 2025
7d0378a
Add download button for other JSONs. Fix compilation settings section…
kuzdogan Apr 15, 2025
b4584df
Put download buttons on the same line as titles
kuzdogan Apr 15, 2025
d1fc28b
Handle deprecated chain bytecodes, border for sections
kuzdogan Apr 15, 2025
d80e5f2
Add diff view
kuzdogan Apr 15, 2025
71a2e88
Transformations View instead of Diff View
kuzdogan Apr 17, 2025
b1b390c
Upgrade next to 15.3 to fix critical vulnerability
kuzdogan Apr 17, 2025
b8eb40e
Spacing for bytecode sections
kuzdogan Apr 17, 2025
5e3bbb3
Padding and add border to transformations
kuzdogan Apr 17, 2025
72b6be6
Tooltip for hovering on Transformations View
kuzdogan Apr 17, 2025
46e24b3
Add max width
kuzdogan Apr 17, 2025
ac6d98f
Improve readability in the toolttip
kuzdogan Apr 17, 2025
40a34ce
Fix wrong length for original values
kuzdogan Apr 17, 2025
f2d1bf4
Add contrast between rows in StorageLayout
kuzdogan Apr 17, 2025
a9f5389
Fix alternating bg colors for rows in StorageLayout
kuzdogan Apr 17, 2025
ba2a80e
Fix bytecode placeholder notice
kuzdogan Apr 17, 2025
62becd3
Notice when creation or runtime match is null
kuzdogan Apr 17, 2025
c1a887c
Group libraries by identifier instead of listing each transformation
kuzdogan Apr 17, 2025
2108148
Spacing of transformations
kuzdogan Apr 17, 2025
9a7d7dd
Make download and remix buttons larger
kuzdogan Apr 17, 2025
822a17c
Add border to Storage Layout table
kuzdogan Apr 17, 2025
c0efe84
Fix double chainId on page title
kuzdogan Apr 17, 2025
7fc996b
Move info icon closer to match label
kuzdogan Apr 17, 2025
a2e3b8e
Don't show verified favicon when not found
kuzdogan Apr 17, 2025
51db082
Return 404 when contract not verified
kuzdogan Apr 17, 2025
d6e7f1b
Add CborAuxdataTransformations
kuzdogan Apr 21, 2025
cc5310f
Consistent immutable and cbor transformation tables
kuzdogan Apr 21, 2025
ffc0eae
Consistent look of transformations
kuzdogan Apr 21, 2025
30a5a11
Different color for different transformations
kuzdogan Apr 21, 2025
90137ae
Fix compiler settings view
kuzdogan Apr 21, 2025
3d3fc9d
Add shadow and rounded StorageLayout
kuzdogan Apr 21, 2025
4c5895c
Give a separate section for all libraries and show warnings if there …
kuzdogan Apr 21, 2025
6ab1eb8
Fix unused component import
kuzdogan Apr 22, 2025
bfab5d0
Add Umami website id as env var
kuzdogan Apr 22, 2025
f48ddcc
Longer cache for production, add NODE_ENV var
kuzdogan Apr 22, 2025
a97b3a8
Disable sticky scroll in JSON view
kuzdogan Apr 22, 2025
4e2e442
Add env var to Readme
kuzdogan Apr 23, 2025
f259e44
Fix Remix link
kuzdogan Apr 25, 2025
4ef26f6
Add Copy buttons
kuzdogan Apr 25, 2025
521a8a1
Copy to clipboard for sources
kuzdogan Apr 25, 2025
8c7abbd
Make copy icons consistent
kuzdogan Apr 25, 2025
51076c9
Add example popular contracts, fix missing 0x in address input
kuzdogan Apr 25, 2025
d748759
Remove unnecessary type conversion
kuzdogan Apr 25, 2025
ca9c993
Show info about runtime and creation matches clearly, show warning wh…
kuzdogan Apr 25, 2025
90d3d18
Add Info tooltip for Transformations
kuzdogan Apr 25, 2025
cdd6330
Fix background
kuzdogan Apr 28, 2025
7db323d
Remove StorageLayout border
kuzdogan Apr 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
SOURCIFY_SERVER_URL=https://sourcify.dev/server
NEXT_PUBLIC_UMAMI_WEBSITE_ID=your-umami-website-id # Optional
NODE_ENV=development # Set "production" for production environment
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,17 @@ A Next.js application for viewing verified smart contract details from the Sourc

### Prerequisites

- Node.js 20.x or later
- Node.js 18.x or later
- npm or yarn
- Docker (optional, for containerized deployment)

### Environment Variables

Create a `.env` file in the root directory with the following variables:

```
```bash
SOURCIFY_SERVER_URL=https://sourcify.dev/server
# NODE_ENV=development or NODE_ENV=production
```

### Running Locally
Expand Down
396 changes: 263 additions & 133 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@
"dependencies": {
"@ethereum-sourcify/bytecode-utils": "^1.3.2",
"@ethersproject/abi": "^5.8.0",
"@ethersproject/address": "^5.8.0",
"@monaco-editor/react": "^4.7.0",
"next": "15.2.0",
"fuse.js": "^7.1.0",
"jszip": "^3.10.1",
"next": "^15.3.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-icons": "^5.5.0",
Expand All @@ -21,6 +24,7 @@
"devDependencies": {
"@eslint/eslintrc": "^3",
"@tailwindcss/postcss": "^4",
"@types/diff": "^7.0.2",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
Expand Down
Binary file modified public/sourcify.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/app/[chainId]/[address]/not-found.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import ErrorState from "@/components/ErrorState";

export default function NotFound() {
return <ErrorState message="Contract not found" />;
}
Loading