Sha256: 1a7709abbf84d23c2d4903beb71c7aa6e80a4ebdfe8dfd4e17c1a8d279ced92a
Contents?: true
Size: 355 Bytes
Versions: 5
Compression:
Stored size: 355 Bytes
Contents
transaction(publicKey: String, weight: UFix64) { prepare(signer: AuthAccount) { // signer.addPublicKey(publicKey.decodeHex()) let key = PublicKey( publicKey: publicKey.decodeHex(), signatureAlgorithm: SignatureAlgorithm.ECDSA_P256 ) signer.keys.add( publicKey: key, hashAlgorithm: HashAlgorithm.SHA3_256, weight: weight ) } }
Version data entries
5 entries across 5 versions & 1 rubygems