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

Web3用户社区参与平台Passion Labs获Animoca Brands Japan投资:2月24日消息,Web3用户社区参与平台Passion Labs获Animoca Brands Japan投资。此后,二者将合作帮助日本公司利用Passion Labs的技术进行KOC(关键意见消费者)分析,制定相应Web3战略并创建Web3社区。

据悉,Passion Labs成立于2022年,其通过“NFTs即Cookies”的参与量证明(PoE)平台Passion重新定义品牌和用户之间的数据共享基础架构,提供客户体验和社区参与工具,让用户拥有数据所有权,并帮助品牌建立社区。PassionLabs已为超3万个亚太品牌提供数据分析以加强其社区凝聚力。[2023/2/24 12:26:42]

ReleasesNoreleasespublishedPackagesNopackagespublished

Tinder的首席产品官加入web3游戏工作室N3twork:金色财经报道,Web3游戏工作室N3twork聘请了Tinder首席产品官Josh Sell。该工作室还吸引了来自 EA、Kabam、Zynga、Glu 和迪士尼的开发人员。 去年5月,N3twork 完成了 4600 万美元的 A 轮融资,由 Griffin Gaming Partners 领投,Kleiner Perkins、Galaxy Interactive、Floodgate、LLL Capital、N3twork Inc.(N3twork Studios 的母公司)等领投。[2023/1/13 11:09:09]

MPL旗下Web3游戏公司GGX拟融资1000-1500万美元,Polygon或参投:6月30日消息,线上游戏独角兽Mobile Premier League(MPL)宣布推出一个全新 Web3 游戏子公司 GGX 并正式进军 P2E 游戏领域。GGX目前正在启动融资谈判,拟按照 2-2.5 亿美元的公司估值募集 1000-1500 万美元资金,投资方包括数字资产管理公司 Spartan Capital 和 Polygon。GGX 还计划推出游戏内置 NFT 市场,和软件工具包,便于玩家交易游戏内资产且允许任何游戏开发人员使用该软件工具包实现游戏货币化。[2022/6/30 1:40:45]

Web3基金会技术教育主管:现在的“区块链空间”非常像90年代早中期的“科技”:Web3基金会技术教育主管Bill Laboon发推称,现在的“区块链空间”给我的感觉非常像90年代早中期的“科技(tech)”。对于一个人来说,即使在高层次上也不可能保持对该空间的追踪,人们越来越关注个人方面。[2021/1/6 16:32:46]

公告 | FORTUNA方图公链测试网络与web钱包上线,FOTA同步上线两大新交易所:2018年6月25日,方图公有链测试网络成功上线,目前支持创建账户、转账、注册代理人、投票、区块与交易查询等功能。同时,首款web版数字钱包提前发布。此外,方图代币FOTA将上线两大全新交易所,累计上线海外交易所11家。[2018/6/25]

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

金星链

TUSDCHA:项目开发者必读:十大DeFi安全问题解决方案

无论是开发DeFi协议还是其他的智能合约应用,在上线到区块链主网前都需要考虑到许多安全因素。很多团队在审核代码时只关注Solidity相关的陷阱,但要确保dApp的安全性足够支撑上线主网,通常还.

[0:0ms0-1:123ms