mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 19:55:54 +00:00
Make set-individual-freeze more readable + comment
This commit is contained in:
@@ -4,14 +4,14 @@ async function main() {
|
||||
// Connect -------------------------------------------------------------------
|
||||
const client = new xrpl.Client('wss://s.altnet.rippletest.net:51233')
|
||||
await client.connect()
|
||||
console.log("Connected to TestNet")
|
||||
console.log("Connected to Testnet")
|
||||
|
||||
client.on('error', (errorCode, errorMessage) => {
|
||||
console.log(errorCode + ': ' + errorMessage)
|
||||
})
|
||||
|
||||
// Get credentials from the Testnet Faucet ------------------------------------
|
||||
console.log("Requesting addresses from the Testnet faucet...")
|
||||
console.log("Requesting an address from the Testnet faucet...")
|
||||
const { wallet, balance } = await client.fundWallet()
|
||||
|
||||
// Submit an AccountSet transaction to enable No Freeze ----------------------
|
||||
|
||||
Reference in New Issue
Block a user