Commit Graph

5 Commits

Author SHA1 Message Date
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
9c948d7da4 refactor: standardize quote styles to single quotes across all files 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
hueso
7cda8d5573 import contracts from submodule 2026-03-05 21:59:10 -03:00
hueso
dd351acb2e Stronger typings💪 2025-06-29 18:19:30 -03:00