Avatar
Friedger | Blog
Banner
Avatar

Friedger

My life with Stacks. Read more developer stories on http://www.openintents.org/blog

Latest articles

December 19, 2023
Synthetic Events in Stacks

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...

December 11, 2023
Bridging BTC and STX (v5)

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...

August 30, 2023
Transparent Reward Distributions

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. ...

April 23, 2023
How to run a Decentralized Stacking Pool?

How to run a Decentralized Stacking Pool?

Update May 2023 Stacks 2.4 has been published. The pox contract is now version 3 (pox-3) and the pox-pool-self-service has been updated to version 2 to fix an issue with extending more than 1 cycle. Note This is an rewrite of the first article from July 2021 about running a Stacking pool in gene...

April 19, 2023
FAQ: Pooled stacking

FAQ: Pooled stacking

Common FAQ Is there a way to confirm that stacking for delegates went correctly? If your stx is loocked it is a good sign. Check also that your delegate-stx transaction was successful and that your pool admin locked your stx. You can see your status at https://lockstack.com/pooled-stacking-info H...

April 17, 2023
Understanding Pooled Stacking

Understanding Pooled Stacking

Amounts DedeDelegated Amount (aka Pooled Amount) The delegated amount is the maximum amount of STX that the pool operator can lock for the user. It is the first amount set by the user. I can be higher than the current balance. Eventually, the pool operator can never lock more than the minimum of t...

April 17, 2023
Swimming in two pools

Swimming in two pools

Upgrade of the Stacks blockchain to version 2.1, brought new stacking features. One of them is to increase the stacking amount while your STX are locked. This works for direct stacking and pooled stacking. The implementation for pooled stacking allows to switch the pool while the stacked amount is ...

March 05, 2023
Reviewing Stacking Rewards (Cycle #53)

Reviewing Stacking Rewards (Cycle #53)

The stacking rewards distributed by Friedger Pool for cycle #53 were less than in cycle #52 while the total amount of received BTC rewards were higher and while for example stacking.club shows a higher APR: It is not clear why stacking.club shows these APR values, but the total amount of stacked ST...

February 01, 2023
Testing Stacking Pool 2.1

Testing Stacking Pool 2.1

Stacks 2.1 brings some changes to stacking, in particular it is possible to avoid cool down cycles and to increase stacking amount during locking periods. Here is a description of all the tests for these features when used with a stacking pool. For the tests with use the 2.1 testnet maintained by H...

July 27, 2022
Upcoming: NPM package for Clarity bitcoin lib

Upcoming: NPM package for Clarity bitcoin lib

One of the most interesting properties of the Stacks blockchain is the view of their nodes into the state of the Bitcoin blockchain. The view is available in the smart contract language and it is possible to verify on-chain that a Bitcoin transaction was actually mined as described earlier in this p...

July 27, 2022
Creating a Bitfari Map

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 t...

February 06, 2022
Built in 2021

Built in 2021

A list of stuff built in 2021 by friedger.btc with the great Stacks community Clarity Contracts Deployed the first custom contract on mainnet (badges). It was the attendance badge (POAP) for the Stacks Mainnet Launch event. 2027 NFTs were distributed in several batches of 200 to not make the network...

December 28, 2021
Customized Boombox Admin Protocol

Customized Boombox Admin Protocol

Boom has recently deployed a smart contract that makes it really easy to create stacking pools. If you are new to stacking pools read for example the docs about stacking or the article about the old way of running a pool. The new way is to deploy a simple NFT contract and then register it with the ...

November 10, 2021
Requirements for a Stacking Pool UI

Requirements for a Stacking Pool UI

Currently, the tools used to run Friedger Pool is a set of 4 scripts. It requires hand holding and manual processing. In the following description all the bold text is what needs to be done manually. A UI for pool admins should allow to enter these parameters or calculate/suggest it for the admin. T...

November 03, 2021
Treating Traits in Clarity

Treating Traits in Clarity

The smart contract language Clarity comes with the concept of traits. Traits are properties of a contract that can be observed from the outside but have a specific meaning to the inside. Like with NFTs, a blue hat in an NFT image can be recognized by all but the advantages for the owner e.g. in a bl...