NethermindEth/starknet.go

Update UDC helpers to use the new UDC contract

Aperta

#772 aperta il 14 lug 2025

 (2 commenti) (0 reazioni) (0 assegnatari)Go (140 fork)auto 404
help wanted

Metriche repository

Star
 (177 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor