How to use the stellar-base.Keypair function in stellar-base

To help you get started, we’ve selected a few stellar-base examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github astroband / astrograph / tests / factories / account.ts View on Github external
  .attr("id", () => stellar.Keypair.random().publicKey())
  .attr("balance", "19729999500")
github astroband / astrograph / tests / factories / signer.ts View on Github external
  .attr("signer", () => stellar.Keypair.random().publicKey())
  .attr("weight", () => Math.floor(Math.random() * 5));
github astroband / astrograph / tests / factories / signer.ts View on Github external
  .attr("accountID", () => stellar.Keypair.random().publicKey())
  .attr("signer", () => stellar.Keypair.random().publicKey())
github astroband / astrograph / tests / factories / account_values.ts View on Github external
  .attr("id", () => stellar.Keypair.random().publicKey())
  .attr("balance", "19729999500")
github stellar / stellar-wallet / lib / util / stellar-address.js View on Github external
module.exports.newAddressFromPublicKey = function(publicKeyString) {
  var publicKeyBytes = new Buffer(publicKeyString, "base64");
  var keyPair = new StellarBase.Keypair({publicKey: publicKeyBytes});
  return keyPair.publicKey();
};