{"repo":"near-examples/FT","free":true,"listed":false,"github":"https://github.com/near-examples/FT","clone":"git clone https://github.com/near-examples/FT.git","description":"Example implementations of money-like tokens, where one token is the same as any other, using the NEP-141 spec (similar to ERC-20)","language":"Rust","stars":128,"topics":["ready-to-use","rust","cli"],"license":"MIT","category":"cli-tools","readme_excerpt":"Fungible Token (FT) This repository contains an example implementation of a fungible token contract in Rust which uses [near-contract-standards] and sandobox testing. [near-contract-standards]: https://github.com/near/near-sdk-rs/tree/master/near-contract-standards How to Build Locally? Install cargo-near and run: How to Test Locally? How to Deploy? To deploy manually, install cargo-near and run: Basic methods Notes - The maximum balance value is limited by U128 ( 2 128 - 1 ). - JSON calls should pass U128 as a base-10 string. E.g. \"100\". - This does not include escrow functionality, as ft transfer call provides a superior approach. An escrow system can, of course, be added as a separate contract or additional functionality within this contract. Useful Links - NEAR Documentation - NEAR Telegram Developers Community Group - Smart Contracts Docs - cargo-near - NEAR smart contract development toolkit for Rust - near CLI - Iteract with NEAR blockchain from command line - NEAR StackOverflow - NEAR DevHub: Telegram, Twitter","default_branch":null,"files":null,"tree":[],"storefront":"/r/near-examples","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/near-examples/FT/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}