Skip to content

feat(deploy): add contract deployment artifact manifest generator (#716) - #736

Open
ravendevhub wants to merge 1 commit into
Core-Foundry:mainfrom
ravendevhub:feat/contract-deployment-manifest-716
Open

feat(deploy): add contract deployment artifact manifest generator (#716)#736
ravendevhub wants to merge 1 commit into
Core-Foundry:mainfrom
ravendevhub:feat/contract-deployment-manifest-716

Conversation

@ravendevhub

Copy link
Copy Markdown

Summary

Resolves #716 by introducing a structured deployment manifest generator (scripts/generate-deployment-manifest.js) that records contract identifiers, network parameters, RPC endpoints, and git commits while strictly validating that no private keys or secrets are written to output files.

Changes

  1. Manifest Generator (scripts/generate-deployment-manifest.js):
    • Generates deterministic JSON manifests recording contract_id, wasm_hash, network, rpc_url, passphrase, deployer_public_key, timestamp, and git_commit.
    • Embeds security validation throwing errors if secret keys (S...) are detected.
  2. Schema & Documentation:
    • Example manifest format in deployments/deployment-manifest.example.json.
    • Comprehensive documentation in docs/CONTRACT_DEPLOYMENT_MANIFEST.md.

Acceptance Criteria

  • Contract identifier is recorded.
  • Network information is recorded.
  • Deployment timestamp is recorded.
  • Manifest format is documented.
  • Private keys and secrets are excluded.

…re-Foundry#716)

- Generate structured JSON deployment manifest recording contract ID, network, RPC, timestamp, and git commit
- Exclude all private keys and secrets with validation guards
- Provide schema documentation in docs/CONTRACT_DEPLOYMENT_MANIFEST.md and example in deployments/
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.

Add Contract Deployment Artifact Manifest

1 participant