Skip to main content

Source code · deterministic art

Cosmic Signature Source Code

Explore the frontend, Go backend, smart contracts, and image generation source code for Cosmic Signature. Use the viewer below to inspect how on-chain seeds become reproducible NFT artwork.

Project repositories

  • Frontend

    cosmicgame-frontend

    The Next.js website and application interface.

  • Go backend (Augur Explorer)

    augur-explorer

    Indexes on-chain events and serves protocol data through an API.

  • Smart contracts

    Cosmic-Signature

    Solidity contracts defining the Cosmic Signature protocol on Arbitrum.

  • Image generation

    CS-Image-Generation

    The Rust three-body simulation and renderer for Cosmic Signature images and videos.

seed -> SHA3-256 random stream -> three-body simulation -> spectral renderer -> Cosmic Signature NFT image

The following code converts the seed generated by the smart contract into images. You can also find it on IPFS:

ipfs:/QmWEao2HjCvyHJSbYnWLyZj8HfFardxzuNh7AUk1jgyXTm

The public GitHub organization is available at github.com/PredictionExplorer.