Overview
A temporary clipboard that allows users to share text and files across devices with customizable expiration times. Built on Arkiv blockchain for secure, decentralized storage with automatic cleanup.
How it uses Golem DB
// Create clipboard item with file support
const payload = {
kind: 'file',
content: `File: ${file.name}`,
fileName: file.name,
fileType: file.type,
fileSize: file.size,
fileData: base64Data, // Base64 encoded file
expiresAt: expirationDate.toISOString(),
pow: { nonce, salt, digest, difficulty: 18 }
}
const response = await fetch('/v1/clipboard', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(payload)
})