Configuration

Keycat currently supports EOS and Klaytn. If you are interested in Keycat and seeking for integration with your blockchain, contact to indegser@eosdaq.com

EOS

import { Keycat } from 'keycat'

const nodes = [
    'https://example.com',
    'https://example1.com',
]

const eosMainnetKeycat = new Keycat({
    blockchain: {
        name: 'eos',
        nodes,
    }
})

const eosJunglenetKeycat = new Keycat({
    blockchain: {
        name: 'eos-jungle',
        nodes,
    }
})

// SIDECHAIN examples.

const worbliKeycat = new Keycat({
    blockchain: {
        name: 'worbli',
        nodes,
    }
})

const bosKeycat = new Keycat.Bos({
    blockchain: {
        name: 'bos',
        nodes,
    }
})

Keycatjs is designed for flexible usage while providing full Typescript support. All you have to provide is list of nodes for each networks.

EOS Network Presets

Klaytn

import { Keycat } from 'keycatjs'

const klaytn = new Keycat({
    blockchain: {
        name: 'klaytn',
        rpcUrl: '',
    }
})

const klaytnBaobab = new Keycat({
    blockchain: {
        name: 'klaytn-baobab',
        rpcUrl: '',
    }
})

Klaytn Network Presets

Last updated