sumeetpareek / stoner-cat-baxter-the-hackster

Goal of this side project is to learn crypto coding and create a Dapp on the Polygon chain where imaginary Stonercat Quotes can be minted. Maybe also pair program with Ashton Kutcher and his geeky Hollywood friends! Haha, lol, I am Baxter-the-Hackster!
https://simpleandaudacious.com/
The Unlicense
0 stars 0 forks source link

Deploy the simplest ever smart contract on Polygon blockchain and interact with it #1

Open sumeetpareek opened 2 years ago

sumeetpareek commented 2 years ago

TASK (from end users perspective)

DONE WHEN

CHECKLIST

sumeetpareek commented 2 years ago

WORK LOG

extremely sporadic work done in many micro sessions cuz wife and i have baby on the way (anytime now) and we are at a friends 30th birthday party

and mini sessions mumbai testnet does not have a sign in button https://mumbai.polygonscan.com/ only the mainet does https://polygonscan.com/

footer of the testnest has a Add Mumbai Network to metamask button todo try later

tutorials are not good for quick start https://docs.matic.network/docs/develop/getting-started/#-building-a-new-dapp-on-matic dont wanna clone full airbnb to deploy simplest of contracts https://docs.matic.network/docs/develop/full-stack-dapp-with-pos/

paid advance to keerthi https://twitter.com/SumeetOlivier/status/1421469791148204032 todo follow up on the code evaluation task

renamed simple storage contract to Sumeet001Storage understood functions and some solidity constructs pragma is a way to send specific instructions to the compiler complied contract this created json artifacts with lots of metadata stuff

renamed contract in deploy_web3.js script it reads associated json file and uses that to deploy contract

running deploy script gave error ParserError: Expected pragma, import directive or contract/interface/library/struct/enum/constant/function definition. image

from remix Home download all files gave a zip but it was empty

✅ was able to deploy and run within sidebar .. but not via metamask wallet to a test chain ⛔ web3 deploy sprint would not run, with console error Unhandled promise rejection Error: scriptRunner plugin is already rendered

GOOD LINKS

simple counter deploy from shobhit looks good https://www.youtube.com/watch?v=d5YHnDZNCPU&ab_channel=Shobhit polygon docs on using remix https://docs.matic.network/docs/develop/remix/ figment learning but uses truffle https://learn.figment.io/network-documentation/matic/polygon-matic-pathway/deploy-a-solidity-smart-contract

minting tool to try later https://mintnft.today/ from https://discord.com/channels/635865020172861441/826371674152370182/868620056156860476

https://medium.com/pinata/how-to-create-layer-2-nfts-with-polygon-and-ipfs-aef998ff8ef2 from https://discord.com/channels/635865020172861441/826371674152370182/867800080396320808

Social Discipline

check about sale of animal world war https://animalworldwar.io/#Buy

tracking of NFT floors and overall NFT space https://twitter.com/LeBoredJames/status/1421867712171548675

The rarest attribute of every Stoner Cat is the stoner cat ID. 
Each ID is unique and only one cat has it. 
That's 0.009596928983 % rarity.
Insanely, I know!!!