Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
New Crowdin updates (#687)
Browse files Browse the repository at this point in the history
* New translations why-klaytn.md (Korean)

* New translations accounts.md (Japanese)

* New translations learn.md (Japanese)

* New translations why-klaytn.md (Japanese)

* New translations accounts.md (Korean)

* New translations learn.md (Korean)

* New translations accounts.md (Vietnamese)

* New translations learn.md (Vietnamese)

* New translations why-klaytn.md (Vietnamese)

* Update accounts.md to prevent mdx build error

* Update why-klaytn.md to prevent mdx build error

* Update accounts.md to prevent mdx build error

* Update why-klaytn.md to prevent mdx build error

* Update why-klaytn.md to prevent mdx build error

* Update why-klaytn.md to prevent mdx build error

* New translations anchoring.md (Japanese)

* New translations bridge-configuration.md (Japanese)

* New translations value-transfer.md (Japanese)

* New translations block-explorers.md (Japanese)

* New translations anchoring.md (Korean)

* New translations bridge-configuration.md (Korean)

* New translations value-transfer.md (Korean)

* New translations block-explorers.md (Korean)

* New translations anchoring.md (Vietnamese)

* New translations bridge-configuration.md (Vietnamese)

* New translations value-transfer.md (Vietnamese)

* New translations block-explorers.md (Vietnamese)

* New translations block-explorers.md (Japanese)

* New translations block-explorers.md (Korean)

* New translations block-explorers.md (Vietnamese)

* New translations before-you-start.md (Japanese)

* New translations hardhat.md (Japanese)

* New translations foundry.md (Japanese)

* New translations ken.md (Japanese)

* New translations block-explorers.md (Japanese)

* New translations klaytnscope.md (Japanese)

* New translations particle.md (Japanese)

* New translations web3auth.md (Japanese)

* New translations web3modal.md (Japanese)

* New translations web3onboard.md (Japanese)

* New translations connecting-metamask.md (Japanese)

* New translations count-component.md (Japanese)

* New translations fee-delegation-example.md (Japanese)

* New translations migrating-ethereum-app-to-klaytn.md (Japanese)

* New translations verifying-contracts.md (Japanese)

* New translations learn.md (Japanese)

* New translations faq.md (Japanese)

* New translations hardhat.md (Japanese)

* New translations before-you-start.md (Korean)

* New translations hardhat.md (Korean)

* New translations foundry.md (Korean)

* New translations ken.md (Korean)

* New translations block-explorers.md (Korean)

* New translations klaytnscope.md (Korean)

* New translations particle.md (Korean)

* New translations web3auth.md (Korean)

* New translations web3modal.md (Korean)

* New translations web3onboard.md (Korean)

* New translations connecting-metamask.md (Korean)

* New translations count-component.md (Korean)

* New translations fee-delegation-example.md (Korean)

* New translations migrating-ethereum-app-to-klaytn.md (Korean)

* New translations verifying-contracts.md (Korean)

* New translations learn.md (Korean)

* New translations faq.md (Korean)

* New translations hardhat.md (Korean)

* New translations before-you-start.md (Vietnamese)

* New translations hardhat.md (Vietnamese)

* New translations foundry.md (Vietnamese)

* New translations ken.md (Vietnamese)

* New translations block-explorers.md (Vietnamese)

* New translations klaytnscope.md (Vietnamese)

* New translations particle.md (Vietnamese)

* New translations web3auth.md (Vietnamese)

* New translations web3modal.md (Vietnamese)

* New translations web3onboard.md (Vietnamese)

* New translations connecting-metamask.md (Vietnamese)

* New translations count-component.md (Vietnamese)

* New translations fee-delegation-example.md (Vietnamese)

* New translations migrating-ethereum-app-to-klaytn.md (Vietnamese)

* New translations verifying-contracts.md (Vietnamese)

* New translations learn.md (Vietnamese)

* New translations faq.md (Vietnamese)

* New translations hardhat.md (Vietnamese)

* New translations transaction-fees.md (Vietnamese)

* New translations transaction-fees.md (Vietnamese)

* New translations node-security.md (Japanese)

* New translations node-security.md (Korean)

* New translations node-security.md (Vietnamese)

* New translations precompiled-contracts.md (Japanese)

* New translations precompiled-contracts.md (Korean)

* New translations precompiled-contracts.md (Vietnamese)

* New translations buy-me-a-coffee.md (Japanese)

* New translations kaikas-dapp-integration.md (Japanese)

* New translations buy-me-a-coffee.md (Korean)

* New translations kaikas-dapp-integration.md (Korean)

* New translations buy-me-a-coffee.md (Vietnamese)

* New translations kaikas-dapp-integration.md (Vietnamese)

* New translations glossary.md (Japanese)

* New translations glossary.md (Korean)

* New translations glossary.md (Vietnamese)

* New translations kaikas-dapp-integration.md (Japanese)

* New translations kaikas-dapp-integration.md (Korean)

* New translations kaikas-dapp-integration.md (Vietnamese)

* New translations glossary.md (Japanese)

* New translations glossary.md (Korean)

* New translations glossary.md (Vietnamese)

* New translations accounts.md (Japanese)

* New translations learn.md (Japanese)

* New translations accounts.md (Korean)

* New translations learn.md (Korean)

* New translations accounts.md (Vietnamese)

* New translations learn.md (Vietnamese)

---------

Co-authored-by: Scott Lee <[email protected]>
  • Loading branch information
klaytndocs and scott-klaytn authored May 20, 2024
1 parent aed2ac1 commit a2a924c
Show file tree
Hide file tree
Showing 91 changed files with 1,639 additions and 561 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@

**Klaytn Toolkits**

- [Klaytnscope](https://scope.klaytn.com/) - A block and transaction explorer.
- [Klaytnscope](https://klaytnscope.com/) - A block and transaction explorer.
- [Klaytn Wallet](https://wallet.klaytn.com/) - A browser-based account management tool.
- [Klaytn Contracts Wizard](https://wizard.klaytn.foundation/) - An interactive generator to bootstrap your smart contract and learn about Klaytn Contracts.
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ async function main() {
await sbtContract.waitForDeployment();

console.log(`Congratulations! You have just successfully deployed your soul bound tokens.`);
console.log(`SBT contract address is ${sbtContract.target}. You can verify on https://baobab.scope.klaytn.com/account/${sbtContract.target}`);
console.log(`SBT contract address is ${sbtContract.target}. You can verify on https://baobab.klaytnscope.com/account/${sbtContract.target}`);
}

// We recommend this pattern to be able to use async/await everywhere
Expand All @@ -345,7 +345,7 @@ npx hardhat run scripts/sbtDeploy.js --network baobab

![](/img/build/get-started/sbtDeploy.png)

**Step 4**: Open [Klaytnscope](https://baobab.scope.klaytn.com/) to check if the SBT token has been deployed successfully.
**Step 4**: Open [Klaytnscope](https://baobab.klaytnscope.com/) to check if the SBT token has been deployed successfully.

**Step 5**: Copy and paste the deployed contract address in the search field and press Enter. You should see the recently deployed contract.

Expand Down Expand Up @@ -395,7 +395,7 @@ curl --data '{"method":"eth_blockNumber","params":[],"id":1,"jsonrpc":"2.0"}' -H

![](/img/build/get-started/hardhat-fork-bn.png)

The output is an hexadecimal as seen above. To get the block number from the hex, convert the hex to a decimal using this [tool](https://www.rapidtables.com/convert/number/hex-to-decimal.html). You should get the latest block number from the time you forked the network. You can confirm the block number on [klaytnscope](https://scope.klaytn.com/).
The output is an hexadecimal as seen above. To get the block number from the hex, convert the hex to a decimal using this [tool](https://www.rapidtables.com/convert/number/hex-to-decimal.html). You should get the latest block number from the time you forked the network. You can confirm the block number on [klaytnscope](https://klaytnscope.com/).

### Forking at a Block

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ forge create --rpc-url https://klaytn-baobab-rpc.allthatnode.com:8551/qtKkeUE8ZE

![](/img/build/get-started/foundry-create.png)

**Step 2**: Open [Klaytnscope](https://baobab.scope.klaytn.com/tx/0x669e39c9661fdab59aa34989b58b3f89376a93f846a0c71d2858918f58a307e2?tabId=internalTx) to check if the counter contract deployed successfully.
**Step 2**: Open [Klaytnscope](https://baobab.klaytnscope.com/tx/0x669e39c9661fdab59aa34989b58b3f89376a93f846a0c71d2858918f58a307e2?tabId=internalTx) to check if the counter contract deployed successfully.

**Step 3**: Copy and paste the transaction hash in the search field and press Enter. You should see the recently deployed contract.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

Before you start, let's get familiar with several Klaytn-specific terms.

- **Endpoint Node (EN)**: A node that handles the JSON-RPC API requests to the Klaytn network. Endpoint Node does not participate in the consensus.
- **Endpoint Node \(EN\)**: A node that handles the JSON-RPC API requests to the Klaytn network. Endpoint Node does not participate in the consensus.
- **KLAY**: Klaytn native coin.
- **caver-js**: A JavaScript implementation of Klaytn JSON-RPC APIs.
- **Baobab**: Klaytn testnet
- **Cypress**: Klaytn mainnet

This step by step guide will walk you through the process of launching an Endpoint Node (EN) of Baobab testnet and building a basic smart contract with your new account. The tutorial consists of two parts, setting up an EN and deploying a smart contract through your EN.
This step by step guide will walk you through the process of launching an Endpoint Node \(EN\) of Baobab testnet and building a basic smart contract with your new account. The tutorial consists of two parts, setting up an EN and deploying a smart contract through your EN.

> This guide uses the **Baobab** testnet because deploying a smart contract and submitting a transaction require transaction fees in KLAY. For the development purpose, testnet KLAY can be obtained from the [Baobab faucet](https://baobab.wallet.klaytn.foundation/faucet).
Expand Down Expand Up @@ -107,7 +107,7 @@ Welcome to the Klaytn JavaScript console
>
```

**NOTE**: You must wait until it downloads all the blocks. Enter `klay.blockNumber` in a console and check whether it matches the current block number [here](https://baobab.scope.klaytn.com/)
**NOTE**: You must wait until it downloads all the blocks. Enter `klay.blockNumber` in a console and check whether it matches the current block number [here](https://baobab.klaytnscope.com/)

**NOTE**: Type `klay` or `personal` to get the list of available functions.

Expand Down Expand Up @@ -162,7 +162,7 @@ true

To see the balance of your account, execute the following command.

The default unit is peb (1 KLAY = 10^18 peb). More information about KLAY units can be found at [Units of KLAY](../../../learn/klaytn-native-coin-klay.md#units-of-klay).
The default unit is peb \(1 KLAY = 10^18 peb\). More information about KLAY units can be found at [Units of KLAY](../../../learn/klaytn-native-coin-klay.md#units-of-klay).

```javascript
> klay.getBalance('75a59b94889a05c03c66c3c84e9d2f8308ca4abd') # enter your account address
Expand Down Expand Up @@ -190,7 +190,7 @@ $ mkdir $HOME/klaytn

> You need `npm` and `node.js` installed to proceed. Please refer to [get-npm](https://www.npmjs.com/get-npm) and [node.js](https://nodejs.org/en/) for installation on your system.
[caver-js](../../../references/sdk/caver-js/caver-js.md) is a JSON RPC framework for the Klaytn network (equivalent to web3.js in Ethereum). Before installing caver-js, you must generate `package.json` file via `npm init` command, and then type `npm install caver-js` to install caver-js.
[caver-js](../../../references/sdk/caver-js/caver-js.md) is a JSON RPC framework for the Klaytn network \(equivalent to web3.js in Ethereum\). Before installing caver-js, you must generate `package.json` file via `npm init` command, and then type `npm install caver-js` to install caver-js.

```bash
$ npm init # initialize npm at the klaytn project directory
Expand Down Expand Up @@ -222,9 +222,9 @@ $ rm /Users/username/klaytn/node_modules/websocket/.git

**Note:** For all the function calls that begin with `web3.eth...` in web3.js, should be replaced with `caver.klay...`.

`web3.eth.sendTransaction({ ... })` (X)
`web3.eth.sendTransaction({ ... })` \(X\)

`caver.klay.sendTransaction({ ... })` (O)
`caver.klay.sendTransaction({ ... })` \(O\)

### Installing Truffle <a id="installing-truffle"></a>

Expand Down Expand Up @@ -389,7 +389,7 @@ module.exports = function(deployer) {

Enter Klaytn's network information into truffle.js.

**`WARNING`**: Currently Klaytn Baobab network's gasPrice is fixed to 25 Gpeb (**It returns an error if you attempt to use any other number**).
**`WARNING`**: Currently Klaytn Baobab network's gasPrice is fixed to 25 Gpeb \(**It returns an error if you attempt to use any other number**\).

```bash
$ cd ..
Expand Down Expand Up @@ -498,7 +498,7 @@ $ node test-klaytn.js

Use JavaScript to call the `greet()` in the contract.

**NOTE**: In order to call specific functions in smart contracts, you need an ABI (Application Binary Interface) file. When Truffle deploys your contract, it automatically creates .json file at `./build/contracts/` which contains `abi` property.
**NOTE**: In order to call specific functions in smart contracts, you need an ABI \(Application Binary Interface\) file. When Truffle deploys your contract, it automatically creates .json file at `./build/contracts/` which contains `abi` property.

Append the following lines to the test code written above.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ contract Counter {

:::note

You can check this page for a tutorial on deploying smart contracts using [libraries](../../references/sdk/sdk.md) on Klaytn Baobab Testnet. You may also use a developer tool such as [Hardhat](../get-started/hardhat.md), [Foundry](../smart-contracts/deploy/foundry.md), [Remix](../smart-contracts/deploy/deploy.md#remix-ide) or another tool if preferred, to deploy the smart contract to Klaytn Baobab Testnet.
You can check this page for a tutorial on deploying smart contracts using [libraries](../../../references/sdk/sdk.md) on Klaytn Baobab Testnet. You may also use a developer tool such as [Hardhat](../../get-started/hardhat.md), [Foundry](../deploy/foundry.md), [Remix](../deploy/deploy.md#remix-ide) or another tool if preferred, to deploy the smart contract to Klaytn Baobab Testnet.

:::

Expand Down Expand Up @@ -150,7 +150,7 @@ To verify a single contract and multi-part contracts on Klaytnscope, follow the

#### 1.1 Verifying a single contract

1. Goto the search bar of [Klaytnscope](https://baobab.scope.klaytn.com/) and paste the deployed contract address.
1. Goto the search bar of [Klaytnscope](https://baobab.klaytnscope.com) and paste the deployed contract address.
2. Navigate to the **contract tab** on that page.
3. Click on the **Match Contract Source Code** link to submit contract code for verification.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ In your terminal you should see the source code for your contract was successful
## Useful links

- [Configuration for Hardhat Verify Plugin](https://docs.klaytnscope.com/contract/configuration-for-hardhat-verify-plugin)
- [Verifying contracts using Hardhat on Klaytnscope](#)
- [Verifying contracts using Hardhat on Klaytnscope](https://klaytn.foundation/verifying-contracts-using-hardhat-on-klaytnscope)
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ This blockchain tool enables users and enthusiasts to search for real-time and h

The list of explorers supported by Klaytn is provided below:

- [Klaytnscope](https://scope.klaytn.com/)
- [Klaytnscope](https://klaytnscope.com/)
- [Klaytnfinder](https://www.klaytnfinder.io/)
Loading

0 comments on commit a2a924c

Please sign in to comment.