Skip to content

Commit 9107550

Browse files
committed
feat: initial commit with smart-session dapp
0 parents  commit 9107550

37 files changed

+18740
-0
lines changed

.env.example

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
APPLICATION_PRIVATE_KEY=
2+
BASESCAN_API_KEY=
3+
4+
VITE_REOWN_PROJECT_ID=
5+
VITE_SMART_SESSION_TARGET_ADDRESS=0x1363FfBE6e5280c2a310BE7b50Eaad4d3Bc57644
6+
7+
BACKEND_PORT=8787
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Bug Report
3+
about: Report a broken feature or unexpected behavior
4+
---
5+
6+
## 🐞 Bug Description
7+
(Describe the issue clearly.)
8+
9+
## 🔁 Steps to Reproduce
10+
1.
11+
2.
12+
3.
13+
14+
## ✔ Expected Behavior
15+
(What should have happened?)
16+
17+
## 📸 Screenshots
18+
(If applicable)
19+
20+
## 🧪 Environment
21+
- OS:
22+
- Browser:
23+
- Wallet:
24+
- Node version:
25+
- Network: (Base/Mainnet/Sepolia)
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Feature Request
3+
about: Suggest an improvement or new feature
4+
---
5+
6+
## 💡 Feature Description
7+
(Describe the feature you want added)
8+
9+
## 🎯 Why This Matters
10+
(Explain why this would improve the project)
11+
12+
## 🛠 Suggested Implementation
13+
(Outline how this feature could work)
14+
15+
## Additional Context
16+
(Any links, screenshots, or references)

.github/pull_request_template.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Pull Request
2+
3+
## 📌 Summary
4+
(Explain what this PR does and why)
5+
6+
## 🔍 Changes
7+
- ...
8+
9+
## 📸 Screenshots (if UI changes)
10+
(Attach images)
11+
12+
## ✔ Checklist
13+
- [ ] Code builds without errors
14+
- [ ] Hardhat compiles successfully
15+
- [ ] No secrets or private keys included
16+
- [ ] Follows project code style
17+
- [ ] Tests updated if needed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
branches: ["main"]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: 20
19+
cache: npm
20+
21+
- run: npm install
22+
23+
- run: npx tsc --noEmit
24+
25+
- run: npm run build
26+
27+
- run: npx hardhat compile

.gitignore

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Node
2+
node_modules/
3+
npm-debug.log*
4+
yarn-debug.log*
5+
yarn-error.log*
6+
7+
# Builds
8+
dist/
9+
build/
10+
.cache/
11+
artifacts/
12+
cache/
13+
14+
# Env files
15+
.env
16+
.env.local
17+
.env.*.local
18+
19+
# OS files
20+
.DS_Store
21+
22+
# Remix backups
23+
*.swp
24+
*.swo
25+
26+
# Logs
27+
*.log
28+
29+
# Vite
30+
vite.config.ts.timestamp*
31+
32+
# Typescript
33+
*.tsbuildinfo

CODE_OF_CONDUCT.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Code of Conduct
2+
3+
All contributors must follow the Contributor Covenant v2.1.
4+
5+
Be respectful. No harassment. No trolling.

CONTRIBUTING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Contributing Guidelines
2+
3+
## Process
4+
1. Fork repo
5+
2. Create feature branch
6+
3. Run build + hardhat compile
7+
4. Submit PR
8+
9+
## Requirements
10+
- No secrets in commits
11+
- TypeScript only (frontend/backend)
12+
- Solidity 0.8.24+

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the “Software”), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)