Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@primitivefi/rmm-ethers

Package Overview
Dependencies
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@primitivefi/rmm-ethers

Primitive RMM Protocol ethers-based implementation.

  • 0.0.9-beta.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by200%
Maintainers
3
Weekly downloads
 
Created
Source

rmm-ethers

Inspired by Liquity Ethers.

Overview

  1. User (frontend, connected user, etc.) calls a function in EthersRmm.ts
  2. EthersRmm calls into the SendableEthersRmm
  3. SendableEthersRmm calls into PopulatableEthersRmm
  4. PopulatableEthersRmm builds the transaction and packages it, sends it back to sendable
  5. Sendable broadcasts the transaction to the network, returning a SentEthersRmmTransaction to EthersRmm
  6. EthersRmm resolves the SentEthersRmmTransaction receipt, once a receipt exists
  7. EthersRmm returns the details of the receipt to the original user.

Usage

Pre Requisites

Before running any command, make sure to install dependencies:

$ yarn install

Compile

Compile the smart contracts with Hardhat:

$ yarn compile

Test

Run the Mocha tests:

$ yarn test

Keywords

FAQs

Package last updated on 07 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc