How to get inference from thin air

9/23/2025
1 minute 26 seconds

Please note that Heighliner will be generally available on October 15, 2025. If you'd like to join the beta testing group, please email us at support@mela.ng.

Prerequisites

If you're already familiar with how the Ethereum-compatible blockhain works, then you can skip ahead to Step 1.

On the blockchain, control of assets is synonymous with control of private keys. Melange tokens live on the blockchain. There are two ways you can 'own' Melange:

  1. Controlling the keys yourself.
  2. Letting somebody else do it for you.

Heighliner (and consequently, this post) is a meta-framework for those who want to control the keys themselves. Your key will either look like a mnemonic:

// You get this out of most wallet apps like Metamask, Base or generate one for yourself
celery crouch subject piece rally quote enough gas inch kitchen train produce

... or it will be a piece of data that is 32 bytes long:

// This was generated using `openssl rand -hex 32`
0xff4124f86d1afaa134ae2e6dde4ca935bf4fd933ceca7e3f2dd1d29466a257ca

Once you do have a set of keys, you need to buy Melange on to the public address associated with your private keys. You can do this directly through this website or on the market.

Step 1: Use Heighliner

from openai import OpenAI
from heighliner import Heighliner
import os

// We've set our private key as enivornment variable `HEIGHLINER_KEY`. 
client = Heighliner(OpenAI)

Thats All Folks!

The OpenAI library works just as it normally does. The cool thing is:

  1. Your compute budget is anchored to the latest and greatest model at any given time.
  2. You don't own dubious API credits.
  3. You can pick from any inference provider that accepts Melange.
  4. There's no sign-up, whatsoever.