delphi.pythai.net
Pythia Mystic: Oracle of Delphi
bankon-nodejs/
├── public/
│ ├── css/
│ │ └── styles.css
│ └── index.html
├── routes/
│ └── auth.js
├── views/
│ └── restricted.html
├── server.js
├── package.json
└── .env
create a new directory named pythia with the following structure:
src/: The directory where you'll place your Solidity contracts
lib/: A directory for dependencies
script/: The directory for your deployment or other scripts
test/: The directory where you'll write your tests
curl -L https://foundry.paradigm.xyz | bash
source ~/.bashrc
foundryup
forge init pythia
cd pythia
forge build
forge install OpenZeppelin/openzeppelin-contracts
update to latest and greatest
forge update OpenZeppelin/openzeppelin-contracts
lock to a specific release
forge install OpenZeppelin/openzeppelin-contracts@v4.8.0
pythia-nextjs/
│
├── pages/
│ ├── _app.js # Custom App component to wrap pages with providers
│ ├── index.js # Home page (equivalent to App.js in React)
│ └── api/ # API routes if needed
├── components/
│ ├── Web3AuthProvider.js # Web3Auth context and provider
│ └── Web3Provider.js # Wagmi and RainbowKit configuration
├── public/ # Static assets
├── styles/ # Global styles and CSS files
├── next.config.js # Next.js configuration file
├── package.json # Project dependencies and scripts
└── README.md # Project documentation
npx create-next-app pythia-nextjs
cd pythia-nextjs
npm init
npm install --save-dev @babel/core @babel/preset-env @babel/preset-react && npm install next react react-dom @web3auth/core @web3auth/modal ethers wagmi @wagmi/core @rainbow-me/rainbowkit alchemy-sdk moralis