Skip to content

Latest commit

 

History

History
117 lines (73 loc) · 5.1 KB

README.md

File metadata and controls

117 lines (73 loc) · 5.1 KB

ethereum-boilerplate

Fully Typescript ready NextJS components for fast building dApps without running own backend Tadao Minami's Dev Card 🚀DEMO: https://eth-boilerplate.vercel.app/

This boilerplate is built with Moralis

You need active web3 provider/wallet only for authentication. All pages in this boilerplate do not require an active web3 provider, they use Moralis Web3 API. Moralis supports the most popular blockchains and their test networks. You can find a list of all available networks in Moralis Supported Chains

Please check the official documentation of Moralis for all the functionalities of Moralis.

eth-boilerplate

⭐️ Star me

If this boilerplate helps you build Ethereum dapps faster - please star this project, every star makes me very happy!

🚀 Quick Start

Deploy with Vercel

📄 Clone or fork ethereum-boilerplate:

git clone https://github.com/ItamiWorld/ethereum-boilerplate.git

💿 Install all dependencies:

cd ethereum-boilerplate
yarn install

✏ Rename .env.local.example to .env.local and provide required data. Get your Web3 Api Key from the Moralis dashboard:

image

🖊️ Fill the environment variables in your .env.local file in the app root:

Example:

MORALIS_API_KEY=xxxx
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=7197b3e8dbee5ea6274cab37245eec212

🚴‍♂️ Run your App:

yarn start

🧭 Table of contents

🏗 Ethereum Components

<NFTBalances />

image

location: src/component/templates/balances/NFT/NFTBalances.tsx

🎨 <NFTBalances /> : displays the user's balances. Uses Moralis Evm API (does not require an active web3 provider).

<ERC20Balances />

image

location: src/component/templates/balances/ERC20/ERC20Balances.tsx

💰 <ERC20Balances /> : displays the user's ERC20 balances. Uses Moralis Evm API (does not require an active web3 provider).

<ERC20Transfers />

image

location: src/component/templates/transfers/ERC20/ERC20Transfers.tsx

💰 <ERC20Transfers /> : displays the user's ERC20 transfers. Uses Moralis Evm API (does not require an active web3 provider).

<NFTTransfers />

image

location: src/component/templates/transfers/NFT/NFTTransfers.tsx

🎨 <NFTTransfers /> : displays the user's NFT transfers. Uses Moralis Evm API (does not require an active web3 provider).

<Transactions />

image

location: src/component/templates/transactions/Transactions.tsx

💰 <Transactions /> : displays the user's transactions. Uses Moralis Evm API (does not require an active web3 provider). Happy coding!!!