Commit Graph

21 Commits

Author SHA1 Message Date
arthur
9cc62efb8a fix_lint (#11)
Co-authored-by: Arthur Abeilice <afa7789@gmail.com>
Reviewed-on: https://git.p2pix.co/doiim/p2pix-smart-contracts/pulls/11
Co-authored-by: arthur <abeilice@kosmos.org>
Co-committed-by: arthur <abeilice@kosmos.org>
2026-05-29 20:09:12 +00:00
1addaae1c7 fix: conditionally register live networks only when ALCHEMY_API_KEY is set 2026-05-29 15:43:39 -03:00
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
76783c2d6b chore: hardhat config 2026-05-28 15:45:39 -03:00
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
hueso
e57428525b updated RPC urls 2025-08-02 21:10:31 -03:00
hueso
30335bbe5b bump solidity verison 2025-08-02 21:10:31 -03:00
hueso
f924593ee2 Ethers v5 -> v6 migration
Updated dependencies and removed unused ones.
2025-08-02 21:09:40 -03:00
hueso
811d5344a3 Partial hardhat -> viem migration for tests.
Typescript updated to v5.
Notably all calls to p2pix.callStatic.getStr() were replaced by viem.stringToHex() due to bug in ethers (https://github.com/ethers-io/ethers.js/issues/4965)
Full migration to viem might not be possible currently due to hard-chai-matchers incompatibility:
> The hardhat-chai-matchers plugin is designed to work with hardhat-ethers. Attempting to use it in conjunction with hardhat-viem results in compatibility issues.
https://hardhat.org/hardhat-chai-matchers/docs/overview
2025-06-11 11:55:24 -03:00
hueso
4f1f8d6025 sepolia deployment 2024-07-18 17:59:44 -03:00
hueso
1ffa9c6b5c update documentation 2024-02-13 16:35:16 -03:00
hueso
db7407e299 add RSK networks 2024-02-13 13:26:39 -03:00
PedroCailleret
440048453b Types cleanup 2023-05-19 00:49:29 -03:00
PedroCailleret
0b9b0307d2 🏗️ 2023-05-16 21:09:39 -03:00
PedroCailleret
545887baec Cleanup 2023-05-15 00:16:36 -03:00
PedroCailleret
d8147bd58e Solidity version bump & viaIR compilation 2023-05-14 22:31:12 -03:00
PedroCailleret
8310e013f6 Enhanced integration & optimized testing 2023-02-14 18:40:02 -03:00
PedroCailleret
6fe1e794d0 V2 Release 2023-01-26 21:40:17 -03:00
PedroCailleret
c69d82ccee test: 🚧 Added fixtures for new test schema 2022-12-03 01:17:48 -03:00
PedroCailleret
ac9bc6fa46 hardhat-tracer added to dev branch 2022-12-03 00:59:18 -03:00
PedroCailleret
b1fe0a574c refactor: typescript refactoring ♻️ 2022-11-14 09:34:53 -03:00