Skip to content

Conversation

outofboxer
Copy link

@outofboxer outofboxer commented Apr 12, 2025

We use new feature of ZK Sync, named ZKsync SSO. I'm a Golang developer involved in this project. We lack of Golang smart contract wrappers for ZKsync SSO. So I created script to generate Golang wrappers of ZKsync SSO smart contracts using abigen and original Hardhat project of ZKsync SSO. All is run using docker.

What 💻

  • Makefile was changed, added "generate-contracts-zksso" target to call "scripts/zksync-sso/execute.sh".
  • New Shell script "scripts/zksync-sso/execute.sh" does two things:
  1. Downloads ZK Sync SSO project inside docker, runs it, performs copying of ABI JSON files from docker to local disk.
  2. Run another docker to run abigen utility to generate Golang files from ABI JSON, and copy it to "contracts/zksyncsso" dir. This dir is also included into this MR/PR.
  • All other *.go files are autogenerated by this script.

Why ✋

  • New Smart Contracts of ZKsync SSO project is currently missing in this repo.
  • We extensevely use ZKsync SSO for Golang development.

Evidence 📷

Included screenshots of successfull generation:
image

…er involved in this project. We lack of Golang smart contract wrappers for ZKsync SSO. So I created script to generate Golang wrappers of ZKsync SSO smart contracts using abigen and original Hardhat project of ZKsync SSO. All is run using docker.
@outofboxer outofboxer requested a review from a team April 12, 2025 21:59
@outofboxer outofboxer changed the title ZkSync SSO mart contracts wrappert generator and wrappert itself ZkSync SSO smart contracts wrapper generator and wrapper itself Apr 13, 2025
@cpb8010 cpb8010 self-requested a review April 22, 2025 15:08
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