Skip to content

Blockchain data with methods for uploading to your own database.

Notifications You must be signed in to change notification settings

KryptikApp/blockchainAssets

Repository files navigation

Kryptik Wallet Blockchain Data

About

The Kryptik blockhain data repository contains comprehensive data on a select set of blockchain assets. There is also support for uploading data to your own firestore database. This can be helpful when creating a blockchain application.

Getting Started

Install dependencies:

yarn install
# or
npm install

Add a secrets.ts file with your firebaseConfig. This file should be of the following format:

export const firebaseConfig = {
    apiKey: "your api key",
    authDomain: "your authDomain",
    projectId: "your projectId",
    storageBucket: "your storage bucket",
    messagingSenderId: "your messagingSenderId",
    appId: "your appId",
    measurementId: "your measurementId"
};

export const NetworkSecretsDict:{[name: string]: NetworkSecretData}  = {
    "yourTokenTicker": new NetworkSecretData({provider:"yourProviderURL"})
};

// note: make sure you add the associated auth uid to your firebase rules
export const authEmail = "your email"
export const authPassword = "your password"

Note: You can find more information about obtaining your firebaseConfig here.

Upload all blockchain asset data to your database:

yarn uploadAll

Upload token data to your database:

yarn uploadTokens

Upload network data to your database:

yarn uploadNetworks

About

Blockchain data with methods for uploading to your own database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published