A decentralized platform for managing and securing NFT using blockchain technology and zero-knowledge proofs.
Leveraging onchain data: Generative art will use different types of onchain data such as:
Transaction hashes. Wallet addresses. These data will influence the resulting image generated by the algorithm. Specific technology: Forma provides the ability to compile custom metadata, to be stored on-chain. Create new inputs for generative algorithms.
For example, NFTs with specific attributes may have a higher probability of generating rare works from a collection.
The project consists of two components:
root/
βββ frontend # Client
β βββ app/ # Frontend React application
β β βββ [locale]/ # Source code for the frontend
β β βββ api/ # API routes and handlers
β βββ components/ # Reusable React components
β β βββ common/ # Common component
β β βββ form/ # Form field
β β βββ layout/ # Main layout
β β βββ nft/ # NFT listing
β β βββ sale-info/ # NFT sale info
β β βββ skeleton/ # Skeleton placeholder
β β βββ theme/ # Theme Providers
β β βββ thirdweb/ # Thirdweb custom component
β β βββ token/ # Token UI
β β βββ ui/ # Common UI application
β βββ contracts/ # Process Contracts
β βββ font/ # Fonts style for application
β βββ hooks/ # Custom React hooks
β βββ i18n/ # i18 providers
β βββ lib/ # Helper functions
β βββ messages/ # Messages for i18n
β βββ public/ # Static assets
β βββ styles/ # Style of Frontend application
| βββ .env.example # Example environment file to guide setup
| βββ package.json # Package of project
β βββ types/ # Types
βββ backend # Server
| βββ artifacts # Stores build files or smart contract-related artifacts
| βββ cache # Stores temporary cache data to optimize performance
| βββ config # Contains configuration files for the project
| βββ contracts # Holds smart contracts for blockchain development
| βββ node_modules # Installed npm libraries (auto-generated)
| βββ scripts # Includes automation scripts or deployment scripts for smart contracts
| βββ src # Main source code directory
| β βββ controllers # Handles business logic for API requests (Controller Layer)
| β βββ middleware # Middleware functions for request validation and processing
| β βββ models # Defines database models (ORM)
| β βββ routes # API routing configuration (Router Layer)
| β βββ services # Business logic and services for handling operations
| β βββ uploads # Stores temporarily uploaded files (if file upload feature exists)
| β βββ utils # Utility functions used across the project
| β βββ index.js # Main entry point for the application
| βββ test # Contains test scripts for smart contracts and APIs
| β βββ Collection.js # Tests for the Collection smart contract
| β βββ Token.js # Tests for the Token smart contract
| βββ .env.example # Example environment file to guide setup
| βββ .gitignore # Specifies files and directories to ignore in Git commits
| βββ APP_GENERATE_HUB_TEST.postman_collection.json # Postman API collection for testing endpoints
| βββ deployedCollectionContract.json # Stores deployed smart contract information
| βββ GHA_SQL.sql # SQL file, possibly for database structure or sample data
| βββ hardhat.config.js # Hardhat configuration file for Ethereum smart contract development
| βββ package-lock.json # Manages exact versions of installed dependencies
| βββ package.json # Manages dependencies and project metadata
βββ readme.md # Readme
git clone https://github.com/Axyl1410/Generative-Hub-App
cd Generative-Hub-App
cd frontend
Use npm or pnpm to install the required packages:
npm i # Using npm
# or
pnpm i # Using pnpm
Start the frontend development server with:
npm run dev # Using npm
# or
pnpm dev # Using pnpm
The frontend will be available at http://localhost:3000
cd backend
npm i
Ensure you have a .env
file set up in the backend
directory.
Run the backend development server with:
npm run dev
The backend will be available at http://localhost:5000
Our platform is designed to fully leverage FORMAβs capabilities while maintaining a user-friendly experience.
We are actively working on improving UI and securing accounts and databases.
We are a team of software engineers students specializing in Web3 and Web2 development, with a focus on:
To learn more about Next.js, take a look at the following resources:
Contributions are welcome! Please feel free to submit a Pull Request.
Made with β€οΈ by the Generative Hub App Team