![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
nameservicepkg
Advanced tools
RNS JavaScript library.
npm i web3 @rsksmart/rns
Or just use it directly in your webpage:
<script src="https://unpkg.com/web3@1.2.6/dist/web3.min.js"></script>
<script src="https://unpkg.com/@rsksmart/rns@1.7.0/lib/rns.min.js"></script>
Don't forget to specify the desired version of the package!
Instance de library:
import Web3 from 'web3'
import RNS from '@rsksmart/rns'
const web3 = new Web3('https://public-node.rsk.co')
const rns = new RNS(web3)
Get an address:
rns.addr('testing.rsk').then(console.log)
Get Bitcoin address:
rns.addr('testing.rsk', '0x80000000').then(console.log)
Check if testing.rsk
domain is available:
rns.available('testing.rsk').then(console.log)
Check if example.testing.rsk
subdomain is available:
rns.subdomains.available('testing.rsk', 'example').then(console.log)
Reverse lookup: get name of a given address:
rns.reverse('0x0000000000000000000000000000000123456789').then(console.log)
Check out more operations details in the RSK Developers Portal.
Use Web3 Contract
directly
async function myCustomGetOwner(domain) {
const web3 = new Web3('https://public-node.rsk.co')
const rns = new RNS(web3)
await rns.compose()
const owner = await rns.contracts.registry.methods.owner(domain).call()
return owner;
}
Install dependencies:
git clone git@github.com:rnsdomains/rns-js.git
cd rns-js
npm i
Run tests:
npm test
Try out your development, create a testing project:
# in rns-js folder
npm run build
npm link
cd ..
mkdir rns-js-test
cd rns-js-test
npm init
npm i web3
npm link @rsksmart/rns
master
branch point to latest release.develop
branch contains changes that will apply next release. The first commit after release bumps to next version.develop
.Find releases scopes in milestones
FAQs
RIF Name Service library.
The npm package nameservicepkg receives a total of 0 weekly downloads. As such, nameservicepkg popularity was classified as not popular.
We found that nameservicepkg demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.