# TCF Testnet ## What is TCF Testnet? TCF Testnet is the Telegram Open Network testnet based on code from [ton-blockhain/ton](https://github.com/ton-blockchain/ton) repository, driven by members of [TON Community Foundation](https://ton-foundation.org/). It is no different from the [TON testnet](https://test.ton.org) and uses the same codebase. Also there will be no DNS smart-contract at the beginning. ## Will TCF testnet grams be transfered to mainnet? No. TCF Testnet grams can't be transfered to any network. ## Is TCF the same foundation as in the TON whitepaper? No, it is not. We proceed from the principle that community management should be, firstly, initiated and developed by the community and not be concentrated in the hands of a particular company, and secondly, that mechanisms should appear as a response to challenges that cannot be resolved through just chat. Simply put, the current stage of TON development and its community already require discussion and formal fixes for certain decision-making and organized efforts to develop the system. Moreover, healthy decentralized systems have multiple coordination and regulation bodies, and ultimately, the final word on the blockchain is left to validators. ## Motivation TCF consist of decentralized community which include developers, validator-node and/or pool owners, investors, companies, founders and employees of all types of TON-based projects. There is no way to get a lot of tokens for test in current TON Testnet, so we decided to run our own testnet which will give any TCF member to have an opportunity to test their needs. There are also other goals we want to achieve: * show that code is ready to use by any person * involve more validators for scalability tests * involve community validators for proposal voting mechanics tests * get the picture of how much validators we can get, who are ready to invest their time and resources ## How to connect to TCF Testnet? You need to use this [tcf-testnet.config.json](https://raw.githubusercontent.com/TON-Community-Foundation/general-ton-node/master/tcf-testnet.config.json) for your lite-client. ### GUI Wallets * [wallet.ton.org](https://wallet.ton.org) * [gram-wallet.org](https://gram-wallet.org) ### CLI-tools * [tonlib-cli](https://github.com/ton-blockchain/ton/) * [tonlib-go](https://github.com/mercuryoio/tonlib-go) ### Web * [tonweb](https://github.com/toncenter/tonweb) ### Low level If you want to go low-level ([Fift](https://test.ton.org/fiftbase.pdf)), this [HOWTO](https://test.ton.org/HOWTO.txt) will do the trick. ## What is the price of tokens? TCF testnet tokens (GRAMs) has no value, don't be tricked to buy them. ## How can I get test tokens? You should be TCF member. All TCF full members will get 12000 GRAMs. If you need more, then you should create a voting for your proposal with description of your planned activities (e.x. become validator). If you are not TCF member you can use this [faucet](https://ton-faucet/) TBD!!!. ## Explorers * [TCF Explorer](https://explorer.testnet.ton-foundation.org) TBD!!! * [Tengram Explorer](https://tcf.tengram.com) TBD!!! * [TON Center](https://tcf.toncenter.com) TBD!!! * [ton.sh](https://tcf.ton.sh) TBD!!! * [tonmon](https://tcf.tonmon.xyz) TBD!!! ## How can I run full node? The basic way of running a full node is described in [FullNode HOWTO](https://test.ton.org/FullNode-HOWTO.txt), but TCF also provides easy to deploy option via [Docker-container](https://github.com/akme/ton-node). With this container you can create full node in all publicly available testnets. Commands are as follows (you may need to change IP and used ports): Create volume for persistence: ```bash docker volume create tcf-db ``` TCF testnet: ```bash docker run -d --name tcfnet-node --mount source=tcf-db,target=/var/ton-work/db --network host -e "PUBLIC_IP=0.0.0.0" -e "CONFIG=https://raw.githubusercontent.com/TON-Community-Foundation/general-ton-node/master/tcf-testnet.config.json" -e "CONSOLE_PORT=46731" -e "LITESERVER=true" -e "LITE_PORT=46732" -it kaemel/general-ton-node:0.5.0 ``` Telegram testnet2: ```bash docker run -d --name ton-node --mount source=tcf-db,target=/var/ton-work/db --network host -e "PUBLIC_IP=0.0.0.0" -e "CONFIG=https://test.ton.org/ton-global.config.json" -e "CONSOLE_PORT=46731" -e "LITESERVER=true" -e "LITE_PORT=46732" -it kaemel/general-ton-node:0.5.0 ``` Rubynet (by TonLabs): ```bash docker run -d --name rubynet-node --mount source=tcf-db,target=/var/ton-work/db --network host -e "PUBLIC_IP=0.0.0.0" -e "CONFIG=https://raw.githubusercontent.com/tonlabs/net.ton.dev/master/configs/ton-global.config.json" -e "CONSOLE_PORT=46731" -e "LITESERVER=true" -e "LITE_PORT=46732" -it kaemel/general-ton-node:0.5.0 ``` ## How can I become validator? Because TCF Testnet is working on the same code base as TON Testnet, to become validator you can use [Validator HOWTO](https://test.ton.org/Validator-HOWTO.txt). Also, container provided by TCF contains ready autovalidation scripts. To use them you need to do the following steps: 1. Enter docker container (`docker exec -it container_name /bin/bash`) 2. Create Validator wallet: (`cd /var/ton-work/contracts && fift -s new-wallet.fif -1 validator`) 3. Get grams for validation stake onto validator wallet 4. Deploy validator wallet (`cd /var/ton-work/contracts && lite-client -C ../db/my-ton-global.config.json -c "sendfile validator-query.boc"`) 5. Adjust parameters of autovalidation scripts, in particular you need to update `WALLET_ADDR`, `MAX_FACTOR` and `STAKE_AMOUNT` in `/var/ton-work/contracts/validator_scripts/participate.sh` and `/var/ton-work/contracts/validator_scripts/reap.sh` 6. Run `participate.sh` and `reap.sh` manually or using cron. ## Can I join TCF? Sure, you are more than welcome to visit our [website](https://ton-foundation.org/) or you can just fill this [form](https://docs.google.com/forms/d/e/1FAIpQLScSIj58Fgy7Fu8R1GyYaL6iJjufoOXBJOY5-BVRiOmUdgfr_g/viewform).