Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Skillshare

Smart Contract Development: CryptoDoggies Token Game

via Skillshare

Overview

I'm sure you've heard of CryptoKitties, the first highly successful Ethereum Smart Contract and Distributed Application (DApp) that took the world by storm!.

There is no denying that Ethereum and the amazing opportunities that come from writing Smart Contracts will only get bigger and more disruptive in the coming years as it continues to grow.

Learn How To Use:

  • Solidity - The programming language used to write smart contracts

  • Truffle - The most popular way to develop smart contracts

  • MetaMask - Browser extension to interact with your smart contract

  • Bootstrap / JavaScript - You'll build your own website using common web frameworks and languages.

  • ERC721 Token Standards - You'll build your own ERC721 compliant Token that can be traded on the Ethereum blockchain.

I wrote this course for people who want to step through each of the steps required to implement their very own ERC721 Token called CryptoDoggies. Each of the Doggies created is completely unique and can be sold and collected on the Ethereum Blockchain.

By the end of this course you will have deployed your very own CryptoDoggy contract, and be fully capable in creating anything you can dream of using the amazing power of Ethereum Smart Contracts.

Syllabus

  • Welcome to the Course
  • What Is Ethereum?
  • Introduction to Smart Contracts
  • Development Setup - Windows
  • Development Setup - MacOS
  • Development Setup - Linux
  • CryptoDoggies Contract
  • Version Pragma
  • State Variables & Math Operators
  • Structs - Defining our Doggies
  • Arrays & Functions - Location for our Doggies
  • Mapping - Storing our Doggies
  • Events - Tracing our Doggies
  • [Optional] Testing Smart Contracts with Remix
  • Setting up IDE for Truffle Development
  • Layout of a Truffle Project
  • Ganache & TestRPC Usage
  • Web3 Unit Testing
  • ERC721 Tokens
  • Adding ERC721 Interface and Libraries
  • CryptoDoggies DNA Explained
  • Adding Required ERC721 Variables and Data Structures
  • ERC721 Token Creation and Access
  • Generate Random DNA
  • Token Purchase and Balance Withdrawal
  • Token Pricing Steps
  • ERC721 Token Function Overrides
  • ERC721 Private Function Overrides
  • Refactoring Unit Tests and Crushing Bugs!
  • Introduction to Remix, MetaMask and Ropsten Testnet
  • Getting Started With Frontend Development
  • Creating the Doggy Cards
  • Write the loadDoggy Function to visualise the Cards
  • Contract Load from JSON ABI
  • Handle Doggy Purchase
  • Load Doggies from Contract Function
  • Deploy CryptoDoggies to Ropsten Testnet
  • [Optional] Deploying to Mainnet

Taught by

Nathan Glover

Reviews

Start your review of Smart Contract Development: CryptoDoggies Token Game

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.