网络配置

Network Name: Kinachain Mainnet

Chain ID: 8880

RPC: https://rpc.metakina.com

WS: wss://rpc.metakina.com/ws

Explorer: https://explorer.metakina.com

快速开始

以下示例展示如何使用 Ethers 连接 Kinachain 并查询区块高度。

npm install ethers

import { ethers } from "ethers";

const provider = new ethers.JsonRpcProvider(
  "https://rpc.metakina.com"
);

const block = await provider.getBlockNumber();
console.log("block", block);

合约部署

推荐使用 Hardhat 或 Foundry。

// hardhat.config.js
module.exports = {
  networks: {
    kinachain: {
      url: "https://rpc.metakina.com",
      chainId: 8880,
      accounts: [process.env.PRIVATE_KEY]
    }
  }
};

工具链

Hardhat

智能合约开发和测试框架。

Foundry

高性能 Solidity 开发工具链。

Remix

在线快速编译部署。

Wallets

MetaMask、Rabby、OKX Wallet。

API 入口

RPC Status: https://rpc.metakina.com

Explorer API: https://explorer.metakina.com/api

Bridge: https://bridge.metakina.com

Pay API: https://api.pay.metakina.com

资源与支持

  • Builder Program: builder@metakina.com
  • Bug Bounty: security@metakina.com
  • Developer Grants: grants@metakina.com