mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-25 06:05:51 +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() {
|
async function mintToken() {
|
||||||
const wallet = xrpl.Wallet.fromSeed(secret.value)
|
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()
|
await client.connect()
|
||||||
console.log("Connected to Sandbox")
|
console.log("Connected to Sandbox")
|
||||||
|
|
||||||
@@ -46,7 +46,7 @@ async function mintToken() {
|
|||||||
|
|
||||||
async function getTokens() {
|
async function getTokens() {
|
||||||
const wallet = xrpl.Wallet.fromSeed(secret.value)
|
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()
|
await client.connect()
|
||||||
console.log("Connected to Sandbox")
|
console.log("Connected to Sandbox")
|
||||||
const nfts = await client.request({
|
const nfts = await client.request({
|
||||||
@@ -63,7 +63,7 @@ async function getTokens() {
|
|||||||
|
|
||||||
async function burnToken() {
|
async function burnToken() {
|
||||||
const wallet = xrpl.Wallet.fromSeed(secret.value)
|
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()
|
await client.connect()
|
||||||
console.log("Connected to Sandbox")
|
console.log("Connected to Sandbox")
|
||||||
|
|
||||||
@@ -95,7 +95,7 @@ async function burnToken() {
|
|||||||
|
|
||||||
async function createSellOffer() {
|
async function createSellOffer() {
|
||||||
const wallet = xrpl.Wallet.fromSeed(secret.value)
|
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()
|
await client.connect()
|
||||||
console.log("Connected to Sandbox")
|
console.log("Connected to Sandbox")
|
||||||
|
|
||||||
@@ -150,7 +150,7 @@ async function createSellOffer() {
|
|||||||
async function createBuyOffer() {
|
async function createBuyOffer() {
|
||||||
|
|
||||||
const wallet = xrpl.Wallet.fromSeed(secret.value)
|
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()
|
await client.connect()
|
||||||
console.log("Connected to Sandbox")
|
console.log("Connected to Sandbox")
|
||||||
|
|
||||||
@@ -206,7 +206,7 @@ async function createBuyOffer() {
|
|||||||
async function cancelOffer() {
|
async function cancelOffer() {
|
||||||
|
|
||||||
const wallet = xrpl.Wallet.fromSeed(secret.value)
|
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()
|
await client.connect()
|
||||||
console.log("Connected to Sandbox")
|
console.log("Connected to Sandbox")
|
||||||
|
|
||||||
@@ -263,7 +263,7 @@ async function cancelOffer() {
|
|||||||
async function getOffers() {
|
async function getOffers() {
|
||||||
|
|
||||||
const wallet = xrpl.Wallet.fromSeed(secret.value)
|
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()
|
await client.connect()
|
||||||
console.log("Connected to Sandbox")
|
console.log("Connected to Sandbox")
|
||||||
console.log("***Sell Offers***")
|
console.log("***Sell Offers***")
|
||||||
@@ -297,7 +297,7 @@ async function getOffers() {
|
|||||||
async function acceptSellOffer() {
|
async function acceptSellOffer() {
|
||||||
|
|
||||||
const wallet = xrpl.Wallet.fromSeed(secret.value)
|
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()
|
await client.connect()
|
||||||
console.log("Connected to Sandbox")
|
console.log("Connected to Sandbox")
|
||||||
|
|
||||||
@@ -330,7 +330,7 @@ async function acceptSellOffer() {
|
|||||||
async function acceptBuyOffer() {
|
async function acceptBuyOffer() {
|
||||||
|
|
||||||
const wallet = xrpl.Wallet.fromSeed(secret.value)
|
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()
|
await client.connect()
|
||||||
console.log("Connected to Sandbox")
|
console.log("Connected to Sandbox")
|
||||||
|
|
||||||
@@ -416,4 +416,4 @@ value = "ipfs://bafybeigdyrzt5sfp7udm7hu76uh7y26nf4dfuylqabf3oclgtqy55fbzdi" siz
|
|||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user