Skip to content

Conversation

@sneakzttv
Copy link
Contributor

@sneakzttv sneakzttv commented Nov 6, 2024

Altered service adapter to allow on-chain contracts to work on any chain and not just a local one.
Altered current UIs for a more straight forward and easy to understand approach.
Added a few more methods to accommodate for error handling during the open process.

Testing:
Run setup batch / shell file.
Create a lootbox here on the gaming dashboard.
Fill lootboxes with rewards from the dashboard collections.
Mint lootboxes to your chose wallet address.
Open the lootbox sample scene from the sample package.
Enter the lootbox contract address into the lootboxes service adapter on the web3 object.
Add the events service adapter to the web3object shown below.
Rewards will be dynamically populated for lootbox claims in the reward menu based on event data.
Inventory items are dynamically populated based on the lootbox contents as everything is indexed.

image

sneakzttv and others added 24 commits October 30, 2024 00:37
Reset
Calls
working
lightweight fix
abi encoder issues with gas estimation
Reward menus added
Need to deserialize data from receipt for rewards
Need to deserialize data from API to keep state for inventory
Simple rewards skeleton with switch added to handle different data types.
Dynamic balance fetching
lootbox contracts added with conditionals
service adapter updated
updates
updates
login working
canvas scaling updated to be agnostic for different screen ratios.
functions condensed to reduce repetition.
code cleaned up for readability.
debug comments removed.
@sneakzttv sneakzttv marked this pull request as ready for review November 29, 2024 07:54
@sneakzttv sneakzttv added the ready-to-merge Ready to Merge PR - this'll trigger required checks label Dec 4, 2024
@sneakzttv sneakzttv added ready-to-merge Ready to Merge PR - this'll trigger required checks and removed ready-to-merge Ready to Merge PR - this'll trigger required checks labels Dec 4, 2024
Copy link
Contributor

@creeppak creeppak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some questions. Hope we actually get the 3D scene back, I put a lot of effort into it 🥲

@sneakzttv sneakzttv requested review from creeppak and rob1997 December 6, 2024 12:39
@sneakzttv
Copy link
Contributor Author

All changes addressed for now. Re review please <3

@sneakzttv sneakzttv added dependencies Pull requests that update a dependency file ready-to-merge Ready to Merge PR - this'll trigger required checks and removed ready-to-merge Ready to Merge PR - this'll trigger required checks dependencies Pull requests that update a dependency file labels Dec 6, 2024
@sneakzttv sneakzttv added ready-to-merge Ready to Merge PR - this'll trigger required checks and removed ready-to-merge Ready to Merge PR - this'll trigger required checks labels Dec 6, 2024
@sneakzttv sneakzttv merged commit 907ef3d into dev Dec 9, 2024
7 checks passed
@sneakzttv sneakzttv deleted the sneakz/lootbox-sample-v2 branch December 9, 2024 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documented Apply on Pull Request after documentation to allow merge ready-to-merge Ready to Merge PR - this'll trigger required checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants