Git Product home page Git Product logo

artblocks-starter-template's Introduction

Art Blocks Starter Template

Note: This tool is maintained by people of the Art Blocks community and is not affiliated with Art Blocks

Quick Start:

This runs on Node with some dependencies. Download or clone the repo, navigate into the directory, and run npm install:

$ npm install

Start the server

$ npm start

View the tool at: http://localhost:3000

Creating A New Piece:

  1. Create a new .js file in public/js/pieces/
  2. Refresh or navigate to localhost:3000.
  3. Your piece should show up in the pieces dropdown with the same name as the JavaScript file.
  4. Click the piece in the dropdown and you will be navigated to localhost:3000/<piece name> which should display your piece.
  5. At this point you can start modifying the JavaScript file you created to make your piece.

FAQ

How do I connect to the token hash value?

Art Blocks will pass you a tokenData object which will have an attribute called hash. You can access this value by typing tokenData.hash and manipulate it as you see fit.

Check out the example.js in the public/js/pieces folder for an applied example with comments.

artblocks-starter-template's People

Contributors

asupkay avatar marckohlbrugge avatar r4v3n-art avatar zjorge avatar

Watchers

 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.