Skip to content

songifi/gg_contract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gasless Gossip Smart Contracts

Overview

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.

Architecture

  • Modularity: Contracts are organized by feature (e.g., friend management)
  • Efficiency: Optimized for minimal gas consumption on StarkNet
  • Security: Thorough testing and security measures

Contract Structure

All contract source files are located in the src/ directory. Tests are located in the tests/ directory.

Getting Started

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/songifi/gg_contract.git
    cd contracts
  2. Install dependencies:

    scarb build

Development

Building Contracts

To build the contracts:

scarb build

The compiled contracts will be available in the target/ directory.

Testing

Running Tests

Run the test suite:

snforge test

Test files are located in the tests/ directory.

Continuous Integration

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.

Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 10

Languages