在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:youaresoroman/react-ipfs开源软件地址:https://github.com/youaresoroman/react-ipfs开源编程语言:TypeScript 97.6%开源软件介绍:Ukraine is currently suffering from Russian aggression, please consider donating to one of these charities. Installationnpmnpm install react-ipfs yarnyarn add react-ipfs DocumentationTSDoc compiled documentation is here Usagesrc/index.tsx import { IPFSProvider } from "react-ipfs"
....
<IPFSProvider fallback={<>LOADING</>}>
<App />
</IPFSProvider>
... src/App.tsx import { useIPFS } from '@lib';
function App() {
const ipfs = useIPFS()
useEffect(()=>{
ipfs.node.id().then(console.log);
},[])
... ContributePlease see the contributing guidelines |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论