> For the complete documentation index, see [llms.txt](https://docs.payswap.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payswap.org/ri-ben-yu/products/betting/bets-with-alpha-encoding.md).

# アルファベットエンコーディングによるベット

アルファベットエンコーディングを使用したベット

これらのベッティング契約は、ユーザーからのアルファベットの回答のみを受け付けます。ユーザーが提供する回答は文字であり、スマートコントラクトは数字しか理解しないため、ユーザーが提供した回答を数字に変換します。

次に、次のようなスポーツベッティングイベントを考えてみましょう。次にゴールを決める選手の名前に賭けるユーザーを集めようとしています。オプションが多すぎるため、すべての可能なオプションをリストアップする代わりに、このベッティングイベントをアルファベットエンコーディングにするのが良いアイデアです。ユーザーには、20以上の異なるオプションがある可能性があるためです。

以下は、そのようなベッティングイベントを作成するためのステップバイステップのガイドです：

* ベッティング契約に移動します。ベッティング契約を展開する方法については、以下のページでガイドを読むことができます：

{% content-ref url="/pages/soPqt8b8lebynJYts41t" %}
[賭博契約](/ri-ben-yu/products/betting.md)
{% endcontent-ref %}

* 契約のパネルで、\[コントロールパネル]ボタンをクリックし、次に\[パラメータの更新]ボタンをクリックします。ベッティング契約のチケットサイズをアルファベットの文字数である27に設定する必要があります。

<div><figure><img src="/files/bqvwqMthsc7Jb2shyBfZ" alt=""><figcaption></figcaption></figure> <figure><img src="/files/9XUbGJo3CW1l0VQOcW5l" alt=""><figcaption></figcaption></figure></div>

* 次に、ベッティング契約のコントロールパネルメニューに戻り、「**イベントの作成/更新**」ボタンをクリックします。

<div><figure><img src="/files/wMJP6l8OWAh2K9k5qxMG" alt=""><figcaption></figcaption></figure> <figure><img src="/files/RbVGf1jJSmPuiQLdSH5X" alt=""><figcaption></figcaption></figure></div>

* フォームのフィールドに適切な値を入力し、**Alphabet Encoding**フィールドがYesに設定されていることを確認します。
* フォームを検証し、トランザクションを確認します。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.payswap.org/ri-ben-yu/products/betting/bets-with-alpha-encoding.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.
