คู่มือการ Integrate KuCoin Web3 Wallet
อัปเดตล่าสุด: 10/01/2569
1. เตรียมการสำหรับการติดตั้ง
ดาวน์โหลดแอป KuCoin ในหน้าแรก ให้สลับไปที่แท็บ Web3 Wallet ที่ด้านบน จากนั้นสร้างหรือนำเข้าวอลเล็ตของคุณ และตรวจสอบให้แน่ใจว่าได้สำรองข้อมูลไว้
2. เชนที่รองรับ
วอลเล็ต Seed Phrase/Private Key
| ชื่อเชน | Chain ID | สถานะ |
| Ethereum | 1 | ✅ |
| Optimism | 10 | ✅ |
| BNB | 56 | ✅ |
| Polygon | 137 | ✅ |
| Tron | 195 |
✅ |
| Solana | 501 | ✅ |
| KCC | 321 | ✅ |
| Base | 8453 |
✅ |
| Arbitrum | 42161 | ✅ |
| Avalanche | 43114 | ✅ |
ฮาร์ดแวร์วอลเล็ต
| ชื่อเชน | Chain ID | สถานะ |
| Ethereum | 1 | ✅ |
| Optimism | 10 | ✅ |
| BNB | 56 | ✅ |
| Polygon | 137 | ✅ |
| Solana | 195 | ✅ |
| KCC | 321 | ✅ |
| Base | 8453 | ✅ |
| Arbitrum | 42161 | ✅ |
| Avalanche | 43114 | ✅ |
3. โปรโตคอลที่รองรับ
ขณะนี้ วอลเล็ตเรารองรับหลากหลายโปรโตคอลสำหรับการเชื่อมต่อ DApp โปรดตรวจสอบว่าโปรเจกต์ของคุณรองรับโปรโตคอลทั่วไปต่อไปนี้
หากคุณกำลังเตรียมที่จะร่วมมือกับวอลเล็ต KuCoin Web3 ของเรา คุณสามารถจัดลำดับความสำคัญของวอลเล็ตของเราตามข้อมูลด้านล่าง
| isKuCoinWallet |
3.1 ประเภทลายเซ็นที่รองรับ:
| ประเภท | สถานะ |
| eth_sign | ❌ ไม่รองรับเนื่องจากความเสี่ยงด้านความปลอดภัย |
| personal_sign | ✅ |
| eth_signTypedData_v1 | ❌ ไม่รองรับเนื่องจากความเสี่ยงด้านความปลอดภัย |
| eth_signTypedData_v3 | ✅ |
| eth_signTypedData_v4 | ✅ |
3.2 โปรโตคอลที่รองรับ DApp:
| โปรโตคอล | สถานะ | ตัวอย่าง |
| EIP-1193 :EVM | ✅ | Ethereum .request({ method: 'eth_chainId' }) .then((chainId) => { console.log(`hexadecimal string: ${chainId}`); console.log(`เลขฐานสิบ: ${parseInt(chainId, 16)}`); }) .catch((error) => { console.error(`เกิดข้อผิดพลาดในการดึง chainId: ${error.code}- ${error.message}`); }); |
| Wallet Injection (Injected Wallets) |
✅ | import { getInjectiveAddress } from '@injectivelabs/sdk-ts' const getEthereum = () => { if (! Ethereum) { throw new Error('ไม่ได้ติดตั้งส่วนขยาย Metamask') } return Ethereum } const Ethereum = getEthereum() const addresses = await Ethereum({ method: 'eth_requestAccounts', }) /** นี่คือที่อยู่ evm */ const injectiveAddresses = addresses.map(getInjectiveAddress) console.log(injectiveAddresses) |
| EIP-6963 | ✅ | const providers: EIP6963ProviderDetail[]; function onPageLoad() { window.addEventListener( "eip6963:announceProvider", (เหตุการณ์: EIP6963AnnounceProviderEvent) => { providers.push(event.detail); } ); window.dispatchEvent(new Event("eip6963:requestProvider")); } |
| WalletConnect: | ✅ |
4. ติดต่อธุรกิจ
หากมีคำถามเพิ่มเติม โปรดติดต่อเราทางอีเมลที่: web3_business@kucoin.com
โดยเราจะตอบกลับทันทีที่ได้รับอีเมลของคุณ