Skip to content

Commit 0b40bd3

Browse files
authored
Merge pull request #6 from foundry-rs/zerosnacks/introduce-viem
chore: basic Viem setup + EIP6963 setup
2 parents 0b1dda8 + c72d273 commit 0b40bd3

File tree

14 files changed

+533
-3541
lines changed

14 files changed

+533
-3541
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @zerosnacks

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"

.github/workflows/ci.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: ci
2+
3+
permissions: {}
4+
5+
on:
6+
pull_request:
7+
branches:
8+
- master
9+
paths-ignore:
10+
- "**.md"
11+
push:
12+
branches:
13+
- master
14+
paths-ignore:
15+
- "**.md"
16+
17+
concurrency:
18+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
19+
cancel-in-progress: true
20+
21+
jobs:
22+
build:
23+
runs-on: ubuntu-latest
24+
permissions:
25+
contents: read
26+
steps:
27+
- name: Checkout repository
28+
uses: actions/checkout@v5
29+
with:
30+
persist-credentials: false
31+
32+
- name: Set up pnpm
33+
uses: pnpm/action-setup@v4
34+
with:
35+
version: latest
36+
run_install: false
37+
38+
- name: Set up Node
39+
uses: actions/setup-node@v6
40+
with:
41+
node-version-file: ".nvmrc"
42+
cache: "pnpm"
43+
44+
- name: Install dependencies
45+
run: pnpm install --frozen-lockfile
46+
47+
- name: Build project
48+
run: pnpm run build
49+
50+
- name: Upload build artifacts
51+
uses: actions/upload-artifact@v5
52+
with:
53+
name: dist
54+
path: dist

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v24.10.0

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8" />
55
<link rel="icon" type="image/png" href="/logo.png" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Foundry Browser Wallet</title>
7+
<title>Foundry</title>
88
</head>
99
<body>
1010
<div id="root"></div>

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13-
"@rainbow-me/rainbowkit": "^2.2.9",
1413
"@tanstack/react-query": "^5.90.5",
14+
"porto": "^0.2.35",
1515
"react": "^19.2.0",
1616
"react-dom": "^19.2.0",
1717
"viem": "^2.38.3",
18-
"wagmi": "^2.18.2"
18+
"vite-plugin-mkcert": "^1.17.9"
1919
},
2020
"devDependencies": {
2121
"@eslint/js": "^9.38.0",

0 commit comments

Comments
 (0)