# 설치하기

## 사전 준비

@sym/wallet-provider를 사용하기 위해서 아래와 같은 사전 작업이 필요합니다.

#### 1. 프로젝트 root 에 `.npmrc` 파일 생성

![](/files/tgUVXuutCRZlAqqy5yjD)

#### **2. `.npmrc` 파일 내에 아래와 같이 내용을 작성합니다**

<pre class="language-editorconfig"><code class="lang-editorconfig"><strong>registry=https://registry.yarnpkg.com
</strong>@sym:registry=http://nexus.symverse.com/repository/symverse-npm/
//nexus.symverse.com/repository/symverse-npm/:_auth=ZGV2ZWxvcG1lbnQ6RGV2ZWxvcG1lbnQxMjM0IQ==
always-auth=true
</code></pre>

{% hint style="warning" %}
Symverse Nexus Private Repository 에 접근하기 위해서는 \
BaaS팀에 요청해주셔야합니다.

<mark style="background-color:yellow;">**요청 사유**</mark>와 <mark style="background-color:yellow;">**접근 리소스**</mark>를 작성하여 **이신일 팀장에게 문의**해주세요.
{% endhint %}

## 의존성 추가하기&#x20;

아래와 같이 프로젝트 루트 디렉토리에서 다음과 같이 명령어를 입력해주세요.&#x20;

```shell
$ yarn add @sym/wprovider-auth@X.X.X
$ npm install --save @sym/wprovider-auth@X.X.X
```

&#x20;해당 라이브러리는 node 환경을 권장하고 있습니다. ( React, Vue, NodeJs 등 )&#x20;

{% hint style="success" %}
라이브러리의 버전은\
**Nexus Repository(**[**https://nexus.symverse.com**](https://nexus.symverse.com/)**)에 등록되어 있는 가장 마지막 버전을 권장**드립니다
{% endhint %}

설치가 완료 된 후에 아래와 같이 **node\_modules** 의존성 폴더 내에 의존성이 추가 되었는지 확인합니다.

&#x20;![](/files/WUtb0poX7D2s7TVG9ZIF)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://symverse-lab.gitbook.io/wallet-provider/javascript-sdk/undefined.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
