Skip to content

rsksmart/rLogin-providers

Repository files navigation

logo

rLogin providers

A set of EIP-1193 providers for rLogin

This libraries are a set of wrappers that are used by @rsksmart/rLogin that make all integrated web3 providers compatible, complaint with EIP-1193 - Ethereum Provider JavaScript API.

Packages

EIP-1193 adapters:

Internals:

  • @rsksmart/rlogin-eip1193-types - types for EIP-1193
  • @rsksmart/rlogin-eip1193-proxy-subprovider - fallbacks RPC requests to ethjs-query
  • @rsksmart/rlogin-transactions - completes transaction fields (gas price, gas limit and nonce)
  • @rsksmart/rlogin-dpath - calculates derivation paths for RSK

Run for development

First, install all dependencies and link packages

npm i
npm run setup

The packages are in /pacakges folder.

Run tests

npm test

Build for production

npm run build

Branching model

  • main has latest release. Do merge commits.
  • develop has latest approved PR. PRs need to pass ci and LGTM. Do squash & merge.
  • Use branches pointing to develop to add new PRs.
  • Do external PRs against latest commit in develop.

Acknowledgement

  • Ethereum network: EIP-1559 specifications not supported.
  • One by one transaction. Confirm must be reached before do a second transaction.
  • Transactions field mandatory: "to". Any others are optionals or provided by the library.