Commit Graph
14 Commits
Author SHA1 Message Date
abeilice c4db98ae00 feat: add support for private key authentication in environment configuration 2026-05-29 17:48:49 -03:00
abeilice 1addaae1c7 fix: conditionally register live networks only when ALCHEMY_API_KEY is set 2026-05-29 15:43:39 -03:00
abeiliceandhueso aa96fd89da feat: add deployment configurations for Goerli, Polygon Mumbai, RSK Testnet, and Sepolia networks
refactor: update Hardhat config for cleaner network setup
chore: remove outdated MockToken documentation
fix: correct DEFAULT_SUPPLY initialization in MockToken module
2026-05-29 18:15:21 +00:00
abeilice 96f66f9cec chore: update config files
Ignore deploy artifacts, auto-generated docs, and reformat solcover skipFiles
2026-05-29 14:09:04 -03:00
abeilice c5766dc226 solhint 2026-05-28 15:53:48 -03:00
abeilice 76783c2d6b chore: hardhat config 2026-05-28 15:45:39 -03:00
abeilice 36e1dd30ce fix: actions 2026-05-28 15:20:24 -03:00
abeilice d731791b49 feat: add lint and test workflows for GitHub Actions 2026-05-22 18:55:49 -03:00
abeilice 131f53a731 feat: add P2PIXProd Ignition module for deploys without MockToken 2026-05-22 00:06:41 -03:00
abeilice 13d1d16084 feat: migrate deployment to Hardhat Ignition
Replace the imperative deploy scripts with Hardhat Ignition modules:
- ignition/modules/{MockToken,Reputation,P2PIX}.ts orchestrate the full
  deployment graph; P2PIX.ts wires MockToken + Reputation and deploys
  P2PIX via its constructor
- ignition/parameters/localhost.json holds per-network values
  (defaultBlocks, validSigners, MockToken supply)
- swap hardhat-toolbox for the individual plugins that Ignition needs;
  add hardhat-verify (v2) and bump hardhat/hardhat-tracer accordingly
- delete scripts/1-deploy-mockToken.ts and scripts/2-deploy-p2pix.ts
- add deploy:{localhost,goerli,sepolia,mumbai} npm scripts
- include ignition/**/* in tsconfig.json
- gitignore ignition/deployments/chain-31337/ (ephemeral local state)

This branch carries the deployment-tooling migration only — the contract
is still the original constructor-based P2PIX. Proxy / UUPS deploy
support will land alongside the upgradeable contract change.
2026-05-22 00:06:41 -03:00
abeilice eaf45a0288 chore(gitignore): exclude generated mock docs 2026-05-04 22:12:53 -03:00
abeilice 4e2fd86d21 Revert "chore(scripts): use wagmi binary and stop clobbering submodule .env"
This reverts commit 26765bee60.
2026-05-04 22:12:33 -03:00
abeilice 26765bee60 chore(scripts): use wagmi binary and stop clobbering submodule .env 2026-05-04 22:03:57 -03:00
abeilice 6adf8778cb feat: add localhost network for e2e against Anvil
- Declare 'localhost' network in hardhat.config.ts pointing to
  http://127.0.0.1:8545 (chainId 31337) so deploy scripts work
  against an external Anvil/Hardhat node.
- Make MNEMONIC and ALCHEMY_API_KEY optional: fall back to the
  Hardhat/Anvil deterministic mnemonic when MNEMONIC is missing,
  and only require ALCHEMY_API_KEY when targeting public networks.
- Reset deploys/localhost.json to a starter state (signers populated,
  contract addresses empty) so the frontend e2e setup writes fresh
  addresses on every run.
2026-05-04 09:46:33 -03:00