tensaikit
Version:
An autonomous DeFi AI Agent Kit on Katana enabling AI agents to plan and execute on-chain financial operations.
43 lines (42 loc) • 1.29 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.katanaTestnet = void 0;
const viem_1 = require("viem");
/**
* Returns a Katana Testnet chain definition compatible with viem's client setup.
*
* @param katanaApiKey - Optional API key for the RPC endpoint.
* @returns A `Chain` object for the Katana Testnet.
*/
const katanaTestnet = (katanaApiKey = "") =>
/*#__PURE__*/ (0, viem_1.defineChain)({
id: 129399,
name: "Katana Testnet",
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
rpcUrls: {
default: {
http: [`https://rpc.tatara.katanarpc.com/${katanaApiKey}`],
},
},
blockExplorers: {
default: {
name: "Katana Explorer",
url: "https://explorer.tatara.katana.network/",
apiUrl: "",
},
},
contracts: {
ensRegistry: {
address: "0x0000000000000000000000000000000000000000",
},
ensUniversalResolver: {
address: "0x0000000000000000000000000000000000000000",
blockCreated: 0,
},
multicall3: {
address: "0x0000000000000000000000000000000000000000",
blockCreated: 0,
},
},
});
exports.katanaTestnet = katanaTestnet;