Circles is a decentralized protocol for creating and distributing fair and social money through personal currencies. Built on the Gnosis Chain, it utilizes smart contracts to manage the creation, distribution, and transfer of personal currencies using the ERC1155 multi-token standard.
- Personal Currencies: Each individual can mint their own currency at a rate of one Circle per hour.
- Trust Networks: Currencies become valuable and transferable through trust relationships between participants.
- Demurrage: A 7% annual cost applied to held currencies, encouraging circulation and maintaining equity.
- Retroactive minting for up to 14 days
- Path-based transactions through trust connections
- Flexible economic interactions between individuals, organizations, and groups
- Equilibrium mechanism balancing issuance and demurrage
For more details on Circles and details of the implementation please refer to https://aboutcircles.github.io/circles-contracts-v2/
🐲 Beta Status: This repository is in beta and actively developed in the open. While initial reviews are on-going, we welcome community engagement for wider testing and integration. As AGPL-licensed software, it's provided as-is. We encourage thorough review and testing before any production use.
- Clone the repository:
git clone https://github.com/aboutcircles/circles-contracts-v2 cd circles-contracts-v2
- Install dependencies:
forge install
- Compile the contracts:
forge build
- Run the test suite:
forge test
- For a gas report:
forge test --gas-report
To deploy to the Chiado testnet:
- Copy
.env.example
to.env
and set your private key and API keys. - Run the deployment script:
./script/deployments/chiadoDeploy.sh
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the AGPL-3.0 License.
This project is under active development. The code has not completed externally reviews and should not be used in production environments without proper review and testing.
For questions or support regarding this project, please contact:
- About Circles [email protected]
- Ben [email protected]
We appreciate your interest and feedback!