Skip to content
forked from Kredeum/kredeum

Kredeum NFTs - The decentralized NFTs platform

License

Notifications You must be signed in to change notification settings

aeae-max/kredeum

 
 

Repository files navigation

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

About

Kredeum NFTs - The decentralized NFTs platform

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 45.2%
  • Solidity 23.1%
  • Svelte 16.1%
  • SCSS 6.0%
  • HTML 3.9%
  • JavaScript 2.6%
  • Other 3.1%