CF Workers + IttyRouter + micro-stacks + TypeScript
...and it feels good!
:versionaccepts the major CityCoins contract version, e.g. v1, v2
:citynameroutes accept three letter city names, e.g. mia, nyc
:blockheight > :cycleid > :userid > :address
If you want to use this for your project, build a copy for yourself, or have any questions, please join the CityCoins Discord or file a GitHub Issue and reach out!
A full list of routes and responses can be found in the OpenAPI documentation.
Some quick examples:Get the current Stacks block height
Source code is available on GitHub!
“Continuous effort, not strength or intelligence
is the key to unlocking our potential.”