APP: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

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

Webacy将与Arbitrum集成以提高DeFi和自托管的安全性:金色财经报道,DeFi安全提供商Webacy宣布将与Arbitrum集成,这将使Arbitrum的近1200万个不同地址能够访问Webacy的“钱包手表”工具。创始人兼首席执行官Maika Isokawa表示,该工具是该公司最受欢迎的产品,它通过短信或电子邮件向用户提供有关出入金交易、审批、交易和空投等信息的实时通知。此外,Webacy不会接触客户的秘钥,也不会访问钱包。相反,Webacy为客户提供了自行保护钱包的工具。目前,Webacy的三层保护套件可通过桌面或移动浏览器使用。[2023/8/29 13:02:43]

ReleasesNoreleasespublishedPackagesNopackagespublished

基于元宇宙的Web3 SaaS参与平台Vatom完成战略轮融资:金色财经报道,基于元宇宙的Web3 SaaS参与平台Vatom宣布完成战略轮融资,London Real Ventures参投,但具体融资金额暂未披露。Vatom的Web3元宇宙参与解决方案可以通过无缝沉浸式体验帮助企业更好地与客户、员工和利益相关者建立联系,其客户包括谷歌、百事可乐、宝洁、德勤、Verizon、iHeart Media、State Farm、WPP 等。(Cryptoslate )[2023/4/26 14:28:46]

FIFA世界杯官方授权Web3游戏“Own The Zone”在Hedera网络宣布推出:金色财经报道,2022年FIFA世界杯官方授权Web3游戏“Own The Zone”在Hedera网络宣布推出,该游戏由Reality+与OTZ Sports合作推出,粉丝们有机会赢取限量版数字收藏品 (?NFT?) 以及现实世界的奖品。[2022/12/11 21:36:39]

Web3基金会公布第15期资助项目名单,37个项目入选:10月14日,据官方消息,Web3基金会近日公布第15期(Wave 15)资助项目名单,涵盖用户界面、链和Pallet、ink智能合约、工具、API和语言、研究、钱包等领域。

Polkadot js plus、Blockcoders、QRUCIAL Oü、Lee、Standard Protocol、Common Orbit LLC: Rust、Equilibrium、LimeChain、Skye Kiwi等37个项目入选。[2022/10/14 14:27:50]

星链StarChain测试主网上线并公开测试钱包web版:星链StarChain测试主网已于4月8日上线,并公开了测试钱包web版。在后续测试中会空投测试Token并开放产品APP-星主页的权益兑换。据了解,星链采用先进的dBFT共识机制模块,吞吐量预期可达10000TPS。作为一条技术公有链,全新星链生态将实现明星/IP一键发行Token、通过特有的3次赋值可实现所有明星/IP在星链上发行的Token价值最大化。[2018/4/9]

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

链链资讯

XMREFI:浅谈NFT稀有度玄学

当我们购入NFT的时候,有些纯财务投资者会选择“扫地板”,直接价格LowtoHigh排序,批量买最低价的,等着地板价格上涨就好.

[0:0ms0-6:98ms