Commit Graph

486 Commits

Author SHA1 Message Date
6c5c487874 chore(codegen): keep src/blockchain/abi.ts as wagmi output + infra polish
Path revert (reduces churn / preserves existing imports):
- wagmi.config.ts: out -> src/blockchain/abi.ts (was src/generated.ts)
- Restore the 4 import sites (sellerMethods, events, provider,
  BuyerSearchComponent) to import from './abi' / '@/blockchain/abi'
- .gitignore: ignore src/blockchain/abi.ts (was src/generated.ts)

The file keeps its original location and is no longer committed — it is
regenerated from the smart-contracts submodule artifacts on every
prestart via `bun run wagmi:gen`.

Infra polish:
- package.json: contracts:compile uses pushd/popd (instead of cd) so the
  shell returns to the project root after the submodule build, even when
  the script is the leaf of a longer chain
- .gitmodules: zkPix submodule pinned to `dev`
2026-06-02 01:41:01 +00:00
4e65ab7ff0 chore(codegen): drop committed src/blockchain/abi.ts in favor of generated src/generated.ts
The 58KB src/blockchain/abi.ts was the output of the legacy hardhat-based
wagmi config and was being committed verbatim. Since wagmi.config.ts now
emits src/generated.ts (gitignored, regenerated on every prestart via
`bun run wagmi:gen`), keeping the old artifact in the tree was just dead
weight.

- Remove src/blockchain/abi.ts from tracking
- Repoint 4 imports (sellerMethods, events, provider, BuyerSearchComponent)
  from `@/blockchain/abi` / `./abi` to `@/generated`
- contracts:compile now injects ALCHEMY_API_KEY=placeholder + a default
  test MNEMONIC so hardhat.config.ts can load without a manual .env in
  the submodule (matches the placeholder values used in p2pix-front-end's
  submodule .env)
2026-06-02 01:41:01 +00:00
7c17e940da chore(codegen): wire wagmi ABI codegen against smart-contracts submodule
- wagmi.config.ts: read ABIs from p2pix-smart-contracts/artifacts/contracts
  (P2Pix, Reputation, MockToken) and emit src/generated.ts with the
  @wagmi/cli actions plugin
- package.json: add scripts
  * contracts:compile — installs submodule deps + runs `hardhat compile`
  * wagmi:gen — runs @wagmi/cli to (re)generate src/generated.ts
  * prewagmi:gen — chains contracts:compile before wagmi:gen
  * prestart — runs wagmi:gen, so `bun start` always has fresh ABIs
- .gitignore: ignore src/generated.ts (regenerated on every prestart)

