NEWTON
Asked
8 months ago
112
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
8 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
7 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?
What does this error means? (AssertionError: assert_not_zero failed: 0 = 0.)
How do I interact with my Pathfinder node?
CairoLang error: `GatewayError: {'contract_address': ['Expected hex string, got:
Is Kakarot part of the Starknet ecosystem?
What is the proxy pattern and how it can help make my smart contracts upgradable in Cairo Language?
What is the maximum value an uint and felt can store in Cairo Language?
A plan to get better visibility when a transaction got received but not placed into a block?