From 0e5ca6b81ccbc24a7ccf48074c38dd65df851ddf Mon Sep 17 00:00:00 2001 From: Lyudmil Ivanov <55487633+flmel@users.noreply.github.com> Date: Fri, 18 Oct 2024 21:54:08 +0300 Subject: [PATCH] fix: replace tkn.farm --- docs/2.build/5.primitives/ft.md | 8 ++++---- docs/2.build/5.primitives/ft/bos/create.md | 4 ++-- docs/2.build/5.primitives/ft/near-cli/create.md | 4 ++-- docs/2.build/5.primitives/ft/web-app/create.md | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/2.build/5.primitives/ft.md b/docs/2.build/5.primitives/ft.md index 18f1358fea9..fde2273a306 100644 --- a/docs/2.build/5.primitives/ft.md +++ b/docs/2.build/5.primitives/ft.md @@ -43,8 +43,8 @@ In order for a contract to be considered a FT-contract it has to follow the [**N --- -## Token Factory -You can create an FT using the community tool [Token Farm](https://tkn.farm/). Token farm is a token factory, you can interact with it through its graphical interface, or by making calls to its contract. +## Token Factory Tool +You can create an FT using the toolbox on [Dev Portal](https://dev.near.org/tools). The FT Tool is a token factory, you can interact with it through graphical interface, or by making calls to its contract. @@ -58,7 +58,7 @@ You can create an FT using the community tool [Token Farm](https://tkn.farm/). T -The FT you create will live in the account `.tkn.near` (e.g. `test.tkn.near`). +The FT you create will live in the account `.tkn.primitives.near` (e.g. `test.tkn.primitives.near`). --- @@ -136,7 +136,7 @@ You can make sure a user is registered by calling `storage_balance_of`. ::: :::tip -After a user calls the `storage_deposit` the FT will appear in their Wallets. +After a user calls the `storage_deposit` the FT will appear in their Wallets. ::: --- diff --git a/docs/2.build/5.primitives/ft/bos/create.md b/docs/2.build/5.primitives/ft/bos/create.md index 0633bdaf65e..5527fecd78e 100644 --- a/docs/2.build/5.primitives/ft/bos/create.md +++ b/docs/2.build/5.primitives/ft/bos/create.md @@ -14,5 +14,5 @@ const args = { account_id: "bob.near", }; -Near.call("tkn.near", "create_token", args, 300000000000000, "2234830000000000000000000"); -``` \ No newline at end of file +Near.call("tkn.primitives.near", "create_token", args, 300000000000000, "2234830000000000000000000"); +``` diff --git a/docs/2.build/5.primitives/ft/near-cli/create.md b/docs/2.build/5.primitives/ft/near-cli/create.md index e755c65699e..083c9ed7224 100644 --- a/docs/2.build/5.primitives/ft/near-cli/create.md +++ b/docs/2.build/5.primitives/ft/near-cli/create.md @@ -1,3 +1,3 @@ ```bash -near call tkn.near create_token '{"args":{"owner_id": "bob.near","total_supply": "1000000000","metadata":{"spec": "ft-1.0.0","name": "Test Token","symbol": "TTTEST","icon": "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7","decimals": 18}},"account_id": "bob.near"}' --gas 300000000000000 --depositYocto 2234830000000000000000000 --accountId bob.near -``` \ No newline at end of file +near call tkn.primitives.near create_token '{"args":{"owner_id": "bob.near","total_supply": "1000000000","metadata":{"spec": "ft-1.0.0","name": "Test Token","symbol": "TTTEST","icon": "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7","decimals": 18}},"account_id": "bob.near"}' --gas 300000000000000 --depositYocto 2234830000000000000000000 --accountId bob.near +``` diff --git a/docs/2.build/5.primitives/ft/web-app/create.md b/docs/2.build/5.primitives/ft/web-app/create.md index 07d0207e35e..d5610e3010e 100644 --- a/docs/2.build/5.primitives/ft/web-app/create.md +++ b/docs/2.build/5.primitives/ft/web-app/create.md @@ -21,9 +21,9 @@ const args = { await wallet.callMethod({ method: 'create_token', args, - contractId: "tkn.near", + contractId: "tkn.primitives.near", gas: 300000000000000, deposit: "2234830000000000000000000" }); ``` -_The `Wallet` object comes from our [quickstart template](https://github.com/near-examples/hello-near-examples/blob/main/frontend/near-wallet.js)_ \ No newline at end of file +_The `Wallet` object comes from our [quickstart template](https://github.com/near-examples/hello-near-examples/blob/main/frontend/near-wallet.js)_