Inspiration

This is inspired by wolf game. I was intrigued by how they store assets on-chain and how they have randomized the assets.

What it does

It create your NFT on-chain without any intervention of creator of the smart contract. After NFT is created no one is able to alter the metadata.

How we built it

To actual randomize the asset, I have used Random function that is available on the Aurora platform (which under the hood uses randomness function provided by NEAR protocol).

Challenges we ran into

Understanding how random function works was a tricky topic. As I never dealt with Assembly in solidity. Using it was simple but where is fun if you uses code that you don't understand.

Accomplishments that we're proud of

I am proud of that I learned assembly in solidity.

What's next for Own your in-game assets

Next is implementing the staking smart contract for the NFTs and turning this into a 2d farming game with phasor or some other JavaScript game engine.

Built With

Share this project:

Updates