One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| import React, { useEffect, useState } from "react"; | |
| import { ethers } from "ethers"; | |
| import './App.css'; | |
| import abi from "./utils/WavePortal.json" | |
| export default function App() { | |
| const [currentAccount, setCurrentAccount] = useState(""); | |
| const [allWaves, setAllWaves] = useState([]); | |
| const contractAddress = "0xd289A2e424dE94E9dcfFE03Ae050961Df70a4474"; |
| { | |
| /** | |
| * Better Defaults | |
| **/ | |
| "editor.copyWithSyntaxHighlighting": false, | |
| "diffEditor.ignoreTrimWhitespace": false, | |
| "editor.emptySelectionClipboard": false, | |
| "workbench.editor.enablePreview": false, | |
| "workbench.settings.enableNaturalLanguageSearch": false, | |
| "window.newWindowDimensions": "inherit", |
| deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse | |
| deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse | |
| deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse | |
| deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse | |
| deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse | |
| deb-src http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse | |
| deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse |
| { | |
| "workbench.startupEditor": "newUntitledFile", | |
| "editor.fontSize": 16, | |
| "editor.lineHeight": 1.8, | |
| "javascript.suggest.autoImports": true, | |
| "javascript.updateImportsOnFileMove.enabled": "always", | |
| "editor.rulers": [ | |
| 80, | |
| 120 | |
| ], |
| module.exports = { | |
| env: { | |
| browser: true, | |
| es6: true, | |
| jest: true, | |
| }, | |
| extends: [ | |
| 'react-app', | |
| 'airbnb', | |
| 'plugin:@typescript-eslint/recommended', |
| { | |
| "receitas": [{ | |
| "receita": "Barrinhas de cereal", | |
| "ingredientes": "1 xícara de nozes, 1 xícara de frutas secas, 1 xícara de tâmaras secas sem caroço", | |
| "ingredientesBase": { | |
| "0": "3", | |
| "1": "Nozes", | |
| "2": "Frutas secas", | |
| "3": "Tamaras" | |
| }, |