Skip to content

ensdomains/rasterize-gcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ENS Rasterization as a Service

ENS rasterization service that rasterize ENS NFT vectoral images to PNG.

Run on Google Cloud

API

POST:

Query:

  • res: Predefined image resolution. (low | high) Default: low

e.g. `http://localhost:8080/rasterize?res=high`

Body:

  • networkName: Network name (mainnet | rinkeby ...)
  • contractAddress: ENS Base Registrar Contract address for v1, NameWrapper Contract address for v2
  • tokenId: Labelhash(v1) /Namehash(v2) of your ENS name.

Running the server locally

  • Build docker with docker build . -t rasterize
  • Start with docker run -p 8080:8080 rasterize
  • Service is ready to listen POST requests at http://localhost:8080/rasterize

About

ENS NFT Rasterization Service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published