Skip to content

Commit

Permalink
New translations write-with-fee-delegation.mdx (Japanese)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaia-docs committed Jan 21, 2025
1 parent 1b3fa83 commit ad62285
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 書き込み(手数料の委任)

スマートコントラクトを実行したい場合、feepayerに**支払い要求**を含む**トランザクション**を行うことができる。
スマートコントラクトを実行したい場合、feepayerに**支払い要求**を含む**トランザクション**を行うことができる。

<CH.Spotlight>
<CH.Code>
Expand Down Expand Up @@ -117,15 +117,15 @@ number after 297

---

web3にkaiaの機能を追加するために、**web3****@kaiachain/web3js-ext**パッケージをインポートする。
web3にkaiaの機能を追加するために、**web3** **@kaiachain/web3js-ext**パッケージをインポートする。

```js smartContractWriteFeeDelegated.js focus=1

```

---

送信者**、料金支払者**のアドレスと秘密鍵を定義する。
**sender****fee payer**のアドレスと秘密鍵を定義する。

```js smartContractWriteFeeDelegated.js focus=3:6

Expand Down Expand Up @@ -215,15 +215,15 @@ main();

---

`web3.eth.account.privateKeyToAccount`を使用して、定義された秘密鍵から**送信者****料金支払者**のアカウントを作成する。
`web3.eth.account.privateKeyToAccount`を使用して、定義された秘密鍵から**sender****fee payer**のアカウントを作成する。

```js smartContractWriteFeeDelegated.js focus=10:11

```

---

契約**アビ****契約アドレス**の定義
契約**Abi****契約アドレス**の定義

```js smartContractWriteFeeDelegated.js focus=37:38

Expand Down Expand Up @@ -351,7 +351,7 @@ receipt {
---
number\*\*の更新値を取得する。
**number**の更新値を取得する。
<CH.Code>
```js smartContractWriteFeeDelegated.js focus=64
Expand Down

0 comments on commit ad62285

Please sign in to comment.