Skip to content

Instantly share code, notes, and snippets.

@agnelvishal
Last active October 23, 2019 09:13
Show Gist options
  • Save agnelvishal/e3b0f4f3d22d9efa1426cf05521bc860 to your computer and use it in GitHub Desktop.
Save agnelvishal/e3b0f4f3d22d9efa1426cf05521bc860 to your computer and use it in GitHub Desktop.
Rydeum Generate Address api code
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
@agnelvishal
Copy link
Author

agnelvishal commented Oct 22, 2019

To see the response in Postman or Browser, copy this link and paste in Postman or Browser,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment