Create a new PublicKey object
ed25519 public key as buffer or base-58 encoded string
StaticdefaultDefault public key value. The base58-encoded string representation is all ones (as seen below) The underlying BN number is 32 bytes that are all zeros
Return the base-58 representation of the public key
Return the Buffer representation of the public key in big endian
Return the byte array representation of the public key in big endian
Return the base-58 representation of the public key
StaticcreateAsync version of createProgramAddressSync For backwards compatibility
Use createProgramAddressSync instead
StaticcreateStaticcreateStaticdecodeStaticdecodeStaticfindAsync version of findProgramAddressSync For backwards compatibility
Use findProgramAddressSync instead
StaticfindFind a valid program address
Valid program addresses must fall off the ed25519 curve. This function iterates a nonce until it finds one that when combined with the seeds results in a valid program address.
StaticisCheck that a pubkey is on the ed25519 curve.
StaticuniqueReturns a unique PublicKey for tests and benchmarks using a counter
A public key