Importing Necessary Libraries and js-sdk functions
import React, { useState } from "react";
import Head from "next/head";
import {
init,
setWallet,
Greeter,
listAllocations,
createAllocation,
getAllocation,
getBalance,
getBalanceWasm,
bulkUpload,
download,
getFaucetToken,
sendTransaction,
listObjects,
share,
showLogs,
hideLogs,
deleteObject,
renameObject,
copyObject,
moveObject,
reloadAllocation,
freezeAllocation,
cancelAllocation,
updateAllocation,
createDir,
getFileStats,
downloadBlocks,
getUSDRate,
isWalletID,
getPublicEncryptionKey,
getLookupHash,
createAllocationWithBlobbers,
getAllocationBlobbers,
getBlobberIds,
createReadPool,
createWallet,
recoverWallet,
getAllocationFromAuthTicket,
getReadPoolInfo,
lockWritePool,
getBlobbers,
decodeAuthTicket,
initBridge,
burnZCN,
mintZCN,
getMintWZCNPayload,
} from "@zerochain/zus-sdk";
import { startPlay, stopPlay } from "./player";
_import styles from "../styles/Home.module.css";
Last updated