mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-24 21:55:52 +00:00
Correct the devnet URL
This commit is contained in:
@@ -10,7 +10,7 @@ if (typeof module !== "undefined") var xrpl = require('xrpl')
|
||||
|
||||
async function mintToken() {
|
||||
const wallet = xrpl.Wallet.fromSeed(secret.value)
|
||||
const client = new xrpl.Client("wss://devnet.xrpl.org/:51233")
|
||||
const client = new xrpl.Client("wss://s.devnet.rippletest.net:51233")
|
||||
await client.connect()
|
||||
console.log("Connected to Sandbox")
|
||||
|
||||
@@ -46,7 +46,7 @@ async function mintToken() {
|
||||
|
||||
async function getTokens() {
|
||||
const wallet = xrpl.Wallet.fromSeed(secret.value)
|
||||
const client = new xrpl.Client("wss://devnet.xrpl.org/:51233")
|
||||
const client = new xrpl.Client("wss://s.devnet.rippletest.net:51233")
|
||||
await client.connect()
|
||||
console.log("Connected to Sandbox")
|
||||
const nfts = await client.request({
|
||||
@@ -63,7 +63,7 @@ async function getTokens() {
|
||||
|
||||
async function burnToken() {
|
||||
const wallet = xrpl.Wallet.fromSeed(secret.value)
|
||||
const client = new xrpl.Client("wss://devnet.xrpl.org/:51233")
|
||||
const client = new xrpl.Client("wss://s.devnet.rippletest.net:51233")
|
||||
await client.connect()
|
||||
console.log("Connected to Sandbox")
|
||||
|
||||
@@ -95,7 +95,7 @@ async function burnToken() {
|
||||
|
||||
async function createSellOffer() {
|
||||
const wallet = xrpl.Wallet.fromSeed(secret.value)
|
||||
const client = new xrpl.Client("wss://devnet.xrpl.org/:51233")
|
||||
const client = new xrpl.Client("wss://s.devnet.rippletest.net:51233")
|
||||
await client.connect()
|
||||
console.log("Connected to Sandbox")
|
||||
|
||||
@@ -150,7 +150,7 @@ async function createSellOffer() {
|
||||
async function createBuyOffer() {
|
||||
|
||||
const wallet = xrpl.Wallet.fromSeed(secret.value)
|
||||
const client = new xrpl.Client("wss://devnet.xrpl.org/:51233")
|
||||
const client = new xrpl.Client("wss://s.devnet.rippletest.net:51233")
|
||||
await client.connect()
|
||||
console.log("Connected to Sandbox")
|
||||
|
||||
@@ -206,7 +206,7 @@ async function createBuyOffer() {
|
||||
async function cancelOffer() {
|
||||
|
||||
const wallet = xrpl.Wallet.fromSeed(secret.value)
|
||||
const client = new xrpl.Client("wss://devnet.xrpl.org/:51233")
|
||||
const client = new xrpl.Client("wss://s.devnet.rippletest.net:51233")
|
||||
await client.connect()
|
||||
console.log("Connected to Sandbox")
|
||||
|
||||
@@ -263,7 +263,7 @@ async function cancelOffer() {
|
||||
async function getOffers() {
|
||||
|
||||
const wallet = xrpl.Wallet.fromSeed(secret.value)
|
||||
const client = new xrpl.Client("wss://devnet.xrpl.org/:51233")
|
||||
const client = new xrpl.Client("wss://s.devnet.rippletest.net:51233")
|
||||
await client.connect()
|
||||
console.log("Connected to Sandbox")
|
||||
console.log("***Sell Offers***")
|
||||
@@ -297,7 +297,7 @@ async function getOffers() {
|
||||
async function acceptSellOffer() {
|
||||
|
||||
const wallet = xrpl.Wallet.fromSeed(secret.value)
|
||||
const client = new xrpl.Client("wss://devnet.xrpl.org/:51233")
|
||||
const client = new xrpl.Client("wss://s.devnet.rippletest.net:51233")
|
||||
await client.connect()
|
||||
console.log("Connected to Sandbox")
|
||||
|
||||
@@ -330,7 +330,7 @@ async function acceptSellOffer() {
|
||||
async function acceptBuyOffer() {
|
||||
|
||||
const wallet = xrpl.Wallet.fromSeed(secret.value)
|
||||
const client = new xrpl.Client("wss://devnet.xrpl.org/:51233")
|
||||
const client = new xrpl.Client("wss://s.devnet.rippletest.net:51233")
|
||||
await client.connect()
|
||||
console.log("Connected to Sandbox")
|
||||
|
||||
@@ -416,4 +416,4 @@ value = "ipfs://bafybeigdyrzt5sfp7udm7hu76uh7y26nf4dfuylqabf3oclgtqy55fbzdi" siz
|
||||
</table>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user