As a new dev in web3, here are some quick notes about 0xTitans
2023 challenge.
Lot's of information are given in the official notion.
- Foundry installation
As a new dev in web3, here are some quick notes about 0xTitans
2023 challenge.
Lot's of information are given in the official notion.
This file is intented for very new contributor (as I am) to onboard on the madara project, the sequencer of Starknet.
At the last community call, a special accent was put on RPC contributions to make madara quickly featured to be queried as a fullnode.
Here is a little guide to quickly dive into madara project, focused on RPC.
Cairo es el lenguaje utilizado en Starknet para escribir contratos.
Últimamente, la versión de Cairo pasó de Cairo 0
a Cairo 1
, lo cuál implica un
cambio de sintaxis pero también las herramientas de desarrollo.
Además, la implementación de referencia esta migrando de python
a rust
.
Cairo lang serà en los próximos meses reemplazado por
starknet-rs implementado en starkli.
Pero hasta que esto sea hecho, necesitamos poder compilar Cairo 1
, y utilisar el cli
de cairo-lang
para desplegar el código compilado
Cairo is the language used by Starknet to write smart contracts.
Lately, the version was switched from Cairo 0
to Cairo 1
, where
the syntax has changed but the tooling is also evolving.
Moreover, the reference implementations of Starknet are migrating from python
to rust
.
Cairo lang will soon be replaced by
starknet-rs used by starkli.
But until those tools become 100% functional, we need to compile Cairo 1
code, and use el cli
of cairo-lang
to deploy contracts on-chain.
I have this error after doing:
cd tests
npm install
npm run test-seq
> ts-tests@1.0.0 test-seq
> mocha -r ts-node/register 'tests/**/test-*.ts'
Madara is a Starknet sequencer. Written using rust and substrate (a SDK to build blockchain), Madara is a community driven sequencer supported by Starkware Keep-Starknet-Strange team which is expected to be one of the major sequencers participating in the Starknet decentralization.
If you don't know Madara, take a look at the repository and the contributor starter pack to have an idea of how it is built.
The long string implementation in cairo will be present in the compiler itself. Can be tracked here: https://github.com/orgs/starkware-libs/projects/1/views/1
But waiting for this to come, here is a demo implementation of how long string can work.
This implementation is not exhaustive, and not heavily tested. However, you can find some useful implementation of some traits
I am trying to pre-compute a keccak
hash in a rust library, to then send it to Ethereum where it must match
the re-computed hash in solidity.
However, I have a strange behavior.
The data to hash:
function testConsumeMessageFromL2(uint256 fromAddress, uint256[] calldata payload)
external