Note: GraphQL/subgraph codegen is intentionally out of scope here — it
will land in its own branch.
2026-06-02 01:41:01 +00:00
bdaffbd889 chore: add p2pix-smart-contracts (dev) and zkPix (feat/fake-bb-sandbox) submodules 2026-06-02 01:41:01 +00:00
9c948d7da4 refactor: standardize quote styles to single quotes across all files 2026-06-02 01:41:01 +00:00
af897e7dd4 feat: add Tailwind CSS reference to multiple components for styling consistency 2026-06-02 01:41:01 +00:00
663a0bce46 add @web3-onboard back as stop-gap until reown migration 2026-06-02 01:41:01 +00:00
4469ccb30a refactor: update configuration files to use ES module syntax and integrate Tailwind CSS 2026-06-02 01:41:01 +00:00
98c6e04a16 feat: render app version in bottom-left footer 2026-06-02 01:41:01 +00:00
d63cb8c6d3 refactor: clean up code formatting and improve readability across multiple components
- Standardized the use of quotes and spacing in various files.
- Removed unnecessary line breaks and trailing spaces in components.
- Improved the structure of computed properties and methods for better clarity.
- Enhanced the consistency of prop definitions and emit events in Vue components.
- Updated the GraphQL composable to streamline error handling and data processing.
- Refactored network configuration files for better organization and readability.
- Cleaned up model files by removing redundant lines and ensuring consistent formatting.
- Adjusted router configuration for improved readability.
- Enhanced utility functions for better maintainability and clarity.
2026-06-02 01:41:01 +00:00
c481d9d0a5 migrate eslint to flat config (eslint 10) 2026-06-02 01:41:01 +00:00
63f5ee017b refactor: update TypeScript configuration to extend correct Vue tsconfig files 2026-06-02 01:41:01 +00:00
dacbeac019 update Dockerfile to use latest bun image 2026-06-02 01:41:01 +00:00
18efb7543e use oven-sh/setup-bun action in CI 2026-06-02 01:41:01 +00:00
6caf34b579 switch to bun + adopt e2e dependency stack 2026-06-02 01:41:01 +00:00
hueso
ec1053c660 simplify networks config 2026-06-02 01:41:01 +00:00
hueso
46be71046a Merge branch 'develop' 2026-03-13 01:11:07 -03:00
hueso
ebe03eb439 deploy to branch 2026-03-13 01:08:54 -03:00
hueso
abeef0bd85 deploy to node 2026-03-05 22:30:50 -03:00
hueso
ea5773c7d0 CI: build-only (no type-check) 2026-03-05 22:19:37 -03:00
hueso
95c3692bcb piñata soft fail 2026-03-05 22:19:27 -03:00
hueso
7cda8d5573 import contracts from submodule 2026-03-05 21:59:10 -03:00
hueso
6cfe478177 manually trigger IPFS action 2026-03-05 21:58:59 -03:00
hueso
f31fa15887 add basic error handling on subgraph queries 2026-02-06 15:02:18 -03:00
hueso
ad5b0a3a93 fix: chainID as hex on web3onboard call 2026-02-06 15:02:18 -03:00
hueso
6979ba0402 fix: sellerId as string 2026-02-06 15:02:18 -03:00
Jefferson Mantovani
43b955296a chore: add group to pinata deploy action 2026-01-22 15:52:44 -03:00
Jefferson Mantovani
1cf9898e2d Merge pull request #11 from doiim/feat/update-app
chore: update app version
2026-01-22 11:16:45 -03:00
Jefferson Mantovani
9c8ba43339 fix: pinata install in ipfs script 2026-01-22 11:10:51 -03:00
Jefferson Mantovani
b655a3c4b6 chore: update app version 2026-01-22 11:08:18 -03:00
Jefferson Mantovani
42016d0101 Merge pull request #10 from doiim/feat/version-update
chore: test pinata upload
2026-01-22 11:02:06 -03:00
Jefferson Mantovani
674948120c fix: remove old github workflows 2026-01-22 11:00:50 -03:00
Jefferson Mantovani
3c8e9c0262 fix: ipfs release script 2026-01-22 10:58:55 -03:00
Jefferson Mantovani
d686fca363 chore: test pinata upload 2026-01-22 10:53:33 -03:00
Jefferson Mantovani
183fd698a9 chore: test pinata upload 2026-01-22 10:52:37 -03:00
filipesoccol
100aab6b42 Merge pull request #9 from doiim/feat/reputation-input-limit
feat: show the reputation limit in the buy input
2025-11-17 13:37:26 -03:00
Jefferson Mantovani
9a506acfa6 feat: show the reputation limit in the buy input 2025-11-14 10:01:24 -03:00
Jefferson Mantovani
d603753654 Merge branch 'develop' 2025-11-06 16:19:57 -03:00
Jefferson Mantovani
b4f5134156 chore: register version 1.1.0 2025-11-06 16:19:42 -03:00
Jefferson Mantovani
290e339f0c Merge branch 'develop' 2025-11-06 11:15:26 -03:00
Jefferson Mantovani
4c721e4431 chore: register version 1.1.0 2025-11-06 11:15:10 -03:00
Jefferson Mantovani
1adef2dbb8 Merge branch 'develop' 2025-11-06 11:12:30 -03:00
Jefferson Mantovani
bf75cd766a chore: register version 1.1.0 2025-11-06 11:11:42 -03:00
Jefferson Mantovani
d3eae76f91 Merge branch 'develop' 2025-11-06 11:07:41 -03:00
Jefferson Mantovani
a4163a2ba6 chore: register version 1.1.0 2025-11-06 11:06:02 -03:00
Jefferson Mantovani
fad52d79d2 Merge release/1.1.0 into develop 2025-11-06 10:57:27 -03:00
Jefferson Mantovani
f64ea2ddf1 Merge release/1.1.0 into main 2025-11-06 10:57:02 -03:00
Jefferson Mantovani
e67c8fcc77 chore: bump version to 1.1.0 2025-11-06 10:56:42 -03:00
Jefferson Mantovani
ac670235cd fix: layout 2025-11-06 10:28:27 -03:00
Jefferson Mantovani
38201bb254 feat: versioning 2025-11-06 10:28:14 -03:00