Skip to content

Instantly share code, notes, and snippets.

View joselvelez's full-sized avatar
👋
Learning & Experimenting

Jose L. Velez joselvelez

👋
Learning & Experimenting
View GitHub Profile
@joselvelez
joselvelez / MyEpicNFT.sol
Last active November 21, 2021 21:52 — forked from farzaa/MyEpicNFT.sol
pragma solidity 0.8.0;
// We need some util functions for strings.
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "hardhat/console.sol";
contract MyEpicNFT is ERC721URIStorage {
@joselvelez
joselvelez / App.js
Created October 18, 2021 13:36 — forked from adilanchian/App.js
Section 5: Update UI + deploy to an Ethereum testnet so anyone on the internet can wave at you using their
import React, { useEffect, useState } from "react";
import { ethers } from "ethers";
import './App.css';
import wavePortal from './utils/WavePortal.json';
const App = () => {
const [currentAccount, setCurrentAccount] = useState("");
const [allWaves, setAllWaves] = useState([]);
const contractAddress = "0xd5f08a0ae197482FA808cE84E00E97d940dBD26E";