@ipfs
Upload text content to IPFS and return the CID.
Returns: string
Syntax
Section titled “Syntax”@ipfs(text)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
text |
string |
Content to upload |
Examples
Section titled “Examples”# Upload text to IPFSset $cid @ipfs("hello world")See Also
Section titled “See Also”- @ens:contenthash — encode IPFS hash for ENS