kiban-agent-kit
Version:
Open-source framework connecting AI agents to Katana ecosystem protocols
37 lines (36 loc) • 1.14 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CHAIN_NAMES = exports.SUPPORTED_CHAINS = exports.DEFAULT_RPC_URLS = exports.katana = void 0;
const viem_1 = require("viem");
const chains_1 = require("viem/chains");
// We'll define Katana chain when we have the official parameters
exports.katana = (0, viem_1.defineChain)({
id: 0, // to be updated with official chain ID
name: "Katana",
network: "katana",
nativeCurrency: {
decimals: 18,
name: "ETH",
symbol: "ETH",
},
rpcUrls: {
default: {
http: [""], // To be updated with official RPC
},
public: {
http: [""], // To be updated with official public RPC
},
},
});
// Default RPC URLs for supported chains
exports.DEFAULT_RPC_URLS = {
[chains_1.mainnet.id]: "https://eth.public-rpc.com",
[exports.katana.id]: "", // To be updated
};
// Supported chains
exports.SUPPORTED_CHAINS = [chains_1.mainnet, exports.katana];
// Chain name mapping
exports.CHAIN_NAMES = {
[chains_1.mainnet.id]: "mainnet",
[exports.katana.id]: "katana",
};