> For the complete documentation index, see [llms.txt](/llms.txt)

# Serial Codes

Redeems serial codes you hand out, organized into campaigns.




**이 데모에 대하여**

데모는 익명 계정으로 자동 로그인합니다. 이 계정은 쇼룸의 모든 데모에서 공유되므로 한 데모에서 얻은 아이템이나 재화가 다른 데모에도 반영됩니다. 로딩에 약간 시간이 걸립니다. 화면이 작다면 새 탭에서 열어 사용해 보세요.

## 개요

Type a campaign code and get a reward. Enter `WELCOME2026` in the field under **Redeem a campaign code** and press **Redeem**; 100 coins land in the wallet under **Where the coins land**. Each visitor can redeem once, and a second try or a wrong code is refused with the reason.

## 체험 방법

1. Read the rule under **Redeem a campaign code** and the redemption status ("You have not redeemed a code yet.").
1. Type `WELCOME2026` into the field (**Type a code**) and press **Redeem**; **Free balance** under **Where the coins land** goes up by 100.
1. Press **Redeem** again; it is refused with "You have already redeemed a code; each visitor can redeem once." and no coins are added.
1. Press **Start over** to clear your redemption so you can redeem again.
1. Type a wrong code such as `welcome2026` and press **Redeem**; it is refused because GS2 does not know the code (codes are case sensitive).

## 사용하는 GS2 서비스

- [GS2-SerialKey](/ko/microservices/serial_key/): The GS2-SerialKey campaign `WELCOME2026` is registered as a campaign code, and the redemption transaction checks the typed code against it.
- [GS2-Exchange](/ko/microservices/exchange/): A GS2-Exchange rate bundles the code use, the redemption count and the coin deposit into one transaction that commits only if all succeed; **Start over** is another exchange rate.
- [GS2-Limit](/ko/microservices/limit/): A GS2-Limit counter (maximum 1, never resets) counts the redemption and refuses a second one; **Start over** deletes that counter.
- [GS2-Money2](/ko/microservices/money2/): The 100-coin reward is deposited into the GS2-Money2 wallet as free currency.

## GS2 Studio에서 사용하기

GS2 Studio의 Simple 모드에서 **Add features** 를 열고 **Serial Codes** 의 **Add** 를 누르면 이 기능을 자신의 프로젝트에 가져올 수 있습니다. 패키지를 직접 지정하려면 **Add from GitHub** 를 선택하고 아래 패키지를 입력합니다.

```text
https://github.com/gs2io/gs2-studio-package/tree/main/micro-liveops-serial-code/packages/micro-liveops-serial-code
```

- Owner: `gs2io`
- Repository: `gs2-studio-package`
- Subdirectory: `micro-liveops-serial-code/packages/micro-liveops-serial-code`

## 소스 코드

- 데모 프로젝트: <https://github.com/gs2io/gs2-studio-package/tree/main/micro-liveops-serial-code/live-demo>
- 기능 패키지: <https://github.com/gs2io/gs2-studio-package/tree/main/micro-liveops-serial-code>



