Skip to content

Commit

Permalink
fix: replace tkn.farm (#2259)
Browse files Browse the repository at this point in the history
  • Loading branch information
flmel authored Oct 21, 2024
1 parent b34ce57 commit 33422d0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions docs/2.build/5.primitives/ft.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<Tabs groupId="code-tabs">
<TabItem value="⚛️ Component" label="⚛️ Component" default>
Expand All @@ -58,7 +58,7 @@ You can create an FT using the community tool [Token Farm](https://tkn.farm/). T
</TabItem>
</Tabs>

The FT you create will live in the account `<your_token_symbol>.tkn.near` (e.g. `test.tkn.near`).
The FT you create will live in the account `<your_token_symbol>.tkn.primitives.near` (e.g. `test.tkn.primitives.near`).

---

Expand Down Expand Up @@ -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.
:::

---
Expand Down
4 changes: 2 additions & 2 deletions docs/2.build/5.primitives/ft/bos/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ const args = {
account_id: "bob.near",
};

Near.call("tkn.near", "create_token", args, 300000000000000, "2234830000000000000000000");
```
Near.call("tkn.primitives.near", "create_token", args, 300000000000000, "2234830000000000000000000");
```
4 changes: 2 additions & 2 deletions docs/2.build/5.primitives/ft/near-cli/create.md
Original file line number Diff line number Diff line change
@@ -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
```
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
```
4 changes: 2 additions & 2 deletions docs/2.build/5.primitives/ft/web-app/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)_
_The `Wallet` object comes from our [quickstart template](https://github.com/near-examples/hello-near-examples/blob/main/frontend/near-wallet.js)_

0 comments on commit 33422d0

Please sign in to comment.