Exchange Operator Migration Guide | Helium Documentation (2024)

This page has not been fully updated to represent the latest state of the HeliumNetwork following the migration to Solana on April18,2023.

Updated for Solana Mainnet

The Migration Widget anddescription provided below have been updated to reflect Solana Mainnet.

The Helium Network is migrating to the Solana blockchain. All Helium Network Tokens (HNT, IOT, andMOBILE), will become Solana SPL tokens.

If an exchange already supports SPL tokens, follow the steps below.

SPL token Support

Please refer to the Solana Documentation on how toAdd Solana to Your Exchange for details.

Mint IDs

All Helium Network Tokens are available on theTokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DAprogram, and mint IDs exist both on mainnet-beta and devnet for testing.

The mint IDs are as follows:

NameID
HNThntyVP6YFm1Hg25TN9WGLqM12b8TQmcknKrdu1oxWux
MOBILEmb1eu7TzEc71KxDpsmsKoucSSuuoGLv1drys1oP2jh6
IOTiotEVVZLEywoTn1QdwNPddxPWszn3zFhEot3MfL9fns
DCdcuc8Amr83Wz27ZkQ2K9NS6r8zRpf1J6cvArEBDZDmm

Mapping Helium Wallets to Solana Wallets

Helium Wallets use the same ED25519 curve as Solana Wallets, resulting in Helium public keys andsecret keys mapping directly to Solana Wallets.

You can either migrate your wallet using this widget:

Helium Address:

Solana Address:

Or continue reading for manual instructions:

JavaScript

To get the Solana public key equivalent of a Helium public key in javascript run:

import Address from "@helium/address";
import { PublicKey } from "@solana/web3.js"

const addr = Address.fromB58("...helium pubkey...");

// Gets the solana pubkey
new PublicKey(addr.publicKey).toBase58()

To get a Solana equivalent Keypair from a Helium Keypair:

import { Keypair } from "@helium/crypto";
import { Keypair as SolanaKeypair } from "@solana/web3.js"

const solanaKeypair = SolanaKeypair.fromSecretKey(heliumKeypair.privateKey);

Rust

In rust, to get a pubkey:

let helium_pubkey_bytes = helium_pubkey.to_vec();

let solana_pubkey = solana_sdk::pubkey::Pubkey::new(&helium_pubkey_bytes[1..]);
println!("solana public key: {}", solana_pubkey);

To map a keypair:

solana_sdk::signature::Keypair::from_bytes(helium_keypair.secret_to_vec())

Migration API

The Migration API can be used to retrieve the Solana Wallet address from a Helium Wallet address.

https://migration.web.helium.io/helium/*helium-wallet-address*

Wallet Migration

Wallets will need to be inflated on Solana. In essence this is recreating the Wallet's Helium stateon Solana.

Themigration-servicecan be used to migrate wallet(s) to Solana.

For the Helium Wallet app users, the Wallet requests the migration-service to get the neededtransaction and submits them to the Solana blockchain when the app is opened for the first timeafter the Migration is complete.

Since exchange Wallets may not use the Helium Wallet app, the migration service can instead be useddirectly by following the below steps:

For mainnet:

  1. Get the Solana Wallet address from a Helium Wallet address:https://migration.web.helium.io/helium/*helium-wallet-address*

  2. Get the list of serialized transactions, which should be sent to Solana:https://migration.web.helium.io/migrate/*solana-wallet-address*?limit=1000&offset=0

  3. Submit the transactions to Solana. You can see typescript code demonstrating how to use thishere.

    Note: Each transaction is only allowed to execute once.

Alternatively, you can use thecommand line utilityfor steps 2-3.

$ env MIGRATION_SERVICE_URL=https://migration.web.helium.io env SOLANA_URL=https:/api.mainnet-beta.solana.com env SOLANA_WSS_URL=wss://api.mainnet-beta.solana.com ./migration-tx-executor --wallet *your-solana-wallet*

Trustless Wallet Migration

The tools listed above are convenient but rely on the migration service provided by the HeliumFoundation.

The on-chain implementation of the migration is trustless, and the full state of the Heliumblockchain will be converted to a list of Solana transactions and compressed into a Merkle Tree rooton Solana.

Any entity providing the proper proof that the provided transactions are valid can execute thetransactions to inflate a wallet. Each transaction is only allowed to execute once.

If you would like a copy of the database serving the proofs for the migration service, pleasecontact the Helium Foundation.

This database copy can be used to run an instance of themigration service

Exchange Operator Migration Guide | Helium Documentation (2024)
Top Articles
Is Streaming Bad for Your Mental Health?
Chemical Guys Dilution Chart | Chemical Guys
Funny Roblox Id Codes 2023
Uhauldealer.com Login Page
Cintas Pay Bill
Week 2 Defense (DEF) Streamers, Starters & Rankings: 2024 Fantasy Tiers, Rankings
Ofw Pinoy Channel Su
Flixtor The Meg
How to know if a financial advisor is good?
Obituary (Binghamton Press & Sun-Bulletin): Tully Area Historical Society
Fusion
Merlot Aero Crew Portal
Steve Strange - From Punk To New Romantic
Draconic Treatise On Mining
Hello Alice Business Credit Card Limit Hard Pull
Robot or human?
104 Presidential Ct Lafayette La 70503
W303 Tarkov
California Department of Public Health
Keniakoop
Jack Daniels Pop Tarts
Byte Delta Dental
State HOF Adds 25 More Players
Jang Urdu Today
Moving Sales Craigslist
Viha Email Login
Marine Forecast Sandy Hook To Manasquan Inlet
Costco Gas Hours St Cloud Mn
Netwerk van %naam%, analyse van %nb_relaties% relaties
Fiona Shaw on Ireland: ‘It is one of the most successful countries in the world. It wasn’t when I left it’
1773x / >
Copper Pint Chaska
Waters Funeral Home Vandalia Obituaries
Stockton (California) – Travel guide at Wikivoyage
Jackass Golf Cart Gif
A Man Called Otto Showtimes Near Carolina Mall Cinema
Srjc.book Store
Devin Mansen Obituary
Shoreone Insurance A.m. Best Rating
Ukg Dimensions Urmc
Merge Dragons Totem Grid
Bitchinbubba Face
Indio Mall Eye Doctor
Samantha Lyne Wikipedia
Expendables 4 Showtimes Near Malco Tupelo Commons Cinema Grill
Watch Chainsaw Man English Sub/Dub online Free on HiAnime.to
Beds From Rent-A-Center
F9 2385
Morbid Ash And Annie Drew
Craigslist Psl
Ubg98.Github.io Unblocked
Lux Nails & Spa
Latest Posts
Article information

Author: Kerri Lueilwitz

Last Updated:

Views: 6123

Rating: 4.7 / 5 (67 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Kerri Lueilwitz

Birthday: 1992-10-31

Address: Suite 878 3699 Chantelle Roads, Colebury, NC 68599

Phone: +6111989609516

Job: Chief Farming Manager

Hobby: Mycology, Stone skipping, Dowsing, Whittling, Taxidermy, Sand art, Roller skating

Introduction: My name is Kerri Lueilwitz, I am a courageous, gentle, quaint, thankful, outstanding, brave, vast person who loves writing and wants to share my knowledge and understanding with you.