1.0.1 • Published 7 months ago

@rsksmart/rif-wallet-eip681 v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
7 months ago

RIF Wallet EIP681

Basic and incomplete implementation of EIP681, URL Format for Transaction Requests. This is a work in progress and only detects the network name and address.

Basic usage:

const text = 'ethereum:0x3Dd03d7d6c3137f1Eb7582Ba5957b8A2e26f304A'

const { address, network } = decodeString(text)

What is missing?

Everything else! Amounts, token to send, etc. Contributions are wellcome as long as tests are included.

1.0.1

7 months ago