A group currency would define a number of individual Circles tokens directly or transitively (all accounts trusted by account X) as members. All of those members Circles could be used to mint the group currency.
Note: The GroupCurrencyToken contract is WIP, non-tested, non-audited and not ready for Mainnet/production usage!
There are two possibilities to explore the functionality of GCT:
- Examine the unit tests in
test/GroupCurrencyTokenTest
- Examine the integration test in
scripts/GroupCurrencyToken.s.sol
- Install Foundry
- Clone Repo
forge test -vvvv
forge script script/GroupCurrencyToken.s.sol -vvvv --fork-url= https://rpc.gnosischain.com