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();