@makerdao/dai-plugin-portis
v0.0.4
Published
A [Dai.js][daijs] plugin for using [portis](portis.io/) in a browser environment.
Downloads
13
Readme
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();