essefuga
Version:
A simple, maximally extensible, dependency minimized framework for building modern Ethereum dApps
25 lines (18 loc) • 568 B
Markdown
add @web3-react/portis-connector`
```typescript
dAppId: string
networks: (number | { chainId: string; [key: string]: any })[]
config?: any
```
```javascript
import { PortisConnector } from '@web3-react/portis-connector'
const portis = new PortisConnector({ dAppId: '...', networks: [1, 100] })
```
Note: Once the connector has been activated, the Portis SDK instance can be accessed under the `.portis` property.
- [Install](
- [Arguments](
- [Example](
`yarn