Creating a Bitfari Map

Bitfari creates a decentralized ad network that links virtual ads to physical locations. The physical locations are identified by Open Street Map (OSM) ids and the managers of these locations are registered on the Stacks blockchain.
In order to create a map with all registered locations, you have to follow the steps below:
Run a stacks node and have access to the database e.g. via stacksonchain.com
Find all land nfts in the
nft_events
table for assetSP213KNHB5QD308TEESY1ZMX1BP8EZDPG4JWD0MEA.web4::digital-land
For each nft read the map
transfer-utility
to find the OSM idOutput the osm ids as overpass script
Convert the overpass script on https://overpass-turbo.eu/ to json
Use the json in your web app containing the OSM map as markers. You can adopt most of the code from Harry Wood
You can find the source code for step 1.- 4. at here.
The final result is a simple map with many markers: https://digital-land-map.neocities.org/ (simple html page, easy to view the source code).
Feel free to inspect the source code and build something greater!
A git repo for work in progress was started here.
Read more

Synthetic Events in Stacks
Most blockchains have a way to inform users about events that happened in a smart contract. Some events are emitted by default, others are defined explicitly by code in the contract. In Stacks, all changes involving a fungible or non-fungible token create events. For example, transferring the SIP-1...

Bridging BTC and STX (v5)
This is an update to the first article about the Clarity Bitcoin library from May 2021. Clarity Bitcoin library is a tool that allows users to trigger action on the Stacks blockchain if and only if a certain Bitcoin transaction was mined on the Bitcoin blockchain. The Clarity Bitcoin library is a s...

Transparent Reward Distributions
Fast Pool is a non-custodial stacking pool where all participants are pool operators. There is only one privileged reward administrator. The pool operators can lock the delegated STX tokens, extend the locking period and increase the locked amount after a 1-week security window for any pool member. ...