tytzM17 / Lokian.eth

Trading card game dapp featuring nfts, sharing, fighting, and breeding creatures in evm compatible blockchains
https://app.lokian.monster
GNU General Public License v2.0
41 stars 40 forks source link

Interested to deploy on a L2-Blockchain? #5

Open wsdt opened 2 years ago

wsdt commented 2 years ago

Hi, one of my customers is running a L2 chains and it seems like you are actively implementing this game for a while now.

Would you be interested to launch this game on their chain? We could jump onto a call in the next few days if you like.

Thanks, Kevin, Wavect GmbH

tytzM17 commented 2 years ago

hello,

yeah Sure , why not, I'm interested ;) Is it evm compatible like Polygon or Arbitrum ? currently my dapp is on the polygon testnet mumbai.

Thank u for reaching out. -tytzM@Lokian,eth

wsdt commented 2 years ago

Hi, ok cool! Yes it is EVM compatible. Their solution even supports api calls directly from a smart contract without the need of using a callback like with ChainLink.

If you have time, we could do a quick call right now if you want?

My e-mail: kevin.riedl@wavect.io

wsdt commented 2 years ago

Hi my friend, just trying to play around with it.

It says sprites not found as you are requesting the folder './sprites-copy/'. I just copied the sprites folder and named it like that but the naming is also different (having in sprites just a numerical naming scheme and in sprites-copy expecting a descriptive name).

Is there anything I'm missing? Looking forward to your anser :)

wsdt commented 2 years ago

Yes you have it in the gitignore /src/sprites-copy/*.

Because of copyright, bc you used pokemon graphics?

Would it be possible to send the graphics to me via e-mail just for testing? We will replace them with some of our NFTs if that's okay for you.

wsdt commented 2 years ago

but as said, just playing around for now, need to evaluate if that's what we are looking for.

tytzM17 commented 2 years ago

hi ther, it's here now --> https://tytzm17.github.io/Lokian.eth/

tytzM17 commented 2 years ago

give me ur mumbai testnet public address and i'll send u some erc20 tokens to buy some NFTs ;)

wsdt commented 2 years ago

ah cool thx! But any chance that I get the actual folder from you, so that I can try to run it locally as well? :)

tytzM17 commented 2 years ago

yes coz of copyright, i have changed the creature graphics, i think you can run the repo, buy renaming the folder 'sprites' to 'sprites-copy' ?

wsdt commented 2 years ago

ok no problem, yes tried that but your code searches for different names (the sprites folder has only images like 0.png, etc.)

tytzM17 commented 2 years ago

okay let me check and i'll get back at u. thanks for the interest in my project. what L2 customers do u have, is it like polygon or arbitrum etc?

tytzM17 commented 2 years ago

i have made some changes, i think it would use the pokemn graphics now locally ;)

wsdt commented 2 years ago

it's Boba, a hybrid computing L2. Quite new to the market :) I'll play around a little and keep you updated. If desired I would work with you to make the project maybe a success on their network?

wsdt commented 2 years ago

thanks! Will try later

tytzM17 commented 2 years ago

hmmi've heard of them. seems like a new L2 ;) .. alright ,thanks, u can now just npm i and npm start. just msg me for ur feedback thanks again :)

wsdt commented 2 years ago

ok great thanks! just tried it out on their L2 and it runs smoothly! They actually have a very simple NFT collection (which the community was able to mint for free).

Would you be down to replace the pokemon images with their so-called "TuringMonsters" NFTs? So you would need to own these NFTs to trade them etc (basically this might work out of the box right, by simply replacing the nft contract + the images in the sprites folder?).

Would support you here and help you to deploy it on their network (for sure with full support from our side). Your game could have some traction in their community :)

tytzM17 commented 2 years ago

hello, I think that could possibly work too, but needs modification on my part coz currently the monsters/creatures are not of nft type ;)

tytzM17 commented 2 years ago

ur pr was merged ;) let me also try to implement the 'TuringMonsters' into the game. is it erc1155? hopefully it would work.

wsdt commented 2 years ago

It's a regular erc721.

Here is the mainnet deployment: https://blockexplorer.boba.network/address/0xce458FC7cfC322cDd65eC77Cf7B6410002E2D793/transactions

Open Source code: https://github.com/bobanetwork/boba/tree/develop/boba_community/turing-monsters

Let me know if I can help :)

tytzM17 commented 2 years ago

alright ,I 'll check it out and try to implement the nfts to the game. i'll also let u know if I need some help. thanks for this, much appreciated ;)

wsdt commented 2 years ago

Ok great mate! Looking forward to it!

wsdt commented 2 years ago

Hi mate, how is it going?

tytzM17 commented 2 years ago

hello there, I have not yet finished the implementation of the turing monsters but I am getting there.

wsdt commented 2 years ago

ok cool! Yeah anything I can help you with?

tytzM17 commented 2 years ago

yes, that would be nice. I would be interested. What would u suggest I would do to get the nfts of the users who connect with wallet like metamask. I was thinking of using Moralis for rinkeby to get the user's nft, but they dont have boba or l2 yet for mainnet. I would then use the tumo stats for the monster duels, and also other fun features in the future.

wsdt commented 2 years ago

Hi yes unfortunately Moralis is not yet supported, but we are on it.

Nevertheless, checking of ownership etc is quite easy achievable without Moralis or what kind of data would you need? Maybe I have some good ways around that.

tytzM17 commented 2 years ago

i would like to know the attributes of the different nft/ tumo, and also the nft the user/address got , just like in etherscan or polygon scan which knows what tokens and nfts you have. thank u

tytzM17 commented 2 years ago

hi , i think the api of boba's blockscout could get the nfts.. this one 'Get list of tokens owned by address. ?module=account&action=tokenlist&address={addressHash}' at https://blockexplorer.boba.network/api-docs

wsdt commented 2 years ago

Yeah sure mate, here are some details:

Boba-Rinkeby (Testnet)

Mainnet

I hope this helps mate!

Further documentation:

wsdt commented 2 years ago

Good catch yes could work.

We also have a subgraph on TuringMonsters (also for testnet): https://github.com/bobanetwork/boba/tree/develop/packages/boba/subgraph

Rinkeby GraphQL endpoint: https://graph.rinkeby.boba.network/ Mainnet endpoint: https://thegraph.com/hosted-service/subgraph/bobanetwork/boba-l2-subgraph

tytzM17 commented 2 years ago

Yeah sure mate, here are some details:

Boba-Rinkeby (Testnet)

Mainnet

I hope this helps mate!

Further documentation:

yes, I have tried the gateway and bought some eth and boba tokens too, to play around. thanks for this. I appreciate it.

wsdt commented 2 years ago

@tytzM17 Hi mate, talked with the Boba team. Would you be up for a call with them to see what you need to do that project? Do you have a Telegram handle or E-mail for us?

tytzM17 commented 2 years ago

yes, I have . for telegram its https://t.me/m1dNytBluu and email is official@lokian.monster or ub17@protonmail.com. thanks

wsdt commented 2 years ago

thanks! Forwarded your contact details. You should receive a mail or Telegram soon.

tytzM17 commented 2 years ago

alright, thank you very much 😸