Lokian.eth icon indicating copy to clipboard operation
Lokian.eth copied to clipboard

Interested to deploy on a L2-Blockchain?

Open wsdt opened this issue 3 years ago • 35 comments

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

wsdt avatar Mar 30 '22 10:03 wsdt

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

tytzM17 avatar Mar 30 '22 10:03 tytzM17

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: [email protected]

wsdt avatar Mar 30 '22 10:03 wsdt

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 avatar Apr 01 '22 08:04 wsdt

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 avatar Apr 01 '22 08:04 wsdt

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

wsdt avatar Apr 01 '22 08:04 wsdt

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

tytzM17 avatar Apr 01 '22 09:04 tytzM17

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

tytzM17 avatar Apr 01 '22 09:04 tytzM17

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? :)

wsdt avatar Apr 01 '22 10:04 wsdt

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' ?

tytzM17 avatar Apr 01 '22 10:04 tytzM17

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

wsdt avatar Apr 01 '22 10:04 wsdt

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 avatar Apr 01 '22 11:04 tytzM17

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

tytzM17 avatar Apr 01 '22 11:04 tytzM17

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 avatar Apr 01 '22 11:04 wsdt

thanks! Will try later

wsdt avatar Apr 01 '22 11:04 wsdt

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 :)

tytzM17 avatar Apr 01 '22 11:04 tytzM17

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 :)

wsdt avatar Apr 01 '22 22:04 wsdt

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 avatar Apr 02 '22 18:04 tytzM17

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

tytzM17 avatar Apr 02 '22 19:04 tytzM17

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 :)

wsdt avatar Apr 03 '22 13:04 wsdt

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 ;)

tytzM17 avatar Apr 03 '22 13:04 tytzM17

Ok great mate! Looking forward to it!

wsdt avatar Apr 03 '22 15:04 wsdt

Hi mate, how is it going?

wsdt avatar Apr 24 '22 07:04 wsdt

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

tytzM17 avatar Apr 27 '22 22:04 tytzM17

ok cool! Yeah anything I can help you with?

wsdt avatar Apr 28 '22 07:04 wsdt

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.

tytzM17 avatar Apr 29 '22 18:04 tytzM17

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.

wsdt avatar Apr 29 '22 18:04 wsdt

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 avatar Apr 29 '22 20:04 tytzM17

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

tytzM17 avatar May 01 '22 12:05 tytzM17

Yeah sure mate, here are some details:

Boba-Rinkeby (Testnet)

  • Explorer: https://blockexplorer.rinkeby.boba.network/
  • For TuringMonsters NFT just use a regular ERC721

Mainnet

  • Explorer: https://blockexplorer.boba.network/

  • Turing Monsters-NFT: https://blockexplorer.boba.network/address/0xce458FC7cfC322cDd65eC77Cf7B6410002E2D793/transactions

  • Turing Monsters Collection auf NFT Marketplace: https://shibuinft.com/app/collection/0xce458fc7cfc322cdd65ec77cf7b6410002e2d793

I hope this helps mate!

Further documentation:

  • Other contract addresses for mainnet & testnet: https://github.com/bobanetwork/boba/tree/develop/packages/boba/register/addresses

  • General documentation: https://boba.network/start-here/

  • Gateway to bridge testnet tokens from Rinkeby to Boba Rinkeby: https://gateway.rinkeby.boba.network/

wsdt avatar May 01 '22 14:05 wsdt

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

wsdt avatar May 01 '22 14:05 wsdt