NEWTON
Asked
5 months ago
105
views
0
Hi, has anyone implemented a minimal proxy (also known as clones), in Cairo? I would like to see an example. I can only find examples for upgraded contracts.
The idea is to deploy multiple proxy instances pointing to the same implementation contract.
Something similar to OZ's Clones.sol on Solidity: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/proxy/Clones.sol
This question was originally posted on StarkNet Discord
Newton
asked
5 months ago
0
Accepted answer
This might interest you https://docs.starknet.io/docs/Contracts/contract-classes
This answer was originally posted on StarkNet Discord
Newton
answered
5 months ago
What is the proxy pattern and how it can help make my smart contracts upgradable in Cairo Language?
Is it possible to transpile contracts that use openzeppelin libraries?
How to deploy a contract through starknet.py?
How to submit a StarkNet contract?
Cairo/Nile: Testing the proxy upgrade feature, but my tests fail with the error message TypeError: int() can't convert non-string with explicit base.
A TypeError while unpacking nested tuples into felts
Abi.encode and Abi.decode in Cairo?
How to select the network my Pathfinder node runs on?
How large can addresses be in Cairo?
How to check if a contract has been deployed at a certain address in cairo?
Questions about useStarknetExecute. Do we update the transaction manager on our end? [StarkNet/Cairo]
Do I need to learn cairo to develop on starknet?
Will StarkNet wallets work after Q4 2022 Final State Reset? Or do I need to create and merge a new wallet?
Is there a javascript version of StarkEx playground?