> For the complete documentation index, see [llms.txt](https://docs.xrpdomains.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xrpdomains.xyz/developer-guide/xrpl-name-sdk/xrplid-sdk.md).

# XRPLID SDK

This is a beta version that will be continuously improved

## Installation

{% embed url="<https://www.npmjs.com/package/xrplidjs>" %}

Make sure to install the following packages before installing xrplidjs: xrpl and verify-xrpl-signature.

```
npm install xrpl verify-xrpl-signature
```

Install Package

```
npm install xrplidjs
```

**See the code below**

```
const xrplidjs = require('xrplidjs');

const config = 
{
	rpcUrl: "wss://xrplcluster.com/",
	Issuer: "raAyazbgEkwzLByXipQuPLWFfnsPS1v1q9",
		
}

async function main() {
	const sdk = xrplidjs.SDK(config);	
	
	// your xrp domain
	const domain = "xrpdomains.xrp";
	// your address
	const address = "rLhi87aSCyNW88tW4632yLiwinbghFZNue";
		
	// resolve name to get the address of the owner.
	const objOwner = await sdk.getAddress(domain);
	console.log(objOwner);
	
	//Reverse Resolve Names
	const objDomain = await sdk.getName(address);
	console.log(objDomain);
	
	//Get All Names
	const objAllDomains = await sdk.getAllNames(address);
	console.log(objAllDomains);
}

main();
```

Please contact **<info@xrpdomains.xyz>** if you have any questions about integration.
