Skip to content

feat: add tokamak-deployer CLI binary for L1 contract deployment#393

Merged
theo-learner merged 1 commit into
mainfrom
feat/tokamak-deployer
Apr 16, 2026
Merged

feat: add tokamak-deployer CLI binary for L1 contract deployment#393
theo-learner merged 1 commit into
mainfrom
feat/tokamak-deployer

Conversation

@theo-learner
Copy link
Copy Markdown
Member

Summary

  • cmd/tokamak-deployer: L1 컨트랙트 배포 및 genesis 생성을 위한 독립 Go CLI 바이너리 추가
    • deploy-contracts: L1 RPC + private key + chain ID로 컨트랙트 배포 → deploy-output.json
    • generate-genesis: deploy output + rollup config → genesis.json / rollup.json
    • 컨트랙트 아티팩트를 바이너리에 embed하여 forge 없이 실행 가능
  • .github/workflows/release-deployer.yml: v* 태그 push 시 goreleaser로 자동 릴리즈
  • .goreleaser.yml: linux-amd64 / linux-arm64 / darwin-amd64 / darwin-arm64 빌드

Related

Test plan

  • v* 태그 push 시 CI 워크플로우(release-deployer.yml) 정상 실행 확인
  • goreleaser가 4개 플랫폼 바이너리 생성 확인 (linux-amd64, linux-arm64, darwin-amd64, darwin-arm64)
  • trh-sdk를 통한 L2 배포 시 바이너리 다운로드 및 L1 컨트랙트 배포 성공 확인

🤖 Generated with Claude Code

…x-arm64 build

- Add pnpm/action-setup@v4 and actions/setup-node@v4 before contract build step
  to fix 'pnpm: command not found' error on ubuntu-latest runner
- Remove linux/arm64 ignore from goreleaser config so CI produces
  tokamak-deployer-linux-arm64, which trh-sdk deployer_binary.go expects

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@gemini-code-assist
Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@theo-learner theo-learner merged commit cadcd8f into main Apr 16, 2026
3 of 11 checks passed
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