Giter Site home page Giter Site logo

le-kag / artblocks-engine-react Goto Github PK

View Code? Open in Web Editor NEW

This project forked from artblocks/artblocks-engine-react

0.0 0.0 0.0 4.5 MB

Template to build Art Blocks Engine apps.

License: MIT License

Shell 0.40% TypeScript 98.90% CSS 0.10% HTML 0.60%

artblocks-engine-react's Introduction

artblocks-engine-react

This project is meant ot be used as a template to build Art Blocks Engine web apps. It contains all of the pages and views necessary for users to browse projects, tokens and be able to purchase mints.

Quick Start

Run npm install or yarn to install dependencies.

You will need to create a .env configuration file. You can get started by copying sample.env and renaming it as .env

You will need a JSON RPC provider URL. For instance, you could use infura: https://mainnet.infura.io/v3/<API_KEY> You will need to set up JSON RPC urls for each chain you need to support.

You can find the chains configuration in src/utils/chains.ts

Run npm start or yarn start to run the project.

After making any changes to the .env file, you will need to restart the app.

Customizing your configuration

In order to customize abengine-react for your specific Art Blocks Engine implementation, you will need to edit the default configuration provided on the sample.env file.

First of all, you will need to replace the contract addresses with your own.

You will also need to change the expected chainId, graph ql urls and possibly others, to set up development or staging environments on testnet if you wish to do so.

There are additional configuration values you could customize like the number of projects per page, or tokens per page. You will find those parameters in src/config.ts

Chains configuration

By default, artblocks-engine-react supports Ethereum Mainnet, Ropsten and Goerli.

artblocks-engine-react's People

Contributors

rubentd avatar jakerockland avatar dependabot[bot] avatar

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.