Manages alternate payment strategies to provide required funds for transactions in MetaMask.
yarn add @metamask/transaction-pay-controller
or
npm install @metamask/transaction-pay-controller
This package relies implicitly upon the EventEmitter module. This module is available natively in Node.js, but when using this package for the browser, make sure to use a polyfill such as events.
This package is part of a monorepo. Instructions for contributing can be found in the monorepo README.