@arcblock/blocklet-registry
Version:
**Blocklets** are reusable building blocks to help developers and community users to build things on [ArcBlock](https://www.arcblock.io) platform. A blocklet serves one and only one purpose, reusability is the core design philosophy of blocklets. Reusabil
1 lines • 15.6 kB
JSON
{"componentChunkName":"component---src-templates-blocklet-detail-js","path":"/dapp/wallet-playground","result":{"pageContext":{"language":"en","originalPath":"/dapp/wallet-playground","locale":"en","blocklet":{"name":"wallet-playground","version":"1.14.4","description":"A simple playground that shows the potential of ABT Wallet V2","keywords":["dapp","playground","wallet"],"author":{"name":"wangshijun","email":"shijun@arcblock.io"},"repository":{"type":"git","url":"https://github.com/ArcBlock/forge-dapp-starters/tree/master/packages/forge-react-starter"},"title":"Wallet Playground","files":["api/libs/hooks/pre-start.js","screenshots","logo.png","blocklet.md","README.md","build"],"license":"Apache-2.0","group":"dapp","main":"blocklet.js","logo":"logo.png","community":"https://community.arcblockio.cn","documentation":"","homepage":"","screenshots":["/static/6e3364b6c6d04bed55796aa41996bd44/2-everythings.png","/static/96886a1d95c0f014872acd487b712d07/0-home.png","/static/f395cfd5cc680e1374bcf41099fc1e3a/1-profile.png"],"environments":[{"name":"LOCAL_CHAIN_ID","description":"Please provide id of local chain","required":true,"default":"playground","secure":false},{"name":"LOCAL_CHAIN_HOST","description":"Please provide endpoint of local chain","required":true,"default":"https://playground.network.arcblockio.cn/api","secure":false},{"name":"FOREIGN_CHAIN_ID","description":"Please provide id of foreign chain","required":true,"default":"zinc-2019-05-17","secure":false},{"name":"FOREIGN_CHAIN_HOST","description":"Please provide endpoint of foreign chain","required":true,"default":"https://zinc.network.arcblockio.cn/api","secure":false}],"scripts":{"preDeploy":"npm run bundle","preStart":"node api/libs/hooks/pre-start.js","dev":"npm run start"},"specVersion":"1.0.1","did":"z8iZpn7gP9WJNUonEMq7zAoCbv4fMMqX8JasV","interfaces":[{"type":"web","name":"publicUrl","path":"/","prefix":"*","port":"BLOCKLET_PORT","protocol":"http"}],"timeout":{"start":15},"gitHash":"9af4f05d1883fbaf5f393315ffd5f5ee820d0379","htmlAst":{"type":"root","children":[{"type":"element","tagName":"h1","properties":{"id":"wallet-playground","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#wallet-playground","ariaLabel":"wallet playground permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"Wallet Playground"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"A simple dapp that shows the full potential of what you can do when build with following ArcBlock technologies:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"Decentralized Identity baked by ABT Wallet and ABT-DID-Protocol"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"Blockchain Framework which brings public verifiable distributed ledger to your dapp."}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"how-to-get-started","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#how-to-get-started","ariaLabel":"how to get started permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"How to get started"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{"id":"1-install-wallet-playground-blocklet-from-abt-node-marketplace","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#1-install-wallet-playground-blocklet-from-abt-node-marketplace","ariaLabel":"1 install wallet playground blocklet from abt node marketplace permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"1. install "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"Wallet Playground"}]},{"type":"text","value":" blocklet from ABT Node marketplace"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{"id":"2-config-the-required-environments","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#2-config-the-required-environments","ariaLabel":"2 config the required environments permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"2. config the required environments"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h4","properties":{"id":"21-localchainid","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#21-localchainid","ariaLabel":"21 localchainid permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"2.1 LOCAL"},{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"CHAIN"}]},{"type":"text","value":"ID"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"A valid chain id, The "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"LOCAL_CHAIN_ID"}]},{"type":"text","value":" and "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"LOCAL_CHAIN_HOST"}]},{"type":"text","value":" are one-to-one, you can start a chain by "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"Blockchain Manager"}]},{"type":"text","value":" blocklet, or you can use our test chain:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"pre","properties":{},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"// playground chain id:\nplayground\n"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h4","properties":{"id":"22-localchainhost","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#22-localchainhost","ariaLabel":"22 localchainhost permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"2.2 LOCAL"},{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"CHAIN"}]},{"type":"text","value":"HOST"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"A valid chain host, you can start a chain by "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"Blockchain Manager"}]},{"type":"text","value":" blocklet, or you can use our test chain:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"pre","properties":{},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"// playground chain host:\nhttps://playground.network.arcblockio.cn/api\n"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h4","properties":{"id":"23-foreignchainid","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#23-foreignchainid","ariaLabel":"23 foreignchainid permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"2.3 FOREIGN"},{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"CHAIN"}]},{"type":"text","value":"ID"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"A valid chain id, The "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"FOREIGN_CHAIN_ID"}]},{"type":"text","value":" and "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"FOREIGN_CHAIN_HOST"}]},{"type":"text","value":" are one-to-one, you can start an another chain by "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"Blockchain Manager"}]},{"type":"text","value":" blocklet, or you can use our another test chain:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"pre","properties":{},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"// zinc chain id:\nzinc-2019-05-17\n"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h4","properties":{"id":"24-foreignchainhost","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#24-foreignchainhost","ariaLabel":"24 foreignchainhost permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"2.4 FOREIGN"},{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"CHAIN"}]},{"type":"text","value":"HOST"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"A valid chain host, you can start an another chain by "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"Blockchain Manager"}]},{"type":"text","value":" blocklet, or you can use our another test chain:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"pre","properties":{},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"// zinc chain host:\nhttps://zinc.network.arcblockio.cn/api\n"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{"id":"3-start-the-blocklet","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#3-start-the-blocklet","ariaLabel":"3 start the blocklet permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"3. start the blocklet"}]}],"data":{"quirksMode":false}},"logoUrl":"/static/10973239a0cf59226774ca047d606949/logo.png","path":"/dapp/wallet-playground","charging":{"price":0},"stats":{"downloads":9022,"updated_at":"2021-03-23T03:05:58.591Z"},"dist":{"integrity":"sha512-w+I1ltpvC3/4L84pD7HRifgRaZmbAFxhZ1/AovpVIJohvXanhn5k19dPl59ExTt09wFxCyovnlfs9dEa6WleKw==","shasum":"90d9feecb520f1da92ea6e94e8bede75befbc2b8","tarball":"https://registry.npmjs.org/wallet-playground/-/wallet-playground-1.14.4.tgz","fileCount":27,"unpackedSize":11025458}}}},"staticQueryHashes":["1812186216"]}