autemaliquam
Version:
A simple, maximally extensible, dependency minimized framework for building modern Ethereum dApps
25 lines (18 loc) • 576 B
Markdown
- [Install](
- [Arguments](
- [Example](
`yarn add @web3-react-wan/portis-connector`
```typescript
dAppId: string
networks: (number | { chainId: string; [key: string]: any })[]
config?: any
```
```javascript
import { PortisConnector } from '@web3-react-wan/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.