You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The signer specified here needs Arweave wallet installed
import{createDataItemSigner,spawn}from"@permaweb/ao-sdk";constprocessId=awaitspawn({// The Arweave TXID of the ao Modulemodule: "module TXID",// The Arweave wallet address of a Scheduler Unitscheduler: "_GQ33BkPtZrqxA84vM8Zk-N2aO0toNNu_C-l-rawrBA",// A signer function containing your walletsigner: createDataItemSigner(globalThis.arweaveWallet),/* Refer to a Processes' source code or documentation for tags that may effect its computation. */tags: [{name: "Your-Tag-Name-Here",value: "your-tag-value"},{name: "Another-Tag",value: "another-value"},],});
However, some browser applications might not need Arweave wallet specifically. E.g.
They might authenticate the user in some other way
They might be trivial tasks that do not need the extra UX burden of installing / signing a wallet
In this case, a custom signer can be used as bellow:
The text was updated successfully, but these errors were encountered:
hitwill
changed the title
Signer for process spawning generates error if Arweave wallet is not installed
docs: Signer for process spawning generates error if Arweave wallet is not installed
Oct 1, 2024
The signer specified here needs Arweave wallet installed
However, some browser applications might not need Arweave wallet specifically. E.g.
In this case, a custom signer can be used as bellow:
The text was updated successfully, but these errors were encountered: