{"repo":"CirclesUBI/circles-contracts","free":true,"listed":false,"github":"https://github.com/CirclesUBI/circles-contracts","clone":"git clone https://github.com/CirclesUBI/circles-contracts.git","description":"Fully automated luxury gay space communism contracts","language":"JavaScript","stars":77,"topics":["smart-contracts","ethereum"],"license":"AGPL-3.0","category":"blockchain-web3","readme_excerpt":"circles-contracts Smart Contracts for Circles UBI Whitepaper Handbook Releases Contributing Ethereum Smart Contracts for the [ Circles ] UBI system: A decentralised Universal Basic Income platform based on personal currencies. [ circles ]: https://joincircles.net Basic design There are several components: Token contract This is derived from standard ERC20 implementations, with two main differences: The ability to mint UBI to the token owner, and the hubTransfer function that allows transitive transfers. Token contracts store the address of the Hub that deployed them, and can only transact transitively with tokens from the same hub. Tokens have owners, which can be an external account or any kind of contract - in our deployment, they are [ Gnosis Safes ]. [ Gnosis Safes ]: https://github.com/gnosis/safe-contracts Hub contract This is the location of system-wide variables and the trust graph. It has special permissions on all tokens that were deployed through it and have authorized it to perform transitive exchanges. All the parameters in a Hub are immutable and it has no owner. Illustrated here are some of the main available calls: - signup method of the Hub deploys a Circles token - Safe or external accounts make trust connections within the hub with the trust method - Users send transitive transactions with the hub, which has special permissions on tokens Installation Requires [ Node ] version 14. [ Node ]: https://nodejs.org/en/download Development Requires Node version 14.","default_branch":null,"files":null,"tree":[],"storefront":"/r/CirclesUBI","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/CirclesUBI/circles-contracts/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}