Skip to content

Commit

Permalink
Develop (#87)
Browse files Browse the repository at this point in the history
* app pages not needed anymore

* updated provider and wrapped app

* added components for views

* added google font

* updated readme

* app shell fully rebuilt ready for UI work

* added i18n for portugese
made smart account provider user
added onboarding view
completed royting for landing and app

* generated fvicon and icon pngs

* updated vite vonfig and html with icons for app

* reodreder code

* Api/contract indexer (#83)

* created yaml file for configuring envio

* added envio indexer for querying blockchain

* updated types to bigint

* uncommented out set

* moved eas code to client

* removed EAS references from indexer

* updated contracts and scripts for new deployment

* Contracts/garden assessment (#81)

* schemas deployed for garden assessment

* Update schemas.json

Signed-off-by: coi <[email protected]>

* redeployed schema fixing typo

---------

Signed-off-by: coi <[email protected]>
Co-authored-by: coi <[email protected]>

* created core layout components
remove uneeded files and packages
updated eslint with react query plugin
added tailwind styles the index html
creayed types for app and green goods

* added vercel function for fetching users from privy
updated varibales in example env
moved typescript pulgins from app to node js config
started to refine app views
fixed type errors and warning to ensure app builds

* updated typescript config

* removed to keep consistent behavior

* fixed environment variables for get users function

* added json for action instructions
moved intl to PWA provider
added eas methods for fetchinf work and work approval
started to import react hook form for data validation
updated contracts and comiled with new fields
updated indexer schema and config  with new types and events

* added daisy ui for navbar and modal
added taildwind typography
fixed routing with react router
added types for garden, work andprofile compomnents
updated indexer schema

* deployed contracts to arb
updated json files to prep for pinata upload

* fixed type errors for building

* Polished landing page
Polished login page
Deployed new garden contract and account
added react device frame for mobile mock
updated contract deploy scripts for garden and created new one for opertors
delete eas ABI not needed

* added meta tags for social preview
updated lono rendering to look proper

* Feature/pwa (#86)

* app pages not needed anymore

* updated provider and wrapped app

* added components for views

* added google font

* updated readme

* app shell fully rebuilt ready for UI work

* added i18n for portugese
made smart account provider user
added onboarding view
completed royting for landing and app

* generated fvicon and icon pngs

* updated vite vonfig and html with icons for app

* reodreder code

* created core layout components
remove uneeded files and packages
updated eslint with react query plugin
added tailwind styles the index html
creayed types for app and green goods

* added vercel function for fetching users from privy
updated varibales in example env
moved typescript pulgins from app to node js config
started to refine app views
fixed type errors and warning to ensure app builds

* updated typescript config

* removed to keep consistent behavior

* fixed environment variables for get users function

* added json for action instructions
moved intl to PWA provider
added eas methods for fetchinf work and work approval
started to import react hook form for data validation
updated contracts and comiled with new fields
updated indexer schema and config  with new types and events

* added daisy ui for navbar and modal
added taildwind typography
fixed routing with react router
added types for garden, work andprofile compomnents
updated indexer schema

* deployed contracts to arb
updated json files to prep for pinata upload

* fixed type errors for building

* Polished landing page
Polished login page
Deployed new garden contract and account
added react device frame for mobile mock
updated contract deploy scripts for garden and created new one for opertors
delete eas ABI not needed

* added meta tags for social preview
updated lono rendering to look proper

* removed util

---------

Signed-off-by: coi <[email protected]>
Co-authored-by: coi <[email protected]>
  • Loading branch information
Oba-One and cauetomaz authored Aug 31, 2024
1 parent a8f88b7 commit 4bf0add
Show file tree
Hide file tree
Showing 147 changed files with 13,396 additions and 4,873 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,4 @@ dist
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
.vercel
4 changes: 4 additions & 0 deletions .vscode/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true
}
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ Core libraries:

- [React](https://react.dev) - Library for rendering UI and controlling basic state
- [Vite](https://vitejs.dev) - Build library for client UIs
- [Openzeppelin](https://docs.openzeppelin.com/contracts/4.x/) - Library for writing secure and audited smart contracts
- [EAS](https://attest.sh) - Contracts for making attestations and verifying claims
- [Envio](https://envio.dev) - Indexer for querying and indexing blockchain data
- [Foundry](https://book.getfoundry.sh/getting-started/installation) - Library for compiling and deploying smart contracts

## Contributing

Expand All @@ -48,7 +52,6 @@ If you would like to contribute here are the following steps:
- Once done open a [PR](<[https://github.com/wefa-labs/wefa/pulls](https://github.com/Oba-One/web3-starter-kit/pulls)>) to merge into the development branch of the starter kit repo
- Once approved make sure your branch is up to date with main and complete the merge.


### test

```forge test --fork-url https://base-sepolia-rpc.publicnode.com -vvvv```
`forge test --fork-url https://base-sepolia-rpc.publicnode.com -vvvv`
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,15 @@
"deploy:arbitrum": "pnpm --filter 'contracts' run deploy:arbitrum --network arbitrum"
},
"dependencies": {
"@ethereum-attestation-service/eas-sdk": "^2.5.0",
"dotenv": "16.4.5",
"ethers": "^6.13.2",
"viem": "^2.19.6"
},
"devDependencies": {
"@types/node": "22.5.1",
"concurrently": "8.2.2",
"prettier": "^3.3.3",
"typescript": "^5.5.4",
"wait-port": "1.1.0"
},
"engines": {
Expand Down
19 changes: 0 additions & 19 deletions packages/app/index.html

This file was deleted.

49 changes: 0 additions & 49 deletions packages/app/package.json

This file was deleted.

48 changes: 0 additions & 48 deletions packages/app/src/App.tsx

This file was deleted.

22 changes: 0 additions & 22 deletions packages/app/src/components/Actions.tsx

This file was deleted.

28 changes: 0 additions & 28 deletions packages/app/src/components/Info.tsx

This file was deleted.

6 changes: 6 additions & 0 deletions packages/app/src/constants.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export const WORK_SCHEMA_UID =
"0x9341009d07b8de3eb72b96ac42246c549f3e32636cb31a75961fbee6db44a0eb";
export const WORK_APPROVAL_SCHEMA_UID =
"0x019249c30ec1d02ae41abb3fbbeeb56b9bbb2261cf94191fac73089308aa662a";
export const GARDEN_ASSESSMENT_SCHEMA_UID =
"0x7433e24287be826b49e5eb28cd52192823e542521c94084a691e67e5cc7e8176";
Loading

1 comment on commit 4bf0add

@vercel
Copy link

@vercel vercel bot commented on 4bf0add Aug 31, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.