GoSDK for webapps
Exporting a gosdk function to WebAssembly
"init": Init,
"setWallet": SetWallet,
"setZBoxHost": setZBoxHost,
"getEncryptedPublicKey": GetEncryptedPublicKey,
"hideLogs": hideLogs,
"showLogs": showLogs,
//blobber
"delete": Delete,
"rename": Rename,
"copy": Copy,
"move": Move,
"share": Share,
"download": Download,
"upload": Upload,
"listObjects": listObjects,
"createDir": createDir,
// zcn txn
"commitFileMetaTxn": CommitFileMetaTxn,
"commitFolderMetaTxn": CommitFolderMetaTxn,
// player
"play": Play,
"stop": Stop,
"getNextSegment": GetNextSegment,
// wallet
"createWallet": createWallet,
//allocation
"createAllocation": createAllocation,
"getAllocationBlobbers": getAllocationBlobbers,
"listAllocations": listAllocations,
//smartcontract
"executeSmartContract": executeSmartContract,
//swap
"setSwapWallets": setSwapWallets,
"swapToken": swapToken,Last updated