์คํฌ๋ฆฝํธ ์คํ ๋ช
๋ น์ด
$npx ts-node xrpl/Server/serverInfo.ts
Bash
๋ณต์ฌ
์๋๋ฆฌ์ค: ์คํฌ๋ฆฝํธ ์คํ โ ์๋ฒ ์ ๋ณด ๋ฐ ์ง์ ๊ธฐ๋ฅ ํ์ธ
import { Client } from "xrpl"
async function serverInfo() {
// ๐ XRPL Devnet ๋
ธ๋ ์ฐ๊ฒฐ
const client = new Client("wss://s.devnet.rippletest.net:51233")
await client.connect()
try {
// ๐ก ์๋ฒ ๊ธฐ๋ณธ ์ ๋ณด
const res = await client.request({ command: "server_info" })
// ๐งฉ ํ์ฑํ๋ ๊ธฐ๋ฅ(Amendments)
const res2 = await client.request({ command: "feature" })
console.log("๐ง Enabled features:", res2.result.features)
console.log("๐ก rippled version:", res.result.info.build_version)
} catch (err) {
console.error("โ ์๋ฒ ์ ๋ณด ์กฐํ ์คํจ:", err)
} finally {
await client.disconnect()
console.log("๐ ์ฐ๊ฒฐ ์ข
๋ฃ")
}
}
// โถ๏ธ ํจ์ ์คํ
serverInfo().catch(console.error)
TypeScript
๋ณต์ฌ
์ถ๋ ฅ ๋ก๊ทธ ์์
PS C:\Users\User\XRPL> npx ts-node xrpl/Server/serverInfo.ts
{
'00C1FC4A53E60AB02C864641002B3172F38677E29C26C5406685179B37E1EDAC': { enabled: true, name: 'RequireFullyCanonicalSig', supported: true }, # ๋ชจ๋ ์๋ช
์ Canonical ํํ ๊ฐ์
'0285B7E5E08E1A8E4C15636F0591D87F73CB6A7B6452A932AD72BBC8E5D1CBE3': { enabled: false, name: 'fixNFTokenDirV1', supported: true }, # NFT ๋๋ ํ ๋ฆฌ V1 ์์ ์ (๋นํ์ฑ)
'03BDC0099C4E14163ADA272C1B6F6FABB448CC3E51F522F978041E4B57D9158C': { enabled: true, name: 'fixNFTokenReserve', supported: true }, # NFT Reserve ๊ณ์ฐ ๊ฐ์
'07D43DCE529B15A10827E5E04943B496762F9A88E3268269D69C44BE49E21104': { enabled: false, name: 'Escrow', supported: true }, # Escrow ๊ธฐ๋ฅ (์ฌ๊ธฐ์ ๊บผ์ง)
'08DE7D96082187F6E6578530258C77FAABABE4C20474BDB82F04B021F1A68647': { enabled: false, name: 'PayChan', supported: true }, # PaymentChannel ๊ธฐ๋ฅ
'12523DF04B553A0B1AD74F42DDB741DE8DC06A03FC089A0EF197E2A87F1D8107': { enabled: true, name: 'fixAMMOverflowOffer', supported: true }, # AMM ์คํผ ์ค๋ฒํ๋ก์ฐ ์์
'138B968F25822EFBF54C00F97031221C47B1EAB8321D93C7C2AEAF85F04EC5DF': { enabled: true, name: 'TokenEscrow', supported: true }, # ํ ํฐ Escrow ์ง์
'1562511F573A19AE9BD103B5D6B9E01B3B46805AEC5D3C4805C902B514399146': { enabled: false, name: 'CryptoConditions', supported: true }, # CryptoCondition (๋นํ์ฑ)
'157D2D480E006395B76F948E3E07A45A05FE10230D88A7993C71F97AE4B1F2D1': { enabled: true, name: 'Checks', supported: true }, # Checks ๊ธฐ๋ฅ
'15D61F0C6DB6A2F86BCF96F1E2444FEC54E705923339EC175BD3E517C8B3FF91': { enabled: true, name: 'fixDisallowIncomingV1', supported: true }, # DisallowIncoming V1 ์์
'1CB67D082CF7D9102412D34258CEDB400E659352D3B207348889297A6D90F5EF': { enabled: true, name: 'Credentials', supported: true }, # Credential ๊ธฐ๋ฅ (์ ์/๊ถํ ์ฆ๋ช
)
'1E7ED950F2F13C4F8E2A54103B74D57D5D298FFDBD005936164EE9E6484C438C': { enabled: true, name: 'fixAMMv1_2', supported: true }, # AMM v1.2 ์์
'25BA44241B3BD880770BFA4DA21C7180576831855368CBEC6A3154FDE4A7676E': { enabled: true, name: 'fix1781', supported: true }, # ํน์ ๋ฒ๊ทธ ์์ (#1781)
'2BF037D90E1B676B17592A8AF55E88DB465398B4B597AE46EECEE1399AB05699': { enabled: true, name: 'fixXChainRewardRounding', supported: true }, # ํฌ๋ก์ค์ฒด์ธ ๋ณด์ ๋ฐ์ฌ๋ฆผ ์์
'3012E8230864E95A58C60FD61430D7E1B4D3353195F2981DC12B0C7C0950FFAC': { enabled: true, name: 'FlowCross', supported: true }, # Cross-Currency Payments ๊ฐ์
'30CD365592B8EE40489BA01AE2F7555CAC9C983145871DC82A42A31CF5BAE7D9': { enabled: true, name: 'DeletableAccounts', supported: true }, # ์ญ์ ๊ฐ๋ฅํ ๊ณ์
'32A122F1352A4C7B3A6D790362CC34749C5E57FCE896377BFDC6CCD14F6CD627': { enabled: true, name: 'NonFungibleTokensV1_1', supported: true }, # NFT v1.1
'47C3002ABA31628447E8E9A8B315FAA935CE30183F9A9B86845E469CA2CDC3DF': { enabled: true, name: 'DisallowIncoming', supported: true }, # ์ธ๋ถ ์์ฐ ์์ ๊ธ์ง ํ๋๊ทธ
'56B241D7A43D40354D02A9DC4C8DF5C7A1F930D92A9035C4E12291B3CA3E1C2B': { enabled: true, name: 'Clawback', supported: true }, # ๋ฐํ์๊ฐ ํ ํฐ ํ์(Clawback)
'677E401A423E3708363A36BA8B3A7D019D21AC5ABD00387BDBEA6BDE4C91247E': { enabled: true, name: 'PermissionedDEX', supported: true }, # ๊ถํํ DEX
'894646DD5284E97DECFE6674A6D6152686791C4A95F8C132CCA9BAF9E5812FB6': { enabled: true, name: 'Batch', supported: true }, # Batch ํธ๋์ญ์
'8CC0774A3BF66D1D22E76BBDA8E8A232E6B6313834301B3B23E8601196AE6455': { enabled: true, name: 'AMM', supported: true }, # Automated Market Maker
'950AE2EA4654E47F04AA8739C0B214E242097E802FD372D24047A89AB1F5EC38': { enabled: true, name: 'MPTokensV1', supported: true }, # Multi-Purpose Tokens v1
A730EB18A9D4BB52502C898589558B4CCEB4BE10044500EE5581137A2E80E849: { enabled: true, name: 'PermissionedDomains', supported: true }, # Permissioned Domains
DB432C3A09D9D5DFC7859F39AE5FF767ABC59AED0A9FB441E83B814D8946C109: { enabled: true, name: 'DID', supported: true }, # Decentralized Identity
์ดํ ์๋ต
}
rippled version: 2.6.0-rc2+20250815145035.fb89213 # ํ์ฌ Devnet ๋
ธ๋์ rippled ๋ฒ์
Bash
๋ณต์ฌ
โข
์ด๋ฒ ํ๋ก์ ํธ๋ ์ฃผ๋ก Payment, TrustSet, AccountSet, Credential, Permissioned Domain/DEX, MPTokens, Escrow ๋ฑ์ ์ค์ฌ์ผ๋ก ์์ ๋ฅผ ์์ฑํ์ต๋๋ค.
โข
ํ์ง๋ง server_info โ feature ์ถ๋ ฅ๊ฐ์ ๋ณด๋ฉด, Checks, DepositPreauth, Clawback, NFToken, PriceOracle, DynamicNFT, Batch, TicketBatch, XChainBridge ๋ฑ ๋ค์ํ amendment๊ฐ ์ด๋ฏธ ํ์ฑํ๋ผ ์์ต๋๋ค.
โข
๋ฐ๋ผ์ ๊ฐ๋ฐ์๋
XRPL-Standards๋ฅผ ์ฐธ๊ณ ํด ํ๋ก์ ํธ์์ ๋ค๋ฃจ์ง ์์ amendment ๊ธฐ๋ฅ๋ค๋ ์ง์ ํ
์คํธํด ๋ณด๋ฉด์,
โฆ
์ด๋ค ํธ๋์ญ์
ํ์
์ด ์ถ๊ฐ๋์๋์ง
โฆ
์ฌ์ฉ ์กฐ๊ฑด ๋ฐ ์ ์ฝ์ ๋ฌด์์ธ์ง
โฆ
๊ธฐ์กด ํธ๋์ญ์
๊ณผ ์ด๋ป๊ฒ ์ํธ์์ฉํ๋์ง
๋ฑ์ ์คํํด๋ณผ ์ ์์ต๋๋ค.

