Skip to content

PYTHIA MSTIC insights from the oracle of delphi immortalize ancient knowledge on the blockchain

License

Notifications You must be signed in to change notification settings

PYTHIAMYSTIC/PYTHIA

Repository files navigation

PYTHIA (c) 2024 PYTHAI

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

install foundry

curl -L https://foundry.paradigm.xyz | bash
source ~/.bashrc
foundryup
forge init pythia

compile pythia contract

cd pythia
forge build

add openzeppelin to foundry

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

frontend UIUX

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

About

PYTHIA MSTIC insights from the oracle of delphi immortalize ancient knowledge on the blockchain

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published