-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 6f23f6a
Showing
17 changed files
with
18,625 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# // https://vitejs.dev/guide/env-and-mode | ||
# Create your API in WalletConnec https://cloud.walletconnect.com/ (#const projectId = import.meta.env.VITE_SOME_KEY) | ||
VITE_SOME_KEY= |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
module.exports = { | ||
root: true, | ||
env: { browser: true, es2020: true }, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:react/recommended', | ||
'plugin:react/jsx-runtime', | ||
'plugin:react-hooks/recommended', | ||
], | ||
ignorePatterns: ['dist', '.eslintrc.cjs'], | ||
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' }, | ||
settings: { react: { version: '18.2' } }, | ||
plugins: ['react-refresh'], | ||
rules: { | ||
'react/jsx-no-target-blank': 'off', | ||
'react-refresh/only-export-components': [ | ||
'warn', | ||
{ allowConstantExport: true }, | ||
], | ||
}, | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
dist | ||
dist-ssr | ||
*.local | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
# React-with-Vitejs-for-Rainbowkit-to-Starter-Web3 | ||
Template starter easily Developer friendly every knowledge level to build onchain Web3 applications with Rainbowkit. (https://www.rainbowkit.com/docs/introduction) | ||
|
||
<br/> | ||
|
||
<p align="center"> | ||
<a href="https://linktr.ee/nid_z"> | ||
<picture> | ||
<img alt="logo" src="https://github.com/nidz-the-fact/React-with-Vitejs-for-Walletconnect-to-Starter-Web3/blob/main/nidz-the-fact-cover.png" width="100%" height="400"> | ||
</picture> | ||
</a> | ||
</p> | ||
|
||
Libraries, frameworks that are perfect and comprehensive. Can be used in a variety of ways. | ||
|
||
<pre> | ||
├── <b>📖 Libraries, frameworks</b> | ||
│ ├── <b><a href="https://vitejs.dev/guide/#scaffolding-your-first-vite-project">React</a></b>: with Vitejs. | ||
│ ├─── <b>CSS</b> | ||
│ ├──── <b><a href="https://tailwindcss.com/docs/guides/vite">Tailwind</a></b>: Css styles. | ||
│ ├──── <b><a href="https://daisyui.com/docs/install/">daisyUI</a></b>: Css styles + plugin. | ||
│ ├──── <b><a href="https://v2.chakra-ui.com/getting-started/vite-guide">Chakra UI</a></b>: UI Css speed. | ||
│ ├── <b><a href="https://www.rainbowkit.com/docs/installation">Rainbowkit</a></b>: Connect web3 Blockchain with RainbowKit. | ||
│ ├── <b><a href="https://wagmi.sh/react/getting-started">Wagmi</a></b>: Type Safe, Extensible, and Modular by design. Build high-performance blockchain frontends. | ||
│ ├── <b><a href="https://viem.sh/docs/installation">Viem</a></b>: Build reliable apps & libraries with lightweight, composable, and type-safe modules that interface with Ethereum. | ||
</pre> | ||
|
||
## 🔧 Stacks | ||
|
||
<a href="https://react.dev/"> | ||
<picture> | ||
<img alt="logo" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQcR5U16C8yXgBpl7-Bc7Itjx3_LRl425zINA&s" width="auto" height="50"> | ||
</picture> | ||
</a> | ||
<a href="https://tailwindcss.com/"> | ||
<picture> | ||
<img alt="logo" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTSDKn3vA2YUbXzN0ZC3gALWJ08gJN-Drl15w&s" width="auto" height="50"> | ||
</picture> | ||
</a> | ||
<a href="https://daisyui.com/"> | ||
<picture> | ||
<img alt="logo" src="https://raw.githubusercontent.com/saadeghi/daisyui-images/master/images/daisyui-logo/favicon-192.png" width="auto" height="50"> | ||
</picture> | ||
</a> | ||
<a href="https://v2.chakra-ui.com/"> | ||
<picture> | ||
<img alt="logo" src="https://pbs.twimg.com/profile_images/1244925541448286208/rzylUjaf_400x400.jpg" width="auto" height="50"> | ||
</picture> | ||
</a> | ||
<a href="https://www.rainbowkit.com/"> | ||
<picture> | ||
<img alt="logo" src="https://moralis.io/wp-content/uploads/2023/11/Rainbow.png" width="auto" height="50"> | ||
</picture> | ||
</a> | ||
<a href="https://wagmi.sh/"> | ||
<picture> | ||
<img alt="logo" src="https://moralis.io/wp-content/uploads/web3wiki/196-wagmi/637e6c001c60c5e2d8078d8c_wOdHswYe73lnRqkKuJDsSLgwRkQ9Kt831G_9nSGTEFw.png" width="auto" height="50"> | ||
</picture> | ||
</a> | ||
<a href="https://viem.sh/"> | ||
<picture> | ||
<img alt="logo" src="https://viem.sh/icon-light.png" width="auto" height="50"> | ||
</picture> | ||
</a> | ||
|
||
## ⚙️ Settings | ||
|
||
<pre> | ||
├── <a href="https://github.com/nidz-the-fact/React-with-Vitejs-for-Walletconnect-to-Starter-Web3/blob/main/.env"><b>1.Define api in .env</b></a> | ||
├── <a href=""><b>2.`npm install` & `npm run dev` : To start the server in development.</b></a> | ||
├── <a href="https://github.com/nidz-the-fact/React-with-Vitejs-for-Walletconnect-to-Starter-Web3/blob/main/src/main.jsx#L14C1-L14C84"><b>3.Network adjustment.</b></a> | ||
├── <a href="https://github.com/nidz-the-fact/React-with-Vitejs-for-Walletconnect-to-Starter-Web3/blob/main/src/main.jsx#L38C1-L51C3"><b>4.Set additional information for your network.</b></a> | ||
├── <a href="https://github.com/nidz-the-fact/React-with-Vitejs-for-Walletconnect-to-Starter-Web3/tree/main/src/components"><b>5.Manage components for each page as needed.</b></a> | ||
├── <a href="https://github.com/nidz-the-fact/React-with-Vitejs-for-Walletconnect-to-Starter-Web3/blob/main/src/Blockchain/ReadContract.jsx"><b>6.Example of reading and calling functions from Smart contract.</b></a> | ||
├── <a href=""><b>7.`npm run build` : You will get a dist file and upload it to the website.</b></a> | ||
</pre> | ||
|
||
## ⚒️ Use deployment | ||
|
||
``` | ||
npx degit https://github.com/nidz-the-fact/React-with-Vitejs-for-Walletconnect-to-Starter-Web3 your-name-project | ||
``` | ||
or | ||
``` | ||
git clone https://github.com/nidz-the-fact/React-with-Vitejs-for-Walletconnect-to-Starter-Web3.git | ||
``` | ||
|
||
--- | ||
|
||
💻💖☕ by [Nidz The Fact](https://linktr.ee/nid_z) 🙏 | ||
``` | ||
0x361ef0829E71b3bBc806C224ffcecc97813f93cB | ||
``` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Vite + React</title> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script type="module" src="/src/main.jsx"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.