Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[contract] claim starting resources #1036

Closed
aymericdelab opened this issue Jun 28, 2024 · 3 comments
Closed

[contract] claim starting resources #1036

aymericdelab opened this issue Jun 28, 2024 · 3 comments
Assignees

Comments

@aymericdelab
Copy link
Collaborator

The amount of resources claimable should depend on the resources you produce on your realm:

  • lords, troops, donkeys, wheat and fish stay the same
  • other resources should be claimable depending on the input resources needed to start production on your realm:
  • base amount: X, for resources not needed to produce on your realm, could be set very low or even to 0
  • production amount: Y, for resources needed as input for production on your realm
  1. keep the mint config so that you can still add arbitrary amounts/resourceids to the claimable resources for lords, troops, food and donkeys
  2. add additional base amount and production amount in mint config.
  3. change the mint_starting_resources function to also retrieve the inputs needed for production for the realm
@aymericdelab aymericdelab self-assigned this Jun 28, 2024
@aymericdelab
Copy link
Collaborator Author

working on it

@aymericdelab
Copy link
Collaborator Author

currently done in a naive way by minting the resources directly in the wallet. If we keep this resource allocation strategy, we should add in the contract.

@edisontim
Copy link
Collaborator

Can this be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants