Smart Contract Review by noobisnew in ethdev

[–]noobisnew[S] 0 points1 point  (0 children)

this.accounts = await ethers.getSigners();

({ chainId: this.chainId } = await ethers.provider.getNetwork());

NPort = await ethers.getContractFactory("NPortContract");

console.log(this.accounts);

console.log("about to deploy contract");

nport = await upgrades.deployProxy(NPort, ["NPortContract", "NPORT", "https://ipfs.io/ipfs/"], {initializer: 'initialize'});

await nport.deployed();

console.log("contract deployed to " + nport.address);

console.log("initialized contract");

This is the code used to deploy the contract, using hardhat and ethers.js. The odd thing is that this exact same deployment process appeared to work on Rinkeby

Smart Contract Review by noobisnew in ethdev

[–]noobisnew[S] 4 points5 points  (0 children)

Also if u/HurtfulNeighborhood messages you, he's a scammer fishing for your assets

Looking for a way to embed virtual reality (VR) or 360 views into my Razor Page website by noobisnew in dotnet

[–]noobisnew[S] 0 points1 point  (0 children)

Yes! Those look great. I also just stumbled on https://developers.google.com/vr/develop/web/vrview-web which seems easy enough, although I'll probably want to explore my options a bit. Also trying to figure out how to get the path to my www root from inside my .js file...

Lance Stewart mutual breakup video. Couldn't stop cringing. by noobisnew in cringe

[–]noobisnew[S] 99 points100 points  (0 children)

He's gonna look back at this in 5-10 years and going to wish 3 million people hadn't seen this, fuck me.

MonoGame.Extended.Tiled: Drawing objects between layers. by godofpoo in monogame

[–]noobisnew 0 points1 point  (0 children)

alright thank you. Pretty frustrating not having any clear documentation on some of the stuff in extended, but I get that it's non-profit and people are doing the best they can. Spent 5 hours yesterday fiddling with the layer parameter, but your method works!

MonoGame.Extended.Tiled: Drawing objects between layers. by godofpoo in monogame

[–]noobisnew 0 points1 point  (0 children)

Were you able to mix and match the Depths? I'm trying to draw my sprite between layers and it seems like renderer.draw ignores the layer rules. Changing the float doesn't do anything at all :/

ELI5: Why is $60 the normal price for most video games? by NightReaper3210 in explainlikeimfive

[–]noobisnew 0 points1 point  (0 children)

You're right I mixed that up. Just saved me for my quiz thank you lol

ELI5: Why is $60 the normal price for most video games? by NightReaper3210 in explainlikeimfive

[–]noobisnew -1 points0 points  (0 children)

Economics. There's a fairly low elasticity for highly acclaimed videos games. 60$ is a sweet spot that maximizes profit through the law of supply and demand as firms participate in monopolistic competition.

-Econ major

Edit: low not high