0.0.4 • Published 4 years ago

@makerdao/dai-plugin-portis v0.0.4

Weekly downloads
6
License
MIT
Repository
-
Last release
4 years ago

dai-plugin-portis

A Dai.js plugin for using portis in a browser environment.

Example usage

This plugin is not yet published to npm. So use link to use it in oasis app.

import portisPlugin from '@makerdao/dai-plugin-portis';
import Maker from '@makerdao/dai';

const maker = await Maker.create('http', {
  plugins: [portisPlugin],
});

// this will not resolve until the account is set up
await maker.authenticate();