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

Create new Web API method in NFT Controller to record OLAND's purchased; PRIORITY=HIGH; KARMA=1111 #281

Open
dellams opened this issue Dec 22, 2022 · 0 comments

Comments

@dellams
Copy link
Collaborator

dellams commented Dec 22, 2022

Create new Web API method in NFT Controller to record OLAND's purchased

karmaPoints = 1111;             // Earn 1111 Karma Points For Completing This Quest).
receive+=Badges.SuperHero;      // Receive Super Hero Badge).
priority=PriorityLevel.High;    // High Priority).

Greetings Fellow Coders,

We are very pleased you have found us and are willing to do your bit to save the world, thank you for being a superhero! :)

Method sig:

PurchaseOLAND(string walletAddress, string avatarUsername, Guid avatarId, string titles)

This needs to record the following:

Wallet Address of person purchasing (can get from their Avatar)
Avatar username
Avatar ID
List of Tiles selected in Unity (each tile will have 4 latlong co-ordinates defining each corner from top left to bottom right clockwise). Each tile UID (unique id) will be made up of the 4 latlong co-ordinates concentered together as a string. Each UI will be separated by a comma (comma delimited list). So this param will just be a string, we may later choose to pass in a JSON string instead if we need to store additional info, etc or maybe it would be easier? Please lipase with the Unity team to check…
This also needs to call into the Cargo API to make the NFT purchase and then log the above info into the DB. For now, use MongoDBOASIS, soon I will create a new API for storing custom info/data that Web API devs can build on top of… This will be using COSMIC (part of STAR ODK). I hope to start work on this tomorrow! 🙂

The same goes for anyone else who needs to store additional info for new Web API methods, please use MongoDBOASIS for now, until COSMIC can be integrated into the Web API. COSMIC is built on top of the OASIS API and is what powers STAR ODK (Low Code Generator and more…).

COSMIC = Computer Object-Orientated Super-Synergistic Machine Interface Code.

STAR = Synergiser, Transformer Aggregator Resolver.

COSMIC is a ORM (Object Relation Mapper) similar to Entity Framework but a lot more advanced and is built from the ground up to be fully integrated into the OASIS API. It contains version control, change tracking, etc and allows data to be stored/accesses/replicated across any OASIS Provider and lots more! 😉

This is the heart of the OASIS and unleashes the true power of it! 😉
Do you take up this noble quest? Up for the challenge?

If you can find other fellow coders to join our tribe we will give you lots of karma, shout out endorsement/kudos and reward you with crypto if you bring enough dedicated coders... :)

Check out this doc for details of the people we are looking for and what we can offer you:
https://drive.google.com/file/d/1b_G08UTALUg4H3jPlBdElZAFvyRcVKj1/view?usp=sharing

**Want to make a difference in the world? What will be your legacy? Ready to be a hero?

TOGETHER WE CAN CREATE A BETTER WORLD**

Many thanks,

The Our World Tribe
(The Justice League)

@dellams dellams changed the title Create new Web API method in NFT Controller to record OLAND's purchased Create new Web API method in NFT Controller to record OLAND's purchased; PRIORITY=HIGH; KARMA=1111 Dec 30, 2022
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

1 participant