Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Guildly/contracts
https://github.com/Guildly/contracts
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/Guildly/contracts
- Owner: Guildly
- License: mit
- Created: 2022-05-06T17:04:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-09T13:40:27.000Z (11 months ago)
- Last Synced: 2024-08-03T16:09:40.055Z (5 months ago)
- Language: Rust
- Size: 8.36 MB
- Stars: 8
- Watchers: 4
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-account-abstraction - Guildly: An implementation for having guilds for on-chain games on Starknet.
README
# Guildly Contracts
An implementation for having guilds for on-chain games on Starknet.
_Disclaimer: This code is not intended for production use and has not been audited or tested thoroughly_
## Description
The purpose of this project is to create a multi owner guild where players can share the game assets between eachother. The guild is token gated, a certificate is minted to identify roles, tokens you own etc.
## Instructions
In order to create a guild follow these steps:
- Deploy a guild contract from the Guild Manager (Factory contract).
- Initialize permissions of the guild, this is setting some contracts addresses and selectors which the guild can interact with.
- Add members to your guild, choosing their access roles.
- Deposit some tokens into the guild.
- Members of the guild can interact with functions permitted, while also using tokens withiin it.## Testing
Some tests have been created in snforge. You can run `scarb test` to run them in the main directory.
## TODO
- [x] Add proxy testing
- [ ] Bit mapped roles
- [ ] Reward distribution