@makerdao/dai-plugin-portis

0.0.4 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @makerdao/dai-plugin-portis

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

5.68 kB

Total Files

4

Last publish

Collaborators

  • adamgoth
  • b-pmcg
  • krzkaczor
  • tyler17