Open fybx opened 2 months ago
I'll try to update by the meeting tomorrow, thanks. @fybx
Modular Structure:
// file-upload.js
export function uploadFile(file, walletKey) {
// Implementation
}
// metadata.js
export function createMetadata(name, description, imageUrl, attributes) {
// Implementation
}
// arweave-transaction.js
export function createAndSignTransaction(data, walletKey) {
// Implementation
}
// arweave-upload.js
export function uploadToArweave(transaction) {
// Implementation
}
@virjilakrum Can you revise your work to follow the guidelines provided below, thanks. You can convert this task to an issue in a repository.
The approach we use is like this:
I advise you to check out https://git.fybx.dev/fyb/zkl-kds/src/branch/main/key-derivation.js and https://git.fybx.dev/fyb/zkl-kds/src/branch/main/key.js to get an idea on how to develop modules with pure functions.