FreeFlix Media Hub & Cosmic Compass — Clients for GOZ Zones with a demo using Cosmos NFTs & IBC

OmniFlix Network
FreeFlix Media Labs
5 min readJun 8, 2020

The Cosmos IBC ecosystem is vibrant with many developers & projects working with the various modules, and at the moment IBC (mostly due to Cosmos GOZ & in general).

In our case too, team FreeFlix Media has worked on a utility that will continue to use Cosmos IBC at a later point in time.

Owing to the fact that most people that are aware of Cosmos IBC are developers (atleast at this point in time) & after receiving a low turn out for interaction with https://goz.freeflix.media, we have released 2 clients ffcli for freeflix-media-hub and cococli for coco-post-chain, along with an interactive script that takes a few inputs inputs from you at the beginning of the script and runs demonstrates interactions while you sit back and enjoy!

Installation Instructions

The ibc repository of FreeFlix Media has the installation instructions and can be accessed from here.

Download the releases here.

If you have further queries, please raise an issue [OR] write to info[at]freeflix[dot]media.

Important points to note:

  1. Please install dependencies and make sure you have downloaded the binaries from the releases page here.
  2. The script demonstrates the creation/minting & exchange of assets between a creator (on FreeFlix Media Hub) and a licensee (on CoCo POST Chain).
  3. The scripts asks you for your Twitter handle & tweet IDs. You do not need to enter your actual Tweet handle for this script to run. You can enter any set of characters/random string. Make sure it is unique enough & doesn’t match with an existing asset_ID on the chain.
  4. Once the above is entered and you’ll be asked for a key to create accounts and that’s it! — You can sit back and watch the script run you through each of the 25 steps.

What does the script demonstrate?

The script aims to demonstrate:

  1. Asset creation WITHOUT licensing (pNFT #1) on freeflix-media-hub
  2. Asset creation WITH licensing (pNFT #2) on freeflix-media-hub for licensing it to coco-post-chain (sNFT #1). The NFT exists on both chains (figure 1)
  3. Asset creation WITH licensing (sNFT #2) with an automatic attribution to the owner (pNFT #3) (figure 2)
Cosmos Community Broadcast on YouTube, powered by FreeFlix Media & CoCo

Through the GUI — goz.freeflix.media you can access the entire platform to verify yourself, license from the marketplace, schedule a slot/Ad and receive revenue/payout for your slot.

Here’s an embed of the Stream URL on YouTube, where your Tweet video / Ad video is streamed for the wider Cosmos Community.

A quick walk-through of the demo script

The freeflix-media-hub is powered by the fungible token FFMT while the coco-post-chain is powered by the COCO token.

The 25 step journey that the script will take you through have been condensed to 8 steps.

Below are the events triggered during the demo:

1) FF — Account Creation & query token faucet

An account is created on the freeflix-media-hub & queried for FFMT tokens. This account supports both FFMT tokens and COCO tokens

  • FF account Token Balance : 1000 FFMT || 0 COCO
  • 0 pNFTs

2) FF — Mint Asset #1

Asset #1 is created on the freeflix-media-hub

  • A pre-defined fee of 50 FFMT is utilized for the tx
  • FF account Token Balance : 950 FFMT || 0 COCO
  • 1 pNFT

This token stays only on the account on FreeFlix Media Hub

3) FF — Mint Asset #2

Asset #2 is created on the freeflix-media-hub for licensing by a user on the coco-post-chain

  • Token Balance : 900 FFMT || 0 COCO
  • 2 pNFTs
Figure 1

4) COCO — Account Creation & query token faucet

An account is created on the coco-post-chain & queried for COCO tokens. This account supports both FFMT tokens and COCO tokens

  • COCO account Token Balance : 0 FFMT || 1000 COCO
  • 0 sNFTs

5) COCO <> FF — A CoCo user licenses an asset from FreeFlix Media Hub

A user identifies an asset via the marketplace & pays a licensing fee of 100 COCO token and licenses Asset #2 with a revenue share.

  • A pre-defined fee of 50 COCO is utilized for the tx
  • COCO account Token Balance : 0 FFMT || 850 COCO
  • 1 sNFT

6) COCO <> FF <> COCO

a CoCo user mints an NFT, licenses the asset & attributes it to the owner after verifying for ownership on FF

A user on the coco-post-chain now creates an sNFT Asset #3 & pays 100 COCO for it.

The notable point here is, this asset is yet to be created on the freeflix-media-hub. This is a demo of asset attribution, without the creator having to list all their assets.

  • A pre-defined fee of 50 COCO is utilized for the tx
  • COCO account Token Balance : 0 FFMT || 700 COCO
  • 2 sNFTs
Figure 2

7) Query balance of the freeflix-media-hub

Final balance for the account on freeflix-media-hub

  • FF account Token Balance : 900 FFMT || 200 COCO
  • NFT token balance : 3 pNFTs
  • 1 with licensing as FALSE
  • 2 with licensing as TRUE

8) Query balance of the coco-post-chain

Final balance for the account on coco-post-chain

  • Token Balance : 0 FFMT || 700 COCO
  • NFT token balance : 2 sNFTs
  • both that have been licensed from the account on freeflix-media-hub

UDPDATE on 10 June, 2020 — for those that are using the latest client on the ibc repository, due to a change in the final licensing cost of an asset from 100 to 50, the final balance will result in 200 COCO & 900 FFMT on the freeflix-media-hub account while the coco-post-chain account should have 800 COCO.

The entire process takes a few minutes to execute once you initiate it with the script. If the process is too fast you can wait for the script to end and scroll up to check everything that has happened.

To know more about the details of implementation, please visit our medium articles (article #1 & article #2) for further reading.

Get in touch!

Know someone that can utilize the FreeFlix Media Suite (or) if you are looking to implement it for your organization / your decentralized community, get in touch with us.

For more news reg. the development of media tooling by FreeFlix Media, please get in touch with us via https://FreeFlix.media or by writing to us at info@freeflix.media

Follow FreeFlix Media Labs on Twitter, Telegram, Facebook, Instagram (FreeFlix Media Labs), Instagram (FreeFlix Live), GitHub and Medium. Do not forget to check out our platform for curated streams from YouTube — FreeFlix LIVE

--

--

OmniFlix Network
FreeFlix Media Labs

p2p network for creators, curators & sovereign communities to mint, manage, distribute & monetize media assets & communities — https://OmniFlix.network