Make set-individual-freeze more readable + comment

This commit is contained in:
Jackson Mills
2021-10-18 10:22:54 -07:00
parent 8aa4393933
commit 181ce464c3
2 changed files with 34 additions and 28 deletions

View File

@@ -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 ----------------------