Skip to content

Feat/monorepo config package - #21

Merged
Agilulfo1820 merged 5 commits into
mainfrom
feat/monorepo-config-package
Mar 12, 2026
Merged

Agilulfo1820 merged 5 commits into
mainfrom
feat/monorepo-config-package

Conversation

@Agilulfo1820

Copy link
Copy Markdown
Member

No description provided.

Agilulfo1820 and others added 5 commits March 12, 2026 13:07
Add packages/config with per-network contract addresses, auto-generated
local.ts (git-ignored), and checkContractsDeployment script that deploys
to solo and writes real addresses. Wire turbo pipeline so config generation
runs before compile, and deployment check runs before dev.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ainnet

checkContractsDeployment now deploys on any network (not just solo) and
writes addresses to the matching config file. Added per-env turbo tasks
(setup-contracts:testnet/mainnet, check-contracts-deployment:testnet/mainnet)
and contracts package scripts so each yarn dev:<env> auto-deploys if needed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…cture

- Replace simple HelloWorld with UUPS upgradeable version (namespaced storage,
  AccessControl, UPGRADER_ROLE, version())
- Add VeChainProxy.sol (ERC1967 proxy, adapted from B3TRProxy)
- Add scripts/helpers/upgrades.ts with deployProxy, upgradeProxy, deployAndUpgrade
- Add scripts/deploy/deploy.ts for production deployment via proxy helpers
- Add scripts/upgrade/ with interactive CLI, upgradesConfig registry
- Update checkContractsDeployment to use deployProxy
- Update test to deploy via proxy
- Add OZ dependencies and upgrade/deploy scripts to contracts package.json
- Reference smart-contract-development skill for architecture/patterns

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…rt-contract skill

- Replace simple UUPS example with production BaseUpgradeable template
  (AccessControl, namespaced storage, UPGRADER_ROLE, version())
- Add VeChainProxy (ERC1967) contract
- Add proxy deployment helpers (deployProxy, upgradeProxy, etc.)
- Add upgrade infrastructure: version pattern, reinitializer, CLI system,
  upgrade script template, deprecated versions for upgrade tests
- Add upgrade test version mismatch warning
- Add deploy + test sync requirement and new contract checklist
- Add NatSpec, custom errors, events as explicit code style rules
- Add Slither static analysis configuration

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…po scaffold

Add hardhat-contract-sizer, hardhat-ignore-warnings, solidity-coverage,
and solidity-docgen to the contracts package with proper config in
hardhat.config.ts. Add root scripts for docs, coverage, and size.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Skill Size Report

Skill SKILL.md (always loaded) Ref files (on demand) Total est. tokens Alerts
smart-contract-development ~1.1K tok 5 files, ~14.7K tok ~15.8K tok ⚠️ smart-contracts.md ~6.5K tok (consider splitting)
create-vechain-dapp ~1.8K tok 3 files, ~13.1K tok ~14.9K tok ⚠️ monorepo.md ~9.8K tok (consider splitting)
vechain-kit ~1.4K tok 7 files, ~13.0K tok ~14.4K tok
x-2-earn-apps ~1.0K tok 6 files, ~10.0K tok ~11.1K tok
vebetterdao ~918 tok 4 files, ~9.3K tok ~10.2K tok
vechain-core ~1.2K tok 4 files, ~8.7K tok ~9.9K tok
vechain-react-native-dev ~1.5K tok 3 files, ~6.7K tok ~8.2K tok
stargate ~736 tok 2 files, ~5.0K tok ~5.7K tok
frontend ~1.1K tok 1 files, ~3.0K tok ~4.0K tok
indexer-core ~1.1K tok 4 files, ~2.0K tok ~3.1K tok
auto-voting-relayers ~2.8K tok 0 files, ~0 tok ~2.8K tok ⚠️ SKILL.md ~2.8K tok (always in context)
translate ~1.2K tok 0 files, ~0 tok ~1.2K tok
grill-me ~418 tok 0 files, ~0 tok ~418 tok
TOTAL ~101.8K tok
Large reference files (>5.0K tok)
File Est. tokens
create-vechain-dapp/references/monorepo.md ~9.8K
smart-contract-development/references/smart-contracts.md ~6.5K

How to read this: SKILL.md is always loaded into the context window. Reference files are loaded on demand when the topic matches. Token counts are estimates (~4 chars/token). Consider splitting reference files over ~5.0K tokens.

@github-actions

Copy link
Copy Markdown

Skill Security Audit

Scanned 52 file(s) — found 12 issue(s) across 4 file(s).

🔵 LOW (12)
File Line Finding Excerpt
skills/x-2-earn-apps/references/getting-started.md 153 External URL: image.png https://image.png
skills/x-2-earn-apps/references/getting-started.md 153 External URL: twitter.com https://twitter.com/tweet/1
skills/x-2-earn-apps/references/security.md 124 External URL: docs.guardianstack.ai https://docs.guardianstack.ai/
skills/x-2-earn-apps/references/sustainability-proofs.md 16 External URL: image.png https://image.png
skills/x-2-earn-apps/references/sustainability-proofs.md 17 External URL: twitter.com https://twitter.com/tweet/1
skills/x-2-earn-apps/references/sustainability-proofs.md 33 External URL: twitter.com https://twitter.com/tweet/123
skills/x-2-earn-apps/references/sustainability-proofs.md 106 External URL: link-to-proof.com https://link-to-proof.com
skills/x-2-earn-apps/references/sustainability-proofs.md 106 External URL: link-to-image.com https://link-to-image.com/1.png
skills/x-2-earn-apps/references/sustainability-proofs.md 192 External URL: link-to-proof.com https://link-to-proof.com
skills/x-2-earn-apps/references/sustainability-proofs.md 192 External URL: link-to-image.com https://link-to-image.com/1.png
skills/x-2-earn-apps/references/sustainability-proofs.md 255 External URL: x.com https://x.com/user/status/123456
skills/x-2-earn-apps/references/vepassport.md 149 External URL: vechain-energy.github.io https://vechain-energy.github.io/vebetterdao-signal-admin/

@Agilulfo1820
Agilulfo1820 merged commit 88b18e1 into main Mar 12, 2026
7 checks passed
@Agilulfo1820
Agilulfo1820 deleted the feat/monorepo-config-package branch March 12, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant