These are the web3 commands:
Starting with a project:
init <--browser|--server|--server-api> [options] Starts the setup, will then ask questions like NPM does (name of project etc).
Will create a basic web or node app for them.
options:
--browser
--server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useEffect } from 'react'; | |
import { | |
ChainId, | |
ETH, | |
UniswapDappSharedLogicContext, | |
} from 'uniswap-dapp-integration-shared'; | |
import UniswapReact from 'uniswap-react'; | |
import './App.css'; | |
function App() { |