This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const algosdk=require('algosdk'); | |
const server="https://testnet-algorand.api.purestake.io/ps2"; | |
const port=""; | |
const token={ | |
"x-api-key": "mV *** BY" // fill in yours | |
}; | |
var aliceAddress = '5SL7MUMPYFNDBHUD4L7J4LJRQCQWXQUD3RDK7SBGIDWPH3ZFK47BTH43HE'; // change to yours | |
var bobAddress = 'BDGUP3RKI3DJVM327B3R4SYT6PQUJBMDMQWHQICKSEQQT6PWCMNAYWEY4M'; // change to yours |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const algosdk = require('algosdk'); | |
const server="https://testnet-algorand.api.purestake.io/ps2"; | |
const port=""; | |
const token={ | |
"x-api-key": "mV *** BY" | |
}; | |
var bob_mnemonic = "truth erase *** above magic"; // fill in yours |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const algosdk = require('algosdk'); | |
const server="https://testnet-algorand.api.purestake.io/ps2"; | |
const port=""; | |
const token={ | |
"x-api-key": "mV *** BY" // fill in yours | |
}; | |
var alice_mnemonic = "cash riot *** able can"; // fill in yours | |
var aliceAccount = algosdk.mnemonicToSecretKey(alice_mnemonic); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const algosdk = require('algosdk'); | |
const server="https://testnet-algorand.api.purestake.io/ps2"; | |
const port=""; | |
const token={ | |
"x-api-key": "mV *** BY" // fill in yours | |
}; | |
var bob_mnemonic = "truth erase *** above magic"; // fill in yours | |
var bobAccount = algosdk.mnemonicToSecretKey(bob_mnemonic); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const algosdk = require('algosdk'); | |
const server="https://testnet-algorand.api.purestake.io/ps2"; | |
const port=""; | |
const token={ | |
"x-api-key": "mV *** BY" // fill in yours | |
}; | |
var alice_mnemonic = "cash riot *** able can"; // fill in yours | |
var aliceAccount = algosdk.mnemonicToSecretKey(alice_mnemonic); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const algosdk = require('algosdk'); | |
const server="https://testnet-algorand.api.purestake.io/ps2"; | |
const port=""; | |
const token={ | |
"x-api-key": "mV *** BY" // fill in yours | |
}; | |
var alice_mnemonic = "cash riot *** able can"; // fill in yours | |
var aliceAccount = algosdk.mnemonicToSecretKey(alice_mnemonic); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright IBM Corp All Rights Reserved | |
* | |
* SPDX-License-Identifier: Apache-2.0 | |
*/ | |
package main | |
import ( | |
"fmt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright IBM Corp All Rights Reserved | |
* | |
* SPDX-License-Identifier: Apache-2.0 | |
*/ | |
package main | |
import ( | |
"fmt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const algosdk=require('algosdk'); | |
const server="https://testnet-algorand.api.purestake.io/ps2"; | |
const port=""; | |
const token={ | |
"x-api-key": "mV *** BY" | |
}; | |
let client=new algosdk.Algodv2(token,server,port); | |
let mnemonic1='attract unit *** above trip'; // 25-word mnemonic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const algosdk=require('algosdk'); | |
const server="https://testnet-algorand.api.purestake.io/ps2"; | |
const port=""; | |
const token={ | |
"x-api-key": "mV *** BY" // fill in yours | |
}; | |
let client=new algosdk.Algodv2(token,server,port); |
NewerOlder