This doc contains details on how to setup your NFT metadata.
Once you download the HashLips Art Engine, you will proceed to update the ./src/config file.
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: nextjs-web-app | |
spec: | |
replicas: 2 | |
selector: | |
matchLabels: | |
app: nextjs-web-app |
This doc contains details on how to setup your NFT metadata.
Once you download the HashLips Art Engine, you will proceed to update the ./src/config file.
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
<style> |
async function disconnect() { | |
try { | |
deactivate() | |
} catch (ex) { | |
console.log(ex) | |
} | |
} |
// Import useState from react | |
import { useState } from "react"; | |
function App() { | |
// Add minting toggle listener | |
const [minting, setMinting] = useState(false); | |
// Minting Function | |
async function mint() { |
async function connect() { | |
try { | |
await activate(injected); | |
} catch (ex) { | |
console.log(ex) | |
} | |
} |
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import './index.css'; | |
import App from './App'; | |
import reportWebVitals from './reportWebVitals'; | |
import { Web3ReactProvider } from '@web3-react/core' | |
import Web3 from 'web3' | |
function getLibrary(provider) { | |
return new Web3(provider) |