🤔 What is learn-web3-dapp? – 🤔 什么是learn-web3-dapp?区块链毕设代写

区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,🤔 What is learn-web3-dapp? – 🤔 什么是learn-web3-dapp?区块链毕设代写 是一篇很好的国外资料

🤔 What is learn-web3-dapp?

We made this decentralized application (dApp) to help developers learn about Web 3 protocols. It uses TypeScript, React, and various smart contract languages.

Following along with the Figment Learn Pathways, you will build up a simple web client using various JavaScript APIs to interact with different blockchain networks. Each protocol is slightly different, but we have attempted to standardize the workflow so that you can quickly get up to speed on networks like Solana, NEAR, Secret and Polygon!

Learn more about Figment.

🧑‍💻 How to use this repo

Clone the repo and install the dependencies with yarn:

git clone https://github.com/figment-networks/learn-web3-dapp.git cd learn-web3-dapp yarn 

If you encounter any errors during this process, please join our Discord for help.

🧩 DataHub API keys

To make use of the Pathway content, you will require a DataHub account and a valid API key for the protocol you wish to access via DataHub’s infrastructure. Sign up for a DataHub account and verify your email address, then visit the DataHub Services Dashboard and select the protocol you want to access. You will then be able to copy your personal API key.

You will need to create a new file in the project root directory ~/learn-web3-dapp/.env.local, copying the contents of the existing .env.example file. Your API key needs to be pasted into .env.local so that you can authenticate your connections with DataHub.

💻 Running the development server

Start the Next.js development server on the default port 3000 with:

yarn dev 

If your setup requires a specific port to allow inbound requests, or if you already have a service running on port 3000 – you can also specify a port with the --port flag:

yarn dev --port 3001 

Once the server is running, you should see similar output:

yarn run v1.22.10 $ next dev ready - started server on 0.0.0.0:3000, url: http://localhost:3000 info  - Loaded env from ~/learn-web3-dapp/.env.local info  - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5 event - compiled successfully 

You can now view the running application at http://localhost:3000 (or whichever port you specified)!

We sincerely hope you enjoy the Pathway content and thank you for using learn-web3-dapp to learn about blockchain protocols 🚀

— The Figment Learn Team


🤔 什么是learn-web3-dapp

我们制作这个分散应用程序(dApp)是为了帮助开发人员了解Web3协议。它使用TypeScript、React和各种智能合约语言

遵循虚构学习路径,您将使用各种JavaScript API构建一个简单的web客户端,与不同的区块链blockchain网络进行交互。每种协议都略有不同,但我们已尝试将工作流标准化,以便您可以在Solana、NEAR、Secret和Polygon等网络上快速跟上速度

了解有关虚构的更多信息

🧑‍💻 如何使用本回购协议🧩 数据集线器API密钥💻 运行开发服务器

克隆repo并使用Thread安装依赖项:

git clone https://github.com/figment-networks/learn-web3-dapp.git cd learn-web3-dapp yarn 

如果在此过程中遇到任何错误,请加入我们的Discord寻求帮助

🧩 DataHub API keys

要使用路径内容,您需要一个DataHub帐户和一个有效的API密钥,用于您希望通过DataHub的基础设施访问的协议。注册DataHub帐户并验证您的电子邮件地址,然后访问DataHub服务仪表板并选择要访问的协议。然后,您将能够复制您的个人API密钥

您需要在项目根目录~/learn-web3-dapp/.env.local中创建一个新文件,复制现有.env.example文件的内容。您的API密钥需要粘贴到.env.local中,以便您可以验证与DataHub的连接

💻 Running the development server

在默认端口3000上启动Next.js development server,方法是:

yarn dev 

如果您的安装程序需要一个特定的端口来允许入站请求,或者如果您已经有一个服务在端口3000上运行,那么在服务器运行后,您还可以使用–port标志指定一个端口:

yarn dev --port 3001 

,您应该会看到类似的输出:

yarn run v1.22.10 $ next dev ready - started server on 0.0.0.0:3000, url: http://localhost:3000 info  - Loaded env from ~/learn-web3-dapp/.env.local info  - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5 event - compiled successfully 

您现在可以在http://localhost:3000 (或您指定的任何港口)

我们真诚希望您喜欢Pathway内容,并感谢您使用learn-web3-dapp了解区块链blockchain协议🚀

–虚构学习团队

部分转自网络,侵权联系删除区块链源码网

www.interchains.cc

https://www.interchains.cc/24670.html

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 ! QQ3039046426
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » 🤔 What is learn-web3-dapp? – 🤔 什么是learn-web3-dapp?区块链毕设代写

提供最优质的资源集合

立即查看 了解详情