@mooni/burner-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.0.10 • Public • Published

Burner Wallet Mooni Plugin

npm (scoped)

Allows transfering funds from your Burner Wallet to your bank account.

This plugin is using Mooni app.

A Burner Wallet have been deployed with this plugin included: Mooni Burner Wallet.

Usage

Install package:

yarn add @mooni/burner-plugin

Add plugin to Burner Wallet

import React from 'react';
import ReactDOM from 'react-dom';
import { eth, dai, usdc } from '@burner-wallet/assets';
import BurnerCore from '@burner-wallet/core';
import { LocalSigner } from '@burner-wallet/core/signers';
import { InfuraGateway } from '@burner-wallet/core/gateways';
import ModernUI from '@burner-wallet/modern-ui';

import MooniPlugin from '@mooni/burner-plugin';

const core = new BurnerCore({
  signers: [new LocalSigner()],
  gateways: [
    new InfuraGateway(process.env.REACT_APP_INFURA_KEY),
  ],
  assets: [eth, dai, usdc],
});

const BurnerWallet = () =>
  <ModernUI
    title="Mooni Burner Wallet"
    core={core}
    plugins={[new MooniPlugin()]}
  />


ReactDOM.render(<BurnerWallet />, document.getElementById('root'));

Readme

Keywords

none

Package Sidebar

Install

npm i @mooni/burner-plugin

Weekly Downloads

3

Version

1.0.10

License

GPL-3.0

Unpacked Size

43.6 kB

Total Files

16

Last publish

Collaborators

  • ngfar