0xSpaceShard / 0xSpaceShard/cairo-cli-docker

Test by compiling sample contracts

Open Beginner friendly
#8 0 comments 0 reactions 1 assignee Claimed by @Nathan-SL View on GitHub
enhancement
Dominant language
Shell
Stars
10
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Add two simple contracts (cairo0 and cairo1) and assert they can be compiled.

Can be done in this section of the shell script, perhaps after checking the versions:
https://github.com/Shard-Labs/cairo-cli-docker/blob/7cc3a832e99e28b9f136ab8909e42b03af780a15/build_and_push.sh#L27-L29

Contributor guide

No contributing guide indexed for this repository

Research direction

Look at the build_and_push.sh script around lines 27-29. Create two simple Cairo contracts (one cairo0, one cairo1) in the repository. Add a test step that uses the cairo-cli to compile them and verify the output. Check the existing script for how the CLI is invoked and ensure the test runs as part of the build process.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
cli, testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
70/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.