galxe-contracts
galxe-contracts copied to clipboard
bounty: Project Galaxy Core Contract Gas Optimizations
Background
At Project Galaxy, we are building the infrastructure to power an open and collaborative credential data network. We help Web3 developers leverage credential data to build better products and communities. At the same time, data curators contribute to our credential data network while earning income once the data is utilized. You can learn more about Project Galaxy at our website and this deep dive article.
Contract Address:
Chain | SpaceStation | StarNFT |
---|---|---|
Ethereum | 0xaae9f9d4fb8748feba405cE25856DC57C91BbB92 | 0x0BE85A36ec9C8FAaf21daab71b70Fb3859BF0f8B |
Polygon | 0x6cad6e1abc83068ea98924aef37e996ed02abf1c | 0x1871464F087dB27823Cff66Aa88599AA4815aE95 |
BNB Chain | 0x760B8237e457e6A2b5b196ae073EF0301b8316a2 | 0x9F471abCddc810E561873b35b8aad7d78e21a48e |
Sample transaction:
https://etherscan.io/tx/0xac053601cffb0411a7095bc4e811492ab1ebc1e47fc17b622d898bf5b2da15ae
https://polygonscan.com/tx/0x74aed47b6cb146d643ac07722029dbd228c995aa6dab69a19d2f22fccaf40b47
https://bscscan.com/tx/0x29c88c719d1a16db784aca9b0ef33970239aba0d4dec03bbb7b126afa8a55f7d
Task
We are looking for experienced developers to improve our core smart contracts and help us reduce the gas used when the contracts are invoked.
Contract repo: https://github.com/ProjectGalaxyHQ/galaxy-contracts
Contract technical specifications: https://github.com/ProjectGalaxyHQ/galaxy-contracts/blob/main/SPECIFICATION.md
Feel free to ask any questions on our Discord #developer channel.
Scope
- SpaceStationV2: https://github.com/ProjectGalaxyHQ/galaxy-contracts/blob/main/contracts/SpaceStation/SpaceStationV2.sol
- StarNFTV3: https://github.com/ProjectGalaxyHQ/galaxy-contracts/blob/main/contracts/StarNFT/StarNFTV3.sol
Rules
Please submit a PR including stats on gas before and after modifications in various invoke path. Please make a good faith effort to avoid privacy violations, destruction of data, and interruption or degradation of our service. Bounty can be marked as complete once the PR is approved and merged.
- NFT must follow EIP712 standard
- NFT must implement IStarNFT interface
- NFT must be auto recognizable by Opensea
- SpaceStation must implement ISpaceStation interface
- Claim one NFT without fee gas must be lower then 150k gas on Rinkeby
- Events must not be removed