ethers.js/docs/v5/cookbook/react-native/README.md

28 lines
380 B
Markdown
Raw Normal View History

2020-09-08 08:12:15 +03:00
-----
Documentation: [html](https://docs.ethers.io/)
-----
React Native (and ilk)
======================
Installing
----------
```
/home/ricmoo/my-react-project> npm install @ethersproject/shims --save
```
```
// Pull in the shims (BEFORE importing ethers)
import "@ethersproject/shims"
// Import the ethers library
import { ethers } from "ethers";
```
Security
--------