Skip to content

Repository files navigation

⛓️ PixelChainDecoder (v1)

Welcome to the PixelChainDecoder, an on-chain decoder dedicated to rendering the PixelChain "Classic" collection. This Ethereum smart contract deciphers the on-chain data from the original PixelChain contract and generates a full-color SVG image directly from the blockchain.

Usage

To generate a PixelChain image:

  1. Visit the Ethereum contract using Etherscan.
  2. Enter a PixelChain token id into the generatePixelChainImage function.
  3. Execute the function to generate a resulting SVG image.

Optional: You can paste the resulting data into a text file with the extension ".svg" – you will then have a high resolution PixelChain vector image!

The PixelChainDecoder contract interfaces directly with the original PixelChainCore contract using all the available on-chain data.

About PixelChain

Pixelchain is a decentralized application (DApp) that enables anyone to create 32x32 pixelart and store it directly on the Ethereum blockchain, where it will live forever as an ERC-721 token.

The original PixelChain contract (PixelChain "Classic") is now closed making the first 2,804 tokens a limited edition. When it launched it attracted a range of prominent crypto artists: @Coldie, @money_alotta, @hackatao, @mattiac, @neurocolor, @robnessofficial, @XCOPYART just to name a few.

The great team behind PixelChain has moved on and is now focused on new projects, so I provided this code to them incase they would find it helpful.

Quick Start

Install Node.js 18.x.x.

npm install

make compile

Contracts

ContractEtherscan
PixelChainDecoder0xE2d43Ec2516C2446a6DDc95734c9a0eC21B01dC1
PixelChainCore0xbc0E164eE423B7800e355b012c06446e28b1a29d

Resources

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

⛓️ PixelChain on-chain decoder (Ethereum)

Topics

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages