jamiedubs
attempt to generate websites using Glif and then store and publish them via Valtown - it's valtownGeocities! a real mouthful
- run this glif to generate HTML and publish to a given key: https://glif.app/@jamiedubs/glifs/clqecfqdd000tc3vk4i208jl3
- access that website by going to a URL like: https://jamiedubs-valtownGeocities.web.val.run?key=YOURKEYHERE
- make sure to use the same key value for both the glif and to access your cool new website
returns image URL (and only image URL) for a given NFT contract + tokenId. Uses Alchemy's NFT API
to this use val, copy the Web API endpoint and use ?query params to specify the contract address and tokenId you want:
https://jamiedubs-nftimage.web.val.run/?contractAddress=0x3769c5700Da07Fe5b8eee86be97e061F961Ae340&tokenId=666 - FIXME valtown is turning & into "&", you need to fix it. even like this broken
plain text by default. for JSON add &format=json, for an <img>
tag use &format=html
for other NFT metadata: https://www.val.town/v/jamiedubs.nftMetadata
use by copying web API endpoint and appending "?contractAddress=...&tokenId..." - like this
uses Alchemy for indexed NFT data: https://docs.alchemy.com/reference/getnftmetadata
plus it's using my personal API key. don't abuse this or I'll disable it! yeesh
returns the last 100 featured glifs on Glif but with a simplified response shape; I use this in other glifs with the WebFetcher block
use like: https://jamiedubs-glifs.web.val.run/
to fetch info for a single glif, try @jamiedubs/glifJson
#glif #glifs
fetches a simplified version of a Glif response object; I use this in other glifs with the WebFetcher block
use like: https://jamiedubs-glifjson.web.val.run/?id=clgh1vxtu0011mo081dplq3xs
to fetch only the raw glif JSON, specify ?data=1
:
https://jamiedubs-glifjson.web.val.run/?id=clgh1vxtu0011mo081dplq3xs&data=1
to fetch a list of recently featured glifs try @jamiedubs/glifs
#glif #glifs
fetch token balances from an Ethereum wallet. uses Alchemy. don't abuse my API key or I'll turn this off
fetch contents of a specific wikipedia page using ?title=
param. will return nothing if page doesn't exactly match. example: https://jamiedubs-wikipediapage.web.val.run/?title=Berlin
for a more search-oriented approach, try https://www.val.town/v/jamiedubs/searchWikipedia
dark greetings cryptoadventurers. This val will print the contents of a given Ethereum wallet's Synthetic Loot, which is procedurally generated from your wallet address. To look at your sLoot in a browser with some fun pixel art, check out timshel's Synthetic Loot Viewer
to use this endpoint, pass ?address=0x...
e.g. https://jamiedubs-syntheticloot.web.val.run/?account=0xf296178d553c8ec21a2fbd2c5dda8ca9ac905a00
the default response type is JSON. You can also get a simple list of the loot bag contents using ?format=text
. e.g. https://jamiedubs-syntheticloot.web.val.run/?account=0xf296178d553c8ec21a2fbd2c5dda8ca9ac905a00&format=text