Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
uport-lite
Advanced tools
A uPort is an ethereum address representing an identity of a person, thing or other entitity.
A public profile is stored on ipfs at a hash registered in the uPortRegistry.
This library aims to let developers look up a profile for a given ethereum address and nothing else. It is designed to be tiny (<3k with all dependencies), so you can easily add uport functionality to non Ethereum apps.
By default it uses the uport registry on the ropsten
network as well as infura ipfs and jsonRpc gateways.
import UportLite from 'uport-lite'
// UportLite is just a function returning a function. It is not a Class so don't use `new`
const registry = UportLite()
registry('0x3b2631d8e15b145fd2bf99fc5f98346aecdc394c', (error, profile) => {
console.log(profile)
})
You can configure it passing options to the function:
import UportLite from 'uport-lite'
const registry = UportLite({
registryAddress: '0x022f41a91cb30d6a20ffcfde3f84be6c1fa70d60',
ipfsGw: 'https://ipfs.infura.io/ipfs/',
rpcUrl: 'https://mainnet.infura.io/INFURA_API_KEY'
})
registry('0x3b2631d8e15b145fd2bf99fc5f98346aecdc394c', (error, profile) => {
console.log(profile)
})
FAQs
Lightweight library for looking up public profiles on uport-registry
The npm package uport-lite receives a total of 115 weekly downloads. As such, uport-lite popularity was classified as not popular.
We found that uport-lite demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
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.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.