ApeWorX / archive-ape-starknet

StarkNet ecosystem plugin for the Ape Framework
https://www.apeworx.io/
Apache License 2.0
19 stars 12 forks source link

Remove DeployTransaction #115

Closed antazoey closed 1 year ago

antazoey commented 1 year ago

Overview

Specification

The UDC contract method name is deployContract. You can see its implementation inputs here: https://github.com/OpenZeppelin/cairo-contracts/blob/main/src/openzeppelin/utils/presets/UniversalDeployer.cairo#L29-L33 We should automatically craft an InvokeFunctionTransaction using this method and expected call data. The contract address of the UDC should be hardcoded or gathered from a library.

Dependencies

Include links to any open issues that must be resolved before this feature can be implemented.