Build the smart contract engine #1923
Replies: 5 comments
-
Those questions were pulled up:
Purpose of the main? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
To generate a Smart Contract Address (without keys), you can for example hash( concat(operation.hash, index_of_this_smart_contract_among_those_created_by_this_operation) ) |
Beta Was this translation helpful? Give feedback.
-
Should smart contract addresses and just addresses be the same rust struct ? In other worlds, if/when we implement #1105 should they have the same prefix ? They can share common methods but are they the same ? |
Beta Was this translation helpful? Give feedback.
-
Maybe we can leave a bit somewhere in the ledger to say whether it is a SC address or a normal address... the only use case I see is being able to know whether the bytecode you're calling may change or is immutable |
Beta Was this translation helpful? Give feedback.
-
We want first to create an SC simulator, mocking the blockchain and the real massa ledger.
The project wasm-simulation that help us to find the best way to add a smart contract engine in massa.
(Go to the
brainstorming
branch to see the questions)Beta Was this translation helpful? Give feedback.
All reactions