Giter Site home page Giter Site logo

artopia's Introduction

Artopia

Introduction

This platform welcomes everyone to join in the creation, trading, and investment of NFTs. Artists can showcase their talent by minting their digital art as NFTs, while collectors can discover and invest in a wide range of unique and captivating digital artworks.

It guides users through the process of creating and listing their NFTs, offering intuitive tools and features that facilitate the creation of NFTs, making it accessible to users with varying levels of technical expertise.

Intended Users

  • Artists interested in generating AI-assisted art
  • Collectors and investors seeking NFTs
  • Tech-savvy individuals intrigued by AIGC technology
  • Ethereum enthusiasts and blockchain users

General Architecture

Tech Stack

Frontend

React, Next.js

Wallet Connection and Contract Interaction

MetaMask, RainbowKit, Wagmi, Viem

Backend

MongoDB

Contract Development

Solidity, Hardhat, Openzeppelin

IPFS

Pinata

Functionality

  • AI-generated Images
  • User Collections
  • Sharing
  • Copyright Protection
  • Mint
  • Auction on NFTs
  • Sell NFTs

Test and Deployment

To test our functionalities, you can directly visit our website: https://artopia-one.vercel.app/. Remember to install MetaMask and add Aries testnet.

If you want to deploy this project on your own, please refer to the .env_example file in /client and /contract and create your own .env file. You'll also have to redeploy smart contracts.

artopia's People

Contributors

shane0821 avatar shaun1280 avatar xiaoyy77 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

shaun1280

artopia's Issues

Back end: art and nft views and likes

Switch to branch '#41'
Task 1:

  • create shemas under 'models/'
  • likes and views should be recorded only once for each address - art._id
  • likes can not be cancelled
  • number of likes and views should be recorded

Taks 2:

  • go to 'api/puglicGallery/[ardId]/route.js'
  • write POST functions to update likes and views
  • in 'api/publicGallery/rout.js', modify GET so that it can return number of views and likes for each piece of art, and whether a user of address address has viewed or liked the art.

I will test these for you.

Frone-end: top navigation bar

  • navigation bar should contain:
    • connect to wallet (if not logged in)
    • user icon (if logged in)
    • collection
      • jury collection
      • factory collection
    • bid collection (auction)
    • search
    • create
    • shopping cart

refine profile page

  • add navigation button to create page when prompt or art are empty
  • add 'add to auction' button and 'go to auction' button
  • redirect to homepage if not connected
  • add adaptive ui when addr != current user
  • add buttons for transaction
  • fix bug for displaying prompt

Front-end: User login

  • Users should be able to login via their MetaMask wallets
  • Users can view their personal info after logging, such as
    • number of assessment
    • number of sellout
    • number of creation
    • ...

Back end for public gallery

Switch branch to #38-back-end-public-gallery.

Task1

  • create 'api/publicGallery/route.js'
  • write a GET function to send back all art pieces marked as 'shared' = true. (similar to the GET in 'api/create/route.js')
  • art schema can be found in 'models/Art.js'.

Task2

  • create 'api/publicGallery/[artId]/route.js'
  • write a PATCH function to update 'shared' (shared = !shared) . (similar to the PATCH in 'api/create/[artId]/route.js')

You can do this with the help from bingchat. And I will test back end.

more ai image resources for home page

  • generate 100 images on: https://getimg.ai/text-to-image#
  • select images that you think is good
  • sample models:
  • sample prompts:
    • This anime tells the story of a handsome young man named Ao Jingming, who is cold, has short black hair and golden eyes, and uses styles such as smooth color combinations, light black and navy blues, cocoa-style art, anime art, colorful abstract faces, anime core, and neon hues
    • anime artwork by phds, in the style of colorful abstraction, synchromism, layered portraits, shiny/glossy, color splash, colorful shapes, mingei
    • cartoon of a woman in a golden hat and a cat, onmyoji detailed art, onmyoji, sun wukong, inspired by Pu Hua, heise jinyao, god of wealth, bian lian, inspired by Huang Shen, taoist priest, inspired by Hu Zaobin, onmyoji portrait, zhongli from genshin impact
    • kitten anthropomorphism, a super mini White and orange kitten, big and aqua eyes, wearing a light pink sweater, sit at a desk and reading a book, room background, fairy tale light, nature light, hyperrealism, hyper details, hyper quality, realistic rendering, anthropomorphic, masterpiece, exquisite, amazing visual effects, pixar style, realistic PvC texture
    • Close up of a super beautiful Chinese girl, 18 years old, aqua and big eyes, long eyelashes, round face, happy grin, long hair, wear light purple Plush cartoon rabbit pajamas, wearing plush cartoon rabbit hat, sitting at a desk and using laptop, romantic and dreamlike bedroom background, lovely, gorgeous, natural light, lens holas, glitter light, soft light, ambient light, star dotted, extreme iridescent reflection, hyperrealism, heyper-realistic details, heyper-realistic oil, gongbi, romantic atmosphere, luminous brushwork, in yanjun Cheng style, cenima-grade portrait photography, wide-angel lens, FHD, 8K, CG rendering, CG rendered
    • 1girl, animal, bare_tree, bat, bird, black_cat, black_gloves, broom, castle, cat, crescent_moon, cross, crow, dress, full_moon, ghost, gloves, graveyard, halloween, happy_halloween, hat, jack-o'-lantern, jewelry, long_hair, moon, moonlight, night, night_sky, pumpkin, sky, solo, star_(sky), starry_sky, tombstone, tree, witch, witch_hat
    • A super cute 5-year-old girl with a round face, snowy skin, bright and transparent eyes, long curly hair and cat ears on her head, wearing a delicate pale orange dress, grinning happily, beautiful, lovely, holding a pumpkin, dynamic posture, vivid expression, Halloween element decoration, dreamy and magical Halloween scenes, luminous strokes, soft colors, super realism and super image quality.
    • anime girl with blue cloth and pink hair, in the style of realistic and hyper-detailed renderings, ivory, realistic figures, tondo, rococo style, 32k uhd, pink and cyan
    • prompts shared on little red book
    • prompts shared on this website: https://www.mewx.art/pc/gallery

nav bar adjustment

  • buttons on the right should be hidden on small devices
  • the background color of artopia logo should be transparent
  • set default chain to aries

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.