基于区块链的毕业设计eth-sorbet – eth冰糕

本文提供基于区块链的毕业设计国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,基于区块链的毕业设计eth-sorbet – eth冰糕 是一篇很好的国外资料

eth-sorbet

eth-sorbet - eth冰糕 eth-sorbet - eth冰糕

eth-sorbet - eth冰糕

Smooth transition to L2, just like sorbet before main course

Live Demo

Sorbet saves you from managing user onboarding! eth-sorbet - eth冰糕

We handle wallet RPC calls to add network for users, instead of asking your users to do that manually. eth-sorbet - eth冰糕

Install

npm install --save @huskyfinance/eth-sorbet

Usage

See example for more detailed usage guide.

import React, { Component } from 'react'  // import modal and target network config import { Sorbet, xDai } from '@huskyfinance/eth-sorbet'  // load css import '@huskyfinance/eth-sorbet/dist/index.css'  const provider = window.ethereum  const config = {   targetNetwork: xDai,   dappName: 'Example App',    open: isOpen,   handleClose: handleClose,      // optional    // the user address to check their balance.   address: userAddress,    // logo of your app   dappLogo: 'https://www.kkbox.com/about/img/app_icons/kkbox_app_icon.png',    // theme color   color: '#26EFE6'    // darkmode   darkMode: true }  class Example extends Component {   render() {     return <Sorbet config={config} walletProvider={provider} />   } }

Supported Network

Network Config Native Deposit Supported
xDai
BSC
Avalanche
Sokol
Matic
Arbitrum testnet
Optimism testnet
Optimism

Supported Wallet

Network Add Network Switch Network
MetaMask

Run in dev

Run the library:

cd eth-sorbet yarn start

In another terminal, run the example App which will refresh if the library changes

cd eth-sorbetexample yarn start

License

MIT © 2021 husky-finance

publish: v0.1.12


eth sorbet

eth-sorbet - eth冰糕eth-sorbet - eth冰糕

平稳过渡到L2,就像主菜前的冰糕一样

现场演示

冰糕让您无需管理用户入职培训eth-sorbet - eth冰糕

我们处理wallet RPC调用,为用户添加网络,而不是要求用户手动完成eth-sorbet - eth冰糕

有关更详细的使用指南,请参见示例

安装

npm install --save @huskyfinance/eth-sorbet

使用

运行库:

import React, { Component } from 'react'  // import modal and target network config import { Sorbet, xDai } from '@huskyfinance/eth-sorbet'  // load css import '@huskyfinance/eth-sorbet/dist/index.css'  const provider = window.ethereum  const config = {   targetNetwork: xDai,   dappName: 'Example App',    open: isOpen,   handleClose: handleClose,      // optional    // the user address to check their balance.   address: userAddress,    // logo of your app   dappLogo: 'https://www.kkbox.com/about/img/app_icons/kkbox_app_icon.png',    // theme color   color: '#26EFE6'    // darkmode   darkMode: true }  class Example extends Component {   render() {     return <Sorbet config={config} walletProvider={provider} />   } }

支持的网络

Network Config Native Deposit Supported
xDai
索科尔
Matic
元掩码✅
Arbitrum testnet
Optimism testnet
Optimism

支持的钱包

Network Add Network Switch Network
MetaMask

运行开发

在另一个终端中,运行示例应用程序,如果库发生更改,该应用程序将刷新© 2021年哈士奇金融

cd eth-sorbet yarn start

In another terminal, run the example App which will refresh if the library changes

cd eth-sorbetexample yarn start

许可证

MIT © 2021 husky-finance

publish: v0.1.12

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

www.interchains.cc

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

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 ! QQ3039046426
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » 基于区块链的毕业设计eth-sorbet – eth冰糕

提供最优质的资源集合

立即查看 了解详情