Last active
October 23, 2019 09:13
-
-
Save agnelvishal/e3b0f4f3d22d9efa1426cf05521bc860 to your computer and use it in GitHub Desktop.
Rydeum Generate Address api code
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
var addR = await fetch("http://localhost:3000/createAdd") //Calls the api for creating address | |
var addJ = await addR.json() // Converts binary stream to json | |
console.log(addJ.ethWallet.address) // Prints the wallet address | |
console.log(addJ.ethWallet.privateKey) // Prints the PrivateKey | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To see the response in Postman or Browser, copy this link and paste in Postman or Browser,