Ethereum Smart Contract integration is one of the most popularly request videos from our previous series earlier this year with Ethereum and Unity Game Development integrations. In this first part of the tutorial, we will look at deploying an ERC-20 token to the Ropsten Test Network with Metamask. And in the follow up video we will look into how you can use Unity to communicate with the Smart Contract that has been deployed on the Blockchain.
Discord : / discord
FusedVR Render Streaming : https://github.com/FusedVR/VRStreaming
Google Cloud Referral Link: https://gcpsignup.page.link/F1Fi
Remix : https://remix.ethereum.org/
ERC-20 Token Code
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.7.0;
import "https://github.com/OpenZeppelin/openz...";
contract Token is ERC20 {
constructor () ERC20("FuseVR", "FZ") {
_setupDecimals(2);
_mint(msg.sender, 10 * (10 ** uint256(decimals())));
}
function mint() public returns (bool) {
_mint( msg.sender, 1000 );
return true;
}
}
Chapters:
0:00 Overview
0:51 Remix
2:38 OpenZepplin
7:38 Compile & Deploy
10:03 Etherscan Validation
Some Affiliate Links that help support the channel :
Order Oculus Quest 2 ; https://amzn.to/2G3NwXq
Check out our book on Amazon : https://amzn.to/2lmry7H
Leap Motion : https://amzn.to/2VDTcur
Looking to get into VR? Try Oculus Quest : https://amzn.to/2otkjfe
Or for PC VR try Vive Cosmos: https://amzn.to/2ILa6lo
Google Cloud Referral Link: https://gcpsignup.page.link/F1Fi
Want to Donate?
Bitcoin Address : 3QzAxbMBVr9nrq64AtcwjUoBqVgyjyHQcR
Ethereum Address : 0xB2B92DDAC0c8D976ee22Daf58Ff67AeBD194dE0d
----------------------------------------------------------------------------------
Welcome to FusedVR! These videos/streams are a chance not only for anyone to learn more about AR/VR development, but also a chance for anyone to ask questions about LITERALLY anything! Whether it be about your own AR/VR development, your future projects, or just AR/VR in general, we would love to talk with you about it!
Interested in keeping up to date with the channel? Follow us on social media or subscribe to the channel!
Twitter : / fusedvr
Subscribe on Youtube : http://bit.ly/1SZXwtn
#ethereum #unity #erc20