NethermindEth/starknet.go

Update UDC helpers to use the new UDC contract

Open

#772 opened on Jul 14, 2025

 (2 comments) (0 reactions) (0 assignees)Go (140 forks)auto 404
help wanted

Repository metrics

Stars
 (177 stars)
PR merge metrics
 (PR metrics pending)

Description

Class hash: 0x01b2df6d8861670d4a8ca4670433b2418d78169c2947f46dc614e69f333745c8 Contract address: 0x02ceed65a4bd731034c01113685c831b01c15d7d432f71afb1cf1634b53a2125

contract: https://github.com/OpenZeppelin/cairo-contracts/blob/main/packages/presets/src/universal_deployer.cairo Docs: https://docs.openzeppelin.com/contracts-cairo/2.0.0/udc

Update functions like utils.BuildUDCCalldata, utils.PrecomputeAddressForUDC, and account.DeployContractWithUDC. See the new changes, and set it as the default option in our enum.

Contributor guide