CryptoPunks is a well-known auction website for buying and selling “CryptoPunks” - a series of unique collectable characters that can be purchased over the Ethereum main network. There are 10,000 different CryptoPunks that have various different styles, including hair colour and accessories.
In this challenge, you will build an HTTP API to display information about CryptoPunks. Your goal is to expose two endpoints that:
- Return a list of all the punks that are listed for sale.
- Return the for-sale price and information about a single punk, given its numeric identifier.
NOTE: The CryptoPunks smart contract and ABI exists at 0xb47e3cd837ddf8e4c57f05d70ab865de6e193bbb
npm install
npm run start
GET /punks-for-sale
GET /punk-info/punkIndex
eg. /punk-info/323