import { getClient } from"./client";constecc=require("eosjs-ecc");(async () => {constservice=await (awaitgetClient()).service('storage',"5jqee4kl1ns1");constdata=Buffer.from("a great LiquidAccount success","utf8");constvAccount1=`vaccount1`;constprivateKeyWif="5HzXLtjFr34BCBYzjYeMgKGyvZJ41VqhcCAwUb5mKhtdDmQwnEB";constoptions= {// if true, DAG leaves will contain raw file data and not be wrapped in a protobuf rawLeaves:true };constresponse=awaitservice.upload_public_file_from_vaccount( data, { name: vAccount1, key: privateKeyWif }, options );console.log(`uri: ${response.uri}`);})().catch((e) => { console.log(e); });