NEWTON
Asked
24 days ago
28
views
0
// SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.7.0 <0.9.0; /** * @title Storage * @dev Store & retrieve value in a variable */ contract Storage { uint256 number; /** * @dev Store value in variable * @param num value to store */ function store(uint256 num) public { number = num; } /** * @dev Return value * @return value of 'number' */ function retrieve() public view returns (uint256){ return number; } }
0xVato
asked
24 days ago
1
Hey,
so kakarot is not ready yet for production but when it's done, it'll just be like any another EVM-chain RPC providers so you wouldn't need to change anything from a solidity-dev point of view.
As of today, we do use solidity files in our tests but this only works locally and requires to install the whole kakarot project. See for example https://github.com/sayajin-labs/kakarot/blob/240d4b6f2b2b42f1248a261c70f0f3ffea90a2e3/tests/integration/conftest.py
0xFc7c...b4F7d7
answered
24 days ago
Cairo error "Expected expression of type 'starkware.cairo.common.uint256.Uint256' to have an address."
What is the maximum value an uint and felt can store in Cairo Language?
Cairo: How would I store negative numbers then retrieve them as negatives?
Fixed Point pow operation error
Cairo: How to reassign Uint256 in a conditional
How do you optimize gas in Cairo with Uint256/felt?
Does writing it to zero actually do something?
How to convert tokens on starknet? Any DEXs AMMs?
Can I transpile any solidity version?
What is Kakarot, the zkEVM written in Cairo?
What are the projects on starknet that plan to do the domain .stark?
How can I write contract memory with starknetjs?
What is SHARP in Cairo Language?
What are Event Indexers in Cairo lang? What is a StarkNet indexer?