-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM node:19 | ||
|
||
WORKDIR /app | ||
|
||
COPY package*.json ./ | ||
|
||
RUN npm install | ||
|
||
COPY . ./ | ||
|
||
EXPOSE 3000 | ||
|
||
CMD ["npm", "run", "dev"] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,59 @@ | ||
# hackathon_merge | ||
<div align="center"> | ||
|
||
<img src="readme/payconsent.png" alt="logo" width="200" height="auto" /> | ||
<h1>PayConsent 🤝</h1> | ||
<p>A B2B payement protocol, secured using smartcontract</p> | ||
|
||
</div> | ||
|
||
## ❗ Problem | ||
#### What problem does your project solve? | ||
#### How does it fit into the theme "Building a Decentralized Future"? | ||
|
||
## ✅ Solution | ||
#### How did you resolve this issue? | ||
→ We decided to solve this issue, by creating an easy to use and decentralized payement protocol service that protect the 2 users during transaction. [...] | ||
#### What technologies did you use? | ||
TailwindCSS and ReactJS for frontend and backend | ||
Starton API for the smart contracts managements | ||
|
||
#### What was your biggest technical challenge and how does your solution solve it? | ||
? | ||
|
||
## ⚙️ How to run the project ? | ||
|
||
1. Clone the repository: | ||
`git clone https://github.com/ethan0905/hackathon.git` | ||
|
||
2. Run at the root of repository, the following bash commands: | ||
`docker-compose up` | ||
`docker build -t react .` | ||
`docker run -p 3000:3000 -d react` | ||
|
||
3. Then go to the following url on internet: | ||
`localhost:3000` | ||
|
||
## Process | ||
|
||
- Docker | ||
- Metamask connection | ||
- Figma | ||
- Smartcontract | ||
- npm install react-ipfs-uploader | ||
- npm install ipfs -g (for ipfs) | ||
|
||
## 🧭 Roadmap | ||
|
||
- [x] Docker installation | ||
- [x] Metamask wallet connection | ||
- [ ] Smart contract | ||
- [x] Write our own contract | ||
- [ ] Use of Starton API to create Smart contract from bytecode | ||
- [ ] Use of Starton API to calls Smart contract located at {address} on {network} | ||
- [ ] Deletes Smart contract located at {address} on {network} | ||
- [x] Add image uploader on IPFS | ||
- [ ] Form: | ||
- [ ] Interaction with Smart contract at {address} on {network} | ||
|
||
## ⚠️ License | ||
Distributed under the MIT License. See `LICENSE.txt` for more information. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
version: "3" | ||
services: | ||
payconsent: | ||
build: "./" | ||
ports: | ||
- "3000:3000" | ||
volumes: | ||
- "./:/app" | ||
- "/app/node_modules" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Vite + React</title> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script type="module" src="/src/main.jsx"></script> | ||
</body> | ||
</html> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.