Giter Club home page Giter Club logo

Kredeum NFTs

Installation

Before installation, you need "node" and "pnpm" installed and a ".env" file setup (go to pre-installation instructions)

Building Dapp :

pnpm build-dapp

Building WP Plugin :

pnpm build-wp-plugin

Running the Dapp :

pnpm dapp

Running the Plugin :

Install WordPress locally, we higly recommend Local WP

Then link wordpress/kredeum-nfts inside the plugin directory of your WordPress installation

Open your WordPress BackOffice with some URL like http://localhost:8000/wp-admin/admin.php?page=nfts

Modules :

Kredeum Factory is splitted in various modules listed bellow :

  1. svelte : Svelte UI components
  2. contracts : Solidity smartcontrats (with Hardhat & Foundry)
  3. wordpress : WordPress Kredeum NFTs Factory Plugin
  4. gulp : Static UI
  5. thegraph : The Graph subgraph to index NFTs
  6. common : Common library, config and other common datas
  7. misc : Other tools, datas and archives

In each of these specific directories you will access more advanced commands

GitHub Action

Deploy to WordPress.org

Pre installation

  • NODE v18 : Install node v18

    • via this download page
    • or via brew on MacOS : brew install node
  • ENV .env environment file : You have to keep these variables secure in an environmment .env file :

    • ENVIR=DEV

    • NODE_DEBUG=false

    • INFURA_API_KEY=""

    • COVALENT_API_KEY=""

    • NFT_STORAGE_KEY=""

      optional for tests and deploy :

    • DEPLOYER_PRIVATE_KEY=""

    • ALCHEMY_API_KEY=""

    • ETHERSCAN_API_KEY=""

    You can get API_KEYs free from different providers

    Use .env.example to start with Example.file

    PRIVATE_KEY_0_DEPLOY is a private keys that requires some token in order to deploy smartcontracts, be carefull to not share this key on the github repo.

  • PNPM package manager : homepage

    Install latest version : pnpm install page

Kredeum's Projects

Kredeum doesnโ€™t have any public repositories yet.

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.