Gasless Gossip is a decentralized messaging application that enables users to manage friend relationships and privacy on StarkNet. This repository contains the smart contracts for friend management and related features.
- Modularity: Contracts are organized by feature (e.g., friend management)
- Efficiency: Optimized for minimal gas consumption on StarkNet
- Security: Thorough testing and security measures
All contract source files are located in the src/
directory. Tests are located in the tests/
directory.
- Cairo 1.0 or later
- Scarb - Cairo package manager
- StarkNet Foundry (snforge) for advanced testing
-
Clone the repository:
git clone https://github.com/songifi/gg_contract.git cd contracts
-
Install dependencies:
scarb build
To build the contracts:
scarb build
The compiled contracts will be available in the target/
directory.
Run the test suite:
snforge test
Test files are located in the tests/
directory.
This repository uses GitHub Actions for CI. The workflow automatically builds and tests contracts on every push and pull request to any branch. See .github/workflows/ci.yml
for details.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request