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

译者: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

Web3公司Polium构建支持区块链和NFT的游戏机:金色财经报道,Web3公司Polium正在尝试构建一个支持多个区块链和NFT的游戏机。该公司寻求“将大规模采用带入Web3领域”,以吸引传统游戏上的PC玩家。这款游戏机被誉为“Polium One”,将运行基于Immutable X、以太坊、Solana、Polygon、BNB链、Harmony、EOS和WAX区块链的游戏。

根据新闻材料,用于交易、交换和抵押加密货币的多链钱包将可用。它的预计发布日期定在2024年第三季度,但该设备仍在进行中。(blockworks)[2022/7/8 1:59:25]

{"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

Web3基金会资助计划第11批项目包括UNI-ARTS等:10月12日消息,Web3基金会已经挑选出第11批通过其资助计划的项目,名单如下:开发工具包括UNI-ARTS、Supercolony;钱包、端口包括Cyril Carlier、Uniscan、Tesseract、Wow Labz、Health Hero;新的运行时刻模块和DApp包括Pawn、Uddug、Canyon Labs、Skynet Labs、Uniwrap-protocol、YibanChen、Banksy Finance、SubDAO Labs、Virto Network、Rreaudito、LimeChain、Opensquare、InvArch、SubGame、CESS LAB、CheersLand。(Polkadot中文平台)[2021/10/12 20:23:06]

Web3孵化器DAOSquare宣布上线RICE Farm:Web3孵化器DAOSquare宣布上线RICE Farm,持续时间为6月18日7时-7月18日7时(UTC时间)。[2021/6/18 23:47:47]

郑重声明: 本文版权归原作者所有, 转载文章仅为传播更多信息之目的, 如作者信息标记有误, 请第一时间联系我们修改或删除, 多谢。

银河链

[0:46ms0-2:798ms