Alphanet

IPFS Server

IPFS is a great fit for storing and addressing data for NFTs. IPFS Server URL : https://ipfs-dev.trnnfr.com/

Note : Access to IPFS API should be using API Keys. You have to add the following header : apiKey=xxxxxxxxxxxxx

curl --location --request POST 'https://ipfs-dev.trnnfr.com/api/v0/add' \
--header 'apiKey: xxxxxxx.xxxxxxxxxxxxxxxxx' \
--form 'file=@"/path/to/file.jpg"'

Another example in NodeJS :

var request = require('request');
var fs = require('fs');
var options = {
  'method': 'POST',
  'url': 'https://ipfs-dev.trnnfr.com/api/v0/add',
  'headers': {
    'apiKey': 'xxxxxxx.xxxxxxxxxxxxxxxxx'
  },
  formData: {
    'file': {
      'value': fs.createReadStream('/path/to/file.jpg'),
      'options': {
        'filename': 'file.jpg',
      }
    }
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});

Indexer

Indexer URL : https://indexer-alphanet.ternoa.dev/

Dictionary

Dictionary URL : https://dictionary-alphanet.ternoa.dev/

RPC Chain WSS

RPC Chain WSS: https://alphanet.ternoa.com

Last updated