宇宙链 宇宙链
Ctrl+D收藏宇宙链
首页 > Filecoin > 正文

Web3应用程序商店协议:为Web3应用程序的注册和分发提供标准

作者:

时间:1900/1/1 0:00:00

译者:Evelyn|W3

functioncreateApp()externalreturns(uint256);functionaddVersion(uint256appId,stringmemoryversionId,stringmemoryfileUrl)external;functiongetAppIds()externalreturns(uint256memory);functiongetVersions(uint256appId)externalreturns(stringmemory);functiongetVersionFileUrl(uint256appId,stringmemoryversionId)externalviewreturns(stringmemory);functionvoteApp(uint256appId,uint8level)external;functionvoteAppVersion(uint256appId,stringmemoryversionId,uint8level)external;functiongetVotes(uint256appId,stringmemoryversionId)externalreturns(auditorVotememory);}Web3AppConfigrationStandard

{"properties":{"name":{"title":"NameoftheApp","type":"string"},"logoUrl":{"title":"LogooftheApp","type":"string"},"description":{"title":"DescriptionoftheApp","type":"string"},"origin":{"title":"Onlinedapporigin","type":"string","pattern":"^((https|http)?:\\\\/\\\\/)+"},"permissions":{"properties":{"web3Provider":{"requestAccount":{"title":"IfAppneedpermissiontoconnectwithwallet","type":"boolean"},"personalSign":{"properties":{"request":{"type":"boolean","title":"IfAppneedpermissiontorequestsigntextmessage"},"patterns":{"type":"array","title":"Patternsoftextmessage"}},"title":"Declarationforsigntextmessage","type":"object"},"transaction":{"properties":{"request":{"type":"boolean","title":"IfAppneedpermissiontorequesttransaction"},"contractCalls":{"type":"array","title":"Declarationforcontrattransaction"},"tokenApproves":{"type":"array","title":"Declarationfortokenapproval"},"ERC20TokenTransfer":{"type":"array","title":"DeclarationforERC20tokentransfertransaction"}},"type":"object","title":"Declarationfortransaction"},"network":{"urlPatterns":{"type":"array","title":"PatternsofwhitelistnetworkrequestURL"},"title":"DeclarationforAPPnetworkrequest","type":"object"},"title":"DeclarationforWeb3Providerpermissions","type":"object"}},"title":"DeclarationforApppermissions","type":"object"},"app":{"properties":{"id":{"title":"AppIdallocatedbyAppStore","type":"string"},"chainId":{"title":"ThechainIdwhichAppStoredeployed","type":"string"},"contract":{"title":"ThecontractaddressofAppStore","type":"string"}},"type":"object","title":"AppinformationonAppStore"},"source":{"properties":{"repository":{"type":"string","title":"TheURLthatcanaccessAppsourcecode","pattern":"^(https:\\\\/\\\\/|git@)+"},"buildScript":{"type":"string","title":"Thescriptthatcancompliesourcecodetobundles"},"systemEnvironment":{"type":"string","title":"ThesystemenvironmentthatcanmakesureauditorcanbuildbundlewhichhasthesameSHA256"}},"type":"object","title":"Informationofsourcecodeforauditoruse"}},"title":"Web3Appjsonconfigfile","type":"object"}Web3AppStoreClientStandardinterfaceApp{app:{id:stringchainId:stringcontract:string}permissions:{network:{urlPatterns:string},web3Provider:{requestAccount:booleanpersonalSign:{request:booleanpatterns:string},transaction:{request:booleancontractCalls:ContractCallItemtokenApproves:TokenApproveItemERC20TokenTransfer:ERC20TokenTransferItem}}}source:{repository:stringbuildScript:stringsystemEnvironment:string}appId:numberdomain:stringversionId:stringfiles:stringname:stringdescription?:stringlogoUrl:string}enumVoteLevel{DANGER=-1UNKNOW=0SAFE=1}classWeb3AppStore{chainId:string;//ThechainIdwhichAppStoredeployedcontract:string;//ThecontractaddressofAppStoregetApps():Promise<App>getApp(appId:number,version?:string):Promise<App>getAppVersions(appId:number):Promise<App>createApp():Promise<number>addVersion(appId:number,fileUrls:string):Promise<void>voteApp(appId:number,level:VoteLevel):Promise<void>voteAppVersion(appId:number,versionId:string,level:VoteLevel):Promise<void>//ValidatetheSHA256ofAppfileissameasversionIdofnotvalidateAppVersion(app:App):Promise<Boolean>//Validateifthedomainwhichdeclaredindomainpropertyhasthesameweb3

ReleasesNoreleasespublishedPackagesNopackagespublished

Web2.5创作者经济初创公司Moneyy APP完成天使轮融资,GSFAccelerator领投:6月9日消息,面向创作者的金融科技 Moneyy App宣布完成了一笔天使轮融资,具体金额暂未对外披露,GSF Accelerator 领投,IndiaMart 创始人 Dinesh Agarwal、Nazara Technologies 创始人 Nitesh Mittersain、Fluid Ventures 的 Amit Singhal、U2opia Mobiles 的 Sumesh Menon、Pras Hanuma 等参投。

MoneyyApp是一款通过提供金融科技工具帮助创作者管理业务的金融科技应用程序,希望成为创造者经济从Web2.0向Web3.0转变的桥梁,因此自称是一家Web2.5初创公司。据悉,MoneyyApp将利用这笔资金扩大其业务,同时致力于产品开发并围绕该应用程序建立知名度。(freepressjournal)[2022/6/9 23:02:47]

Vogue Singapore推出Web3时尚社区:9月19日消息,Vogue Singapore已于9月5日推出Web3时尚社区Vogue Singapore’s New World。据悉,中国超模张丽娜成为新加坡版Vogue杂志九月刊封面人物。

Vogue Singapore董事总经理Natasha Damodaran表示,该平台允许其社区与各种类型的内容和图像进行交互。“Vogue Singapore的New World目前允许用户探索一个超现实主义风格的领域,其中包含Vogue 2022年9月封面明星兼超模张丽娜的欢迎视频。用户还可以体验由艺术家Terry Gates制作的AI美拍作品Bio RESONANCE,以及北京设计师Yimeng Yu专为Vogue Singapore打造的数字时装。”

Damodaran解释称,Vogue的元宇宙由Spatial.io提供支持,后者是专门研究3D空间的元宇宙平台。虚拟空间由专注于NFT的机构Polycount.io设计。 (Cointelegraph)[2022/9/20 7:07:09]

Web3安全生态基础设施Go+ Security Engine上线代币安全监测功能:2月23日消息,Web3 全新安全生态基础设施 Go+ Securtiy Engine 已在官网发布针对 C 端用户的代币安全监测功能。用户输入代币合约地址,即可获取该代币在合约安全、交易安全、信息安全三方面的近 30 项安全检测。

据悉,Go+ Security Engine 是面向 Web3 的全新安全生态基础设施,其安全 API 已被多个 Wallet、Price Chart、Portal 使用。目前,该系统已覆盖 ETH、BSC、Polygon、Avalanche、Arbitrum、Heco 生态。[2022/2/23 10:10:44]

标签:QUOAPPIONINGQuota中币交易所app官网下载最新版本5.9Thisoption币圈lichiming

Filecoin热门资讯
为何NFT能抗跌?

Odaily星球日报译者|Moni 最近几周,一系列的宏观经济事件在加密市场掀起了轩然大波,也在提醒大家这个新兴行业无处不在的的潜在风险和波动性.

1900/1/1 0:00:00
收藏这份NFT工具宝典,教你如何玩转NFT

NFT评估和稀有度打分平台可以助你在NFT投资中先人一步。这些工具是挖掘宝藏NFT项目的一把好手,具备评估NFT稀缺度、挖掘最新NFT项目、追踪巨鲸钱包、优化投资决策等功能。它们绝对是你在审慎抉择投资对象时必不可少的工具.

1900/1/1 0:00:00
一周融资速递 | 22家项目被投;已披露融资总额约为7.13亿美元(12.27-01.02)

经Odaily星球日报不完全统计,12月27日-01月02日当周公布的海内外区块链融资事件共22起,较上周大幅减少;已披露融资总额约为7.13亿美元,较上周数据有所上升.

1900/1/1 0:00:00
星球日报 | Meta计划推出NFT市场;LOOKS突破7 USDT,创历史新高(1月21日)

头条 Meta计划让用户在Facebook和Instagram上展示NFT,并讨论推出NFT市场几位知情人士透露,Meta计划让用户在旗下社交平台Facebook和Instagram上展示NFT.

1900/1/1 0:00:00
凭借视频转码,「Livepeer」获得Alan Howard和Tiger Global等5100万美元投资

如今,短视频充斥着我们生活的方方面面。短视频的崛起,离不开背后的技术支撑,特别是视频转码,可以使得用户无论在何种设备上都可以获得最佳观看体验.

1900/1/1 0:00:00
「炸桥案」频发,V神指出跨链桥安全风险或将摧毁多链未来

在2021年的基础上,2022年的攻击赛道又出现了一位“强力选手”。跨链桥作为新的攻击载体,安全性方面的发展尚未成熟。因此,跨链桥也是所有项目以及开发人员应该提高警惕的领域之一.

1900/1/1 0:00:00