PaimaStudios / paima-game-templates

Paima Engine Game Templates for developers.
https://paimastudios.com
MIT License
11 stars 8 forks source link

Make it easier to have a mock chain for the template #48

Closed SebastienGllmt closed 9 months ago

SebastienGllmt commented 1 year ago

Right now for the templates we require people to deploy the contracts themselves to a chain of their choice.

This works, but it's a lot to ask for somebody who just got started and, for a lot of games, just being able to setup a local chain that deploys all the contracts they need for them is probably good enough up until production (since realistically during development you call database:reset extremely often)

Even just a script to be able to deploy all the contracts (instead of having to generate the constracts folder and understand the whole setup) would be a big win for time to get started as a new user

This partially overlaps with https://github.com/PaimaStudios/paima-engine/issues/237

SebastienGllmt commented 9 months ago

Implemented with the latest version of Paima. I updated the trading card template to this already, and will be updating the remaining ones