The .frens Protocol

The first Ordinals Soulbound Token (SBT)

The .frens protocol enables an on-chain social graph for the Bitcoin community. Users share their social connections by adding their friends’ Bitcoin addresses via Ordinal inscriptions. Indexers identify .frens inscriptions and provide an on-chain reputational score based on the number of mentions a particular address is having. It’s a non-commercial project with a free mint.

Use cases

You receive a higher .frens score if more of your friends add your address to their .frens ID address list. Such a metric measures the reputation an address is having in the network. There are various use cases for a .frens score:

  • Risk KPI for DeFi protocols

  • Source of trust for new Ordinals projects

  • Minimum score for WL spots in new drops

  • Send airdrops to your .frens (and .frens of your .frens).

Operations

Deploy function

{
   "p":"frens",
   "op":"deploy",
   "id":"doggfather",
   "addr":[
      "bc1p5vtmpp6j4sawj6a6jtwqwfy38pw8lnskd9wdcwkqfuak0p4grd5s9sa8uu",
      "bc1pdhfte32r3q89hlt6se84kpge2dsu6nk268shc9d62nuu3afqmj4qqcy83q"],
   "notes":"Twitter: @doggfathercrew"
}

Update function

{
   "p":"frens",
   "op":"update",
   "addr":[
      "bc1psdrtnpakc5hlmvtu0j9gyy05ftlxh7zjx6zuqal4ct3txdt87lmsuekmty"]
}

Delete function

{
   "p":"frens",
   "op":"delete",
   "addr":[
      "bc1pdhfte32r3q89hlt6se84kpge2dsu6nk268shc9d62nuu3afqmj4qqcy83q"]
}

Each address can only Deploy one .frens ID. Our inscription service provider Orbit checks whether that ID is already taken (it’s not case-sensitive). Note that it only checks inscribed .frens IDs and not those pending in the mempool. Make sure there is no typo because you cannot change the ID later on.

The Update function appends new addresses to an already deployed .frens ID while the Delete function is dropping an address/several addresses from a .frens ID. Note that any Update or Delete inscriptions without a previously inscribed .frens ID in the connected wallet are not picked up by the indexer.

Confirming .frens events

Everyone could in principle deploy many .frens IDs and send them to arbitrary addresses to manipulate their own .frens score. Hence, the protocol uses an inscription service run by Ordbit that requires connecting your Taproot wallet. The .frens inscriptions can only be sent to this particular address. Any other .frens inscriptions will not be considered by the indexer. Valid .frens IDs are ranked from 0 to m by their inscription number.

Last updated