Skip to content

Commit 247236e

Browse files
authored
Merge pull request #3 from sourcifyeth/staging
Release for repo.sourcify.dev
2 parents 2461af2 + 7db323d commit 247236e

36 files changed

+1952
-756
lines changed

.env.example

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
SOURCIFY_SERVER_URL=https://sourcify.dev/server
2+
NEXT_PUBLIC_UMAMI_WEBSITE_ID=your-umami-website-id # Optional
3+
NODE_ENV=development # Set "production" for production environment

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,17 @@ A Next.js application for viewing verified smart contract details from the Sourc
66

77
### Prerequisites
88

9-
- Node.js 20.x or later
9+
- Node.js 18.x or later
1010
- npm or yarn
1111
- Docker (optional, for containerized deployment)
1212

1313
### Environment Variables
1414

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

17-
```
17+
```bash
1818
SOURCIFY_SERVER_URL=https://sourcify.dev/server
19+
# NODE_ENV=development or NODE_ENV=production
1920
```
2021

2122
### Running Locally

package-lock.json

+263-133
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,11 @@
1111
"dependencies": {
1212
"@ethereum-sourcify/bytecode-utils": "^1.3.2",
1313
"@ethersproject/abi": "^5.8.0",
14+
"@ethersproject/address": "^5.8.0",
1415
"@monaco-editor/react": "^4.7.0",
15-
"next": "15.2.0",
16+
"fuse.js": "^7.1.0",
17+
"jszip": "^3.10.1",
18+
"next": "^15.3.0",
1619
"react": "^19.0.0",
1720
"react-dom": "^19.0.0",
1821
"react-icons": "^5.5.0",
@@ -21,6 +24,7 @@
2124
"devDependencies": {
2225
"@eslint/eslintrc": "^3",
2326
"@tailwindcss/postcss": "^4",
27+
"@types/diff": "^7.0.2",
2428
"@types/node": "^20",
2529
"@types/react": "^19",
2630
"@types/react-dom": "^19",

public/sourcify.png

1.03 KB
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import ErrorState from "@/components/ErrorState";
2+
3+
export default function NotFound() {
4+
return <ErrorState message="Contract not found" />;
5+
}

0 commit comments

Comments
 (0)