Skip to content

hakymulla/fossil

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WIP of Fossil to Cairo 1

References

The repo structure and files organisation will be reviewed once all the components will be implemented

Testing

Start Anvil in a new terminal with the command anvil.

Install dependencies:

 dojoup -v 0.7.0-alpha.4
 ```

```bash
cd ethereum
forge soldeer install forge-std~1.8.2

I a New Terminal Start the Katana StarkNet node:

katana --messaging anvil.messaging.json --disable-fee 

In a New Terminal Build the project and set up environment variables:

cd starknet
scarb build
source katana/katana.env

Declare the Cairo contracts:

katana/declare.sh

Deploy the Cairo contracts:

katana/deploy.sh

In a New Terminal Set up local Ethereum testing:

cd ../ethereum
cp anvil.env .env
source .env
forge script script/LocalTesting.s.sol:LocalSetup --broadcast --rpc-url ${ETH_RPC_URL} 

Send a message:

forge script script/SendMessage.s.sol:Value --broadcast --rpc-url ${ETH_RPC_URL}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Cairo 88.8%
  • Solidity 9.9%
  • Shell 1.3%