write method
Signs and queues a record write from a 64 byte Ed25519 secret; the
nonce is taken from the chain, so several writes can be queued at once.
Implementation
Uint8List write(
Uint8List secret,
Uint8List key,
RecordOp op,
Uint8List value,
) {
final author = _bc.addressOf(secret.sublist(32));
return addTx(
_bc.signRecordTx(
chainId: chainId,
nonce: recordNonce(author),
key: key,
op: op,
value: value,
secret: secret,
),
);
}