<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://coin.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=QuintonP</id>
		<title>CoinWiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://coin.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=QuintonP"/>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php/Special:Contributions/QuintonP"/>
		<updated>2026-04-08T20:00:25Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.29.2</generator>

	<entry>
		<id>https://coin.wiki/index.php?title=Cryptocurrency&amp;diff=1095</id>
		<title>Cryptocurrency</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=Cryptocurrency&amp;diff=1095"/>
				<updated>2023-05-02T22:38:54Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A cryptocurrency was designed to be a digital way of exchanging assets securely while maintaining privacy. The currency is secured by means of [[cryptography]]. Some top ranking cryptocurrencies include:&lt;br /&gt;
&lt;br /&gt;
* [[Bitcoin]] (BTC)&lt;br /&gt;
* [[Ethereum]] (ETH)&lt;br /&gt;
* [[Ripple]] (XRP)&lt;br /&gt;
* [[Bitcoin Cash]] (BCH)&lt;br /&gt;
* [[Litecoin]] (LTC)&lt;br /&gt;
* [[Neo]] (NEO)&lt;br /&gt;
* [[Cardano]] (ADA)&lt;br /&gt;
* [[Stellar]] (XLM)&lt;br /&gt;
* [[EOS]] (EOS)&lt;br /&gt;
* [[Monero]] (XMR)&lt;br /&gt;
* [[Zcash]] (ZEC)&lt;br /&gt;
* [[Dash]] (DASH)&lt;br /&gt;
* [[Tron]] (TRX)&lt;br /&gt;
&lt;br /&gt;
Cryptocurrencies that are inspired by [[Bitcoin]] are called [[Altcoins]].&lt;br /&gt;
&lt;br /&gt;
[[Coinbase]] is a popular site that people use to manage their cryptocurrencies.&lt;br /&gt;
&lt;br /&gt;
There are [[different ways to store your cryptocurrency]].&lt;br /&gt;
&lt;br /&gt;
== Coin vs Token ==&lt;br /&gt;
&lt;br /&gt;
A cryptocurrency [[coin]] is a currency that exists on its own [[blockchain]] and is used as a means of payment. For example [[Bitcoin]] or [[Ethereum]]. &lt;br /&gt;
&lt;br /&gt;
A cryptocurrency [[token]] is a currency that resides on a host's [[blockchain]] platform and is meant to be a representation of a certain asset&amp;lt;ref&amp;gt;https://www.cryptoniam.com/what-is-the-difference-between-cryptocurrency-coin-and-tokens/&amp;lt;/ref&amp;gt;. For example [[ERC20]], which are tokens that are based off [[Ethereum]]'s [[blockchain]]&amp;lt;ref&amp;gt;https://blog.chronobank.io/token-vs-coin-whats-the-difference-5ef7580d1199&amp;lt;/ref&amp;gt;. The tokens are tradable and can represent coins, loyalty points, etc.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* [[Mining]]&lt;br /&gt;
* [[Cryptocurrency wallet]]&lt;br /&gt;
* [[How to create your own cryptocurrency]]&lt;br /&gt;
* [[Types of Tokens]]&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
* [https://coinranking.com Coin Ranking] for current pricing&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=Coin.Wiki&amp;diff=1094</id>
		<title>Coin.Wiki</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=Coin.Wiki&amp;diff=1094"/>
				<updated>2023-05-02T22:34:16Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| id=&amp;quot;mp-topbanner&amp;quot; style=&amp;quot;width:100%; background:#f6f6f6; margin-top:1.2em; border:1px solid #ddd;&amp;quot;&lt;br /&gt;
| style=&amp;quot;width: 100%; color:#000;&amp;quot; |&lt;br /&gt;
&amp;lt;!--        &amp;quot;WELCOME TO BITCOIN&amp;quot; AND ARTICLE COUNT        --&amp;gt;&lt;br /&gt;
{| style=&amp;quot;width:100%; border:none; background:none;&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align:center; white-space:nowrap; color:#000;&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:162%; border:none; margin:0; padding:.1em; color:#000;&amp;quot;&amp;gt;Welcome to [[Cryptocurrencies | Coin]] Wiki,&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;top:+0.2em; font-size:95%;&amp;quot;&amp;gt;for all your blockchain, cryptocurrency, and Web3 information needs.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;articlecount&amp;quot; style=&amp;quot;width:100%; text-align:center; font-size:85%;&amp;quot;&amp;gt;[[Special:Statistics|{{NUMBEROFARTICLES}}]] pages. Established December 24, 2017.&amp;lt;/div&amp;gt;&lt;br /&gt;
'''This wiki is maintained by the Coin.Wiki community.'''&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--        TODAY'S FEATURED ARTICLE; DID YOU KNOW        --&amp;gt;&lt;br /&gt;
{| id=&amp;quot;mp-upper&amp;quot; style=&amp;quot;width: 100%; margin:6px 0 0 0; background:none; border-spacing: 0px;&amp;quot;&lt;br /&gt;
| class=&amp;quot;MainPageBG&amp;quot; style=&amp;quot;width:55%; border:1px solid #ffdc73; background:#e1e2e2; vertical-align:top; color:#000;&amp;quot; |&lt;br /&gt;
{| id=&amp;quot;mp-left&amp;quot; style=&amp;quot;vertical-align:top; background:#e1e2e2;&amp;quot;&lt;br /&gt;
! style=&amp;quot;padding:2px;&amp;quot; | &amp;lt;h2 id=&amp;quot;mp-tfa-h2&amp;quot; style=&amp;quot;margin:3px; background:#b6b6b8; font-size:120%; font-weight:bold; border:1px solid #ffdc73; text-align:left; color:#000; padding:0.2em 0.4em;&amp;quot;&amp;gt;About&amp;lt;/h2&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000;&amp;quot; | &amp;lt;div id=&amp;quot;mp-tfa&amp;quot; style=&amp;quot;padding:2px 5px&amp;quot;&amp;gt;{{MainPage_Intro}}&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
| style=&amp;quot;border:1px solid transparent;&amp;quot; |&lt;br /&gt;
&amp;lt;!--        IN THE NEWS; ON THIS DAY        --&amp;gt;&lt;br /&gt;
| class=&amp;quot;MainPageBG&amp;quot; style=&amp;quot;width:45%; border:1px solid #ffdc73; background:#e1e2e2; vertical-align:top;&amp;quot;|&lt;br /&gt;
{| id=&amp;quot;mp-right&amp;quot; style=&amp;quot;width:100%; vertical-align:top; background:#e1e2e2;&amp;quot;&lt;br /&gt;
! style=&amp;quot;padding:2px&amp;quot; | &amp;lt;h2 id=&amp;quot;mp-otd-h2&amp;quot; style=&amp;quot;margin:3px; background:#b6b6b8; font-size:120%; font-weight:bold; border:1px solid #ffdc73; text-align:left; color:#000; padding:0.2em 0.4em;&amp;quot;&amp;gt;Topics&amp;lt;/h2&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000;padding:2px 5px 5px&amp;quot; | &amp;lt;div id=&amp;quot;mp-otd&amp;quot;&amp;gt;{{MainPage_Topics}}&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;padding:2px&amp;quot; | &amp;lt;h2 id=&amp;quot;mp-otd-h2&amp;quot; style=&amp;quot;margin:3px; background:#b6b6b8; font-size:120%; font-weight:bold; border:1px solid #ffdc73; text-align:left; color:#000; padding:0.2em 0.4em;&amp;quot;&amp;gt;FAQ&amp;lt;/h2&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000;padding:2px 5px 5px&amp;quot; | &amp;lt;div id=&amp;quot;mp-otd&amp;quot;&amp;gt;{{MainPage_FAQ}}&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== How can I help? ==&lt;br /&gt;
=== Contribute ===&lt;br /&gt;
If you'd like to join us and learn and build together, we'd be happy to have you as a fellow coin wiki-er!  Please e-mail // admin '''at''' coin.wiki // and we'll be in touch.&lt;br /&gt;
&lt;br /&gt;
=== Donate ===&lt;br /&gt;
If you would rather donate financially, you can do so [[Donations | here]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thank you for your support!&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;__NOTOC____NOEDITSECTION__&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=Coin.Wiki&amp;diff=1093</id>
		<title>Coin.Wiki</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=Coin.Wiki&amp;diff=1093"/>
				<updated>2023-05-02T22:33:13Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| id=&amp;quot;mp-topbanner&amp;quot; style=&amp;quot;width:100%; background:#f6f6f6; margin-top:1.2em; border:1px solid #ddd;&amp;quot;&lt;br /&gt;
| style=&amp;quot;width: 100%; color:#000;&amp;quot; |&lt;br /&gt;
&amp;lt;!--        &amp;quot;WELCOME TO BITCOIN&amp;quot; AND ARTICLE COUNT        --&amp;gt;&lt;br /&gt;
{| style=&amp;quot;width:100%; border:none; background:none;&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align:center; white-space:nowrap; color:#000;&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:162%; border:none; margin:0; padding:.1em; color:#000;&amp;quot;&amp;gt;Welcome to [[Cryptocurrencies | Coin]] Wiki,&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;top:+0.2em; font-size:95%;&amp;quot;&amp;gt;for all your blockchain and cryptocurrency information needs.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;articlecount&amp;quot; style=&amp;quot;width:100%; text-align:center; font-size:85%;&amp;quot;&amp;gt;[[Special:Statistics|{{NUMBEROFARTICLES}}]] pages. Established December 24, 2017.&amp;lt;/div&amp;gt;&lt;br /&gt;
'''This wiki is maintained by the Coin.Wiki community.'''&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--        TODAY'S FEATURED ARTICLE; DID YOU KNOW        --&amp;gt;&lt;br /&gt;
{| id=&amp;quot;mp-upper&amp;quot; style=&amp;quot;width: 100%; margin:6px 0 0 0; background:none; border-spacing: 0px;&amp;quot;&lt;br /&gt;
| class=&amp;quot;MainPageBG&amp;quot; style=&amp;quot;width:55%; border:1px solid #ffdc73; background:#e1e2e2; vertical-align:top; color:#000;&amp;quot; |&lt;br /&gt;
{| id=&amp;quot;mp-left&amp;quot; style=&amp;quot;vertical-align:top; background:#e1e2e2;&amp;quot;&lt;br /&gt;
! style=&amp;quot;padding:2px;&amp;quot; | &amp;lt;h2 id=&amp;quot;mp-tfa-h2&amp;quot; style=&amp;quot;margin:3px; background:#b6b6b8; font-size:120%; font-weight:bold; border:1px solid #ffdc73; text-align:left; color:#000; padding:0.2em 0.4em;&amp;quot;&amp;gt;About&amp;lt;/h2&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000;&amp;quot; | &amp;lt;div id=&amp;quot;mp-tfa&amp;quot; style=&amp;quot;padding:2px 5px&amp;quot;&amp;gt;{{MainPage_Intro}}&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
| style=&amp;quot;border:1px solid transparent;&amp;quot; |&lt;br /&gt;
&amp;lt;!--        IN THE NEWS; ON THIS DAY        --&amp;gt;&lt;br /&gt;
| class=&amp;quot;MainPageBG&amp;quot; style=&amp;quot;width:45%; border:1px solid #ffdc73; background:#e1e2e2; vertical-align:top;&amp;quot;|&lt;br /&gt;
{| id=&amp;quot;mp-right&amp;quot; style=&amp;quot;width:100%; vertical-align:top; background:#e1e2e2;&amp;quot;&lt;br /&gt;
! style=&amp;quot;padding:2px&amp;quot; | &amp;lt;h2 id=&amp;quot;mp-otd-h2&amp;quot; style=&amp;quot;margin:3px; background:#b6b6b8; font-size:120%; font-weight:bold; border:1px solid #ffdc73; text-align:left; color:#000; padding:0.2em 0.4em;&amp;quot;&amp;gt;Topics&amp;lt;/h2&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000;padding:2px 5px 5px&amp;quot; | &amp;lt;div id=&amp;quot;mp-otd&amp;quot;&amp;gt;{{MainPage_Topics}}&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;padding:2px&amp;quot; | &amp;lt;h2 id=&amp;quot;mp-otd-h2&amp;quot; style=&amp;quot;margin:3px; background:#b6b6b8; font-size:120%; font-weight:bold; border:1px solid #ffdc73; text-align:left; color:#000; padding:0.2em 0.4em;&amp;quot;&amp;gt;FAQ&amp;lt;/h2&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000;padding:2px 5px 5px&amp;quot; | &amp;lt;div id=&amp;quot;mp-otd&amp;quot;&amp;gt;{{MainPage_FAQ}}&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== How can I help? ==&lt;br /&gt;
=== Contribute ===&lt;br /&gt;
If you'd like to join us and learn and build together, we'd be happy to have you as a fellow coin wiki-er!  Please e-mail // admin '''at''' coin.wiki // and we'll be in touch.&lt;br /&gt;
&lt;br /&gt;
=== Donate ===&lt;br /&gt;
If you would rather donate financially, you can do so [[Donations | here]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thank you for your support!&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;__NOTOC____NOEDITSECTION__&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=CoinWiki:About&amp;diff=1092</id>
		<title>CoinWiki:About</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=CoinWiki:About&amp;diff=1092"/>
				<updated>2023-05-02T22:32:13Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to Coin.Wiki, your go-to source for reliable and comprehensive information about the exciting and rapidly-evolving world of cryptocurrencies, blockchain technology, web3, and more.&lt;br /&gt;
At Coin.Wiki, we believe that knowledge is power, and that's why we're dedicated to providing you with the most up-to-date and accurate information about all things related to digital currencies and decentralized systems. Whether you're a seasoned crypto investor, a blockchain enthusiast, or just curious about this emerging field, we've got you covered.&lt;br /&gt;
&lt;br /&gt;
Our writers are committed to producing in-depth and informative articles, guides, and tutorials that cover a wide range of topics, including the history of cryptocurrencies, the basics of blockchain technology, the latest developments in the world of DeFi, and much more. We strive to make all of our content accessible and easy to understand, no matter your level of expertise.&lt;br /&gt;
&lt;br /&gt;
At Coin.Wiki, we believe in the power of community, and that's why we've created a platform where anyone can contribute their knowledge and expertise. Whether you're an experienced blockchain developer or a newcomer to the space, we invite you to share your insights and help us build the most comprehensive and accurate resource on the web.&lt;br /&gt;
&lt;br /&gt;
Join us today and start your journey toward a deeper understanding of the future of money and finance! &lt;br /&gt;
&lt;br /&gt;
== Policies and Rules ==&lt;br /&gt;
* [https://coin.wiki/index.php/CoinWiki:Privacy_policy Privacy Policy]&lt;br /&gt;
* [https://coin.wiki/index.php/CoinWiki:General_disclaimer Disclaimers]&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
Coin.Wiki operates under [https://creativecommons.org/licenses/by/4.0/ CC-By]&lt;br /&gt;
&lt;br /&gt;
== Acceptable Use ==&lt;br /&gt;
=== Links ===&lt;br /&gt;
No affiliate/referral code links.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
If you have suggestions for future articles or would like to help contribute to our project, feel free to contact us at //admin at coin.wiki// and we will be in touch.&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=CoinWiki:General_disclaimer&amp;diff=1091</id>
		<title>CoinWiki:General disclaimer</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=CoinWiki:General_disclaimer&amp;diff=1091"/>
				<updated>2023-05-02T22:29:35Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: Created page with &amp;quot;The information provided on Coin.Wiki is for general informational purposes only. While we strive to provide accurate and up-to-date information, we make no representations or...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The information provided on Coin.Wiki is for general informational purposes only. While we strive to provide accurate and up-to-date information, we make no representations or warranties of any kind, express or implied, about the completeness, accuracy, reliability, suitability, or availability with respect to the website or the information, products, services, or related graphics contained on the website for any purpose. Any reliance you place on such information is therefore strictly at your own risk.&lt;br /&gt;
&lt;br /&gt;
In no event will we be liable for any loss or damage including without limitation, indirect or consequential loss or damage, or any loss or damage whatsoever arising from loss of data or profits arising out of, or in connection with, the use of this website.&lt;br /&gt;
&lt;br /&gt;
Through this website, you are able to link to other websites which are not under the control of Coin.Wiki. We have no control over the nature, content, and availability of those sites. The inclusion of any links does not necessarily imply a recommendation or endorse the views expressed within them.&lt;br /&gt;
&lt;br /&gt;
Every effort is made to keep the website up and running smoothly. However, Coin.Wiki takes no responsibility for, and will not be liable for, the website being temporarily unavailable due to technical issues beyond our control.&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=Template:MainPage_FAQ&amp;diff=1090</id>
		<title>Template:MainPage FAQ</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=Template:MainPage_FAQ&amp;diff=1090"/>
				<updated>2023-05-02T22:24:14Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: Created page with &amp;quot;'''Q: What is Coin.Wiki?'''  A: Coin.wiki is an informational wiki website that provides reliable and comprehensive information about cryptocurrencies, blockchain technology,...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Q: What is Coin.Wiki?'''&lt;br /&gt;
&lt;br /&gt;
A: Coin.wiki is an informational wiki website that provides reliable and comprehensive information about cryptocurrencies, blockchain technology, web3, and more.&lt;br /&gt;
&lt;br /&gt;
'''Q: Who can contribute to Coin.Wiki?'''&lt;br /&gt;
&lt;br /&gt;
A: Anyone can contribute to Coin.Wiki! We welcome contributions from experts, enthusiasts, and anyone with knowledge to share. Simply create an account and start contributing to our platform.&lt;br /&gt;
&lt;br /&gt;
'''Q: How do I support Coin.Wiki?'''&lt;br /&gt;
&lt;br /&gt;
A: We offer several ways to donate to Coin.Wiki, including donating your time by contributing to our platform, or donating crypto or other forms of currency to help us cover our operating costs. Visit our [[Donations | donations]] page for more information on how to support us.&lt;br /&gt;
&lt;br /&gt;
'''Q: Is Coin.Wiki affiliated with any particular cryptocurrency or blockchain project?'''&lt;br /&gt;
&lt;br /&gt;
A: No, Coin.Wiki is an independent and impartial platform. We strive to provide accurate and objective information to our users, without any bias towards any particular project or technology.&lt;br /&gt;
&lt;br /&gt;
'''Q: Can I trust the information on Coin.Wiki?'''&lt;br /&gt;
&lt;br /&gt;
A: We take great care to ensure that all of the information on Coin.Wiki is accurate and up-to-date. However, we cannot guarantee the accuracy or completeness of all the information on our platform. We encourage our users to do their own research and to verify any information they find on our website.&lt;br /&gt;
&lt;br /&gt;
'''Q: How can I get in touch with Coin.Wiki?'''&lt;br /&gt;
&lt;br /&gt;
A: You can contact us through our contact page or by sending an email to our support team at support at coin dot wiki. We'd love to hear from you!&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=Donations&amp;diff=1089</id>
		<title>Donations</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=Donations&amp;diff=1089"/>
				<updated>2023-05-02T22:18:11Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;At Coin.Wiki, we're committed to providing free and open access to reliable information about cryptocurrencies, blockchain technology, web3, and more. However, we rely on the support of our community to keep our platform running and to continue producing high-quality content. That's why we offer a variety of ways for our users to donate and support our mission, including donating their time by contributing to our platform or donating crypto or other forms of currency to help us cover our operating costs. Your support helps us to remain independent and impartial and ensures that we can continue to provide valuable information to anyone interested in this exciting and rapidly-evolving field. Thank you for your support!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Bitcoin - bc1q26hq9gr0nf8nxmlf6yfylmayy0waj4rrtyteu9&lt;br /&gt;
* Ethereum - 0x53E29389261327bf32BfE084A0bA8897547eAf87&lt;br /&gt;
* Dogecoin - DDMNXMS49EKbpgd58kivM6431p8i6iwhKX&lt;br /&gt;
* ZCash - t1MoyzqeE8PCCK3imibxHJWvF5ysQMgDVvE&lt;br /&gt;
* Monero - 86cZx1PNW3DWwHkfVz11EC67NCtCE7HH7DZ5U4aNVLTTLxkqbS7Ceew6UNsiE1pmKP9tQuB52TsfCi9T31kjtqcQMZJrgUZ&lt;br /&gt;
* USDT (ETH, BSC, MATIC) - 0x53E29389261327bf32BfE084A0bA8897547eAf87&lt;br /&gt;
* USDC (ETH, BSC, MATIC) - 0x53E29389261327bf32BfE084A0bA8897547eAf87&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=Donations&amp;diff=1088</id>
		<title>Donations</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=Donations&amp;diff=1088"/>
				<updated>2023-05-02T22:17:22Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: Created page with &amp;quot;At Coin.Wiki, we're committed to providing free and open access to reliable information about cryptocurrencies, blockchain technology, web3, and more. However, we rely on the...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;At Coin.Wiki, we're committed to providing free and open access to reliable information about cryptocurrencies, blockchain technology, web3, and more. However, we rely on the support of our community to keep our platform running and to continue producing high-quality content. That's why we offer a variety of ways for our users to donate and support our mission, including donating their time by contributing to our platform or donating crypto or other forms of currency to help us cover our operating costs. Your support helps us to remain independent and impartial and ensures that we can continue to provide valuable information to anyone interested in this exciting and rapidly-evolving field. Thank you for your support!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Bitcoin - bc1q26hq9gr0nf8nxmlf6yfylmayy0waj4rrtyteu9&lt;br /&gt;
Ethereum - 0x53E29389261327bf32BfE084A0bA8897547eAf87&lt;br /&gt;
Dogecoin - DDMNXMS49EKbpgd58kivM6431p8i6iwhKX&lt;br /&gt;
ZCash - t1MoyzqeE8PCCK3imibxHJWvF5ysQMgDVvE&lt;br /&gt;
Monero - 86cZx1PNW3DWwHkfVz11EC67NCtCE7HH7DZ5U4aNVLTTLxkqbS7Ceew6UNsiE1pmKP9tQuB52TsfCi9T31kjtqcQMZJrgUZ&lt;br /&gt;
USDT (ETH, BSC, MATIC) - 0x53E29389261327bf32BfE084A0bA8897547eAf87&lt;br /&gt;
USDC (ETH, BSC, MATIC) - 0x53E29389261327bf32BfE084A0bA8897547eAf87&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=Template:MainPage_Intro&amp;diff=1087</id>
		<title>Template:MainPage Intro</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=Template:MainPage_Intro&amp;diff=1087"/>
				<updated>2023-05-02T21:54:23Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: Created page with &amp;quot;Welcome to Coin.Wiki, your go-to source for reliable and comprehensive information about the exciting and rapidly-evolving world of cryptocurrencies, blockchain technology, we...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to Coin.Wiki, your go-to source for reliable and comprehensive information about the exciting and rapidly-evolving world of cryptocurrencies, blockchain technology, web3, and more.&lt;br /&gt;
&lt;br /&gt;
At Coin.Wiki, we believe that knowledge is power, and that's why we're dedicated to providing you with the most up-to-date and accurate information about all things related to digital currencies and decentralized systems. Whether you're a seasoned crypto investor, a blockchain enthusiast, or just curious about this emerging field, we've got you covered.&lt;br /&gt;
&lt;br /&gt;
Our writers are committed to producing in-depth and informative articles, guides, and tutorials that cover a wide range of topics, including the history of cryptocurrencies, the basics of blockchain technology, the latest developments in the world of DeFi, and much more. We strive to make all of our content accessible and easy to understand, no matter your level of expertise.&lt;br /&gt;
&lt;br /&gt;
At Coin.Wiki, we believe in the power of community, and that's why we've created a platform where anyone can contribute their knowledge and expertise. Whether you're an experienced blockchain developer or a newcomer to the space, we invite you to share your insights and help us build the most comprehensive and accurate resource on the web.&lt;br /&gt;
&lt;br /&gt;
Join us today and start your journey toward a deeper understanding of the future of money and finance!&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=Coin.Wiki&amp;diff=1086</id>
		<title>Coin.Wiki</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=Coin.Wiki&amp;diff=1086"/>
				<updated>2023-03-15T19:30:51Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| id=&amp;quot;mp-topbanner&amp;quot; style=&amp;quot;width:100%; background:#f6f6f6; margin-top:1.2em; border:1px solid #ddd;&amp;quot;&lt;br /&gt;
| style=&amp;quot;width: 100%; color:#000;&amp;quot; |&lt;br /&gt;
&amp;lt;!--        &amp;quot;WELCOME TO BITCOIN&amp;quot; AND ARTICLE COUNT        --&amp;gt;&lt;br /&gt;
{| style=&amp;quot;width:100%; border:none; background:none;&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align:center; white-space:nowrap; color:#000;&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:162%; border:none; margin:0; padding:.1em; color:#000;&amp;quot;&amp;gt;Welcome to [[Cryptocurrencies | Coin]] Wiki,&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;top:+0.2em; font-size:95%;&amp;quot;&amp;gt;for all your blockchain and cryptocurrency information needs.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;articlecount&amp;quot; style=&amp;quot;width:100%; text-align:center; font-size:85%;&amp;quot;&amp;gt;[[Special:Statistics|{{NUMBEROFARTICLES}}]] pages. Established December 24, 2017.&amp;lt;/div&amp;gt;&lt;br /&gt;
'''This wiki is maintained by the Coin.Wiki community.'''&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--        TODAY'S FEATURED ARTICLE; DID YOU KNOW        --&amp;gt;&lt;br /&gt;
{| id=&amp;quot;mp-upper&amp;quot; style=&amp;quot;width: 100%; margin:6px 0 0 0; background:none; border-spacing: 0px;&amp;quot;&lt;br /&gt;
| class=&amp;quot;MainPageBG&amp;quot; style=&amp;quot;width:55%; border:1px solid #ffdc73; background:#e1e2e2; vertical-align:top; color:#000;&amp;quot; |&lt;br /&gt;
{| id=&amp;quot;mp-left&amp;quot; style=&amp;quot;vertical-align:top; background:#e1e2e2;&amp;quot;&lt;br /&gt;
! style=&amp;quot;padding:2px;&amp;quot; | &amp;lt;h2 id=&amp;quot;mp-tfa-h2&amp;quot; style=&amp;quot;margin:3px; background:#b6b6b8; font-size:120%; font-weight:bold; border:1px solid #ffdc73; text-align:left; color:#000; padding:0.2em 0.4em;&amp;quot;&amp;gt;About&amp;lt;/h2&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000;&amp;quot; | &amp;lt;div id=&amp;quot;mp-tfa&amp;quot; style=&amp;quot;padding:2px 5px&amp;quot;&amp;gt;{{MainPage_Intro}}&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
| style=&amp;quot;border:1px solid transparent;&amp;quot; |&lt;br /&gt;
&amp;lt;!--        IN THE NEWS; ON THIS DAY        --&amp;gt;&lt;br /&gt;
| class=&amp;quot;MainPageBG&amp;quot; style=&amp;quot;width:45%; border:1px solid #ffdc73; background:#e1e2e2; vertical-align:top;&amp;quot;|&lt;br /&gt;
{| id=&amp;quot;mp-right&amp;quot; style=&amp;quot;width:100%; vertical-align:top; background:#e1e2e2;&amp;quot;&lt;br /&gt;
! style=&amp;quot;padding:2px&amp;quot; | &amp;lt;h2 id=&amp;quot;mp-otd-h2&amp;quot; style=&amp;quot;margin:3px; background:#b6b6b8; font-size:120%; font-weight:bold; border:1px solid #ffdc73; text-align:left; color:#000; padding:0.2em 0.4em;&amp;quot;&amp;gt;Topics&amp;lt;/h2&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000;padding:2px 5px 5px&amp;quot; | &amp;lt;div id=&amp;quot;mp-otd&amp;quot;&amp;gt;{{MainPage_Topics}}&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;padding:2px&amp;quot; | &amp;lt;h2 id=&amp;quot;mp-otd-h2&amp;quot; style=&amp;quot;margin:3px; background:#b6b6b8; font-size:120%; font-weight:bold; border:1px solid #ffdc73; text-align:left; color:#000; padding:0.2em 0.4em;&amp;quot;&amp;gt;FAQ&amp;lt;/h2&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000;padding:2px 5px 5px&amp;quot; | &amp;lt;div id=&amp;quot;mp-otd&amp;quot;&amp;gt;{{MainPage_FAQ}}&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== How can I help? ==&lt;br /&gt;
=== Contribute ===&lt;br /&gt;
If you'd like to join us and learn and build together, we'd be happy to have you as a fellow coin wiki-er!  Please e-mail // admin '''at''' coin.wiki // and we'll be in touch.&lt;br /&gt;
&lt;br /&gt;
=== Donate ===&lt;br /&gt;
If you would rather donate financially, you can do so [[Donations | here]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thank you for your time and donations!&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;__NOTOC____NOEDITSECTION__&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=Template:MainPage_Topics&amp;diff=1085</id>
		<title>Template:MainPage Topics</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=Template:MainPage_Topics&amp;diff=1085"/>
				<updated>2023-03-15T19:14:36Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: Created page with &amp;quot;* Bitcoin   *  Blockchain Technology   * Cryptocurrencies   *  Tokens  * What is a non fungib...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Bitcoin]] &lt;br /&gt;
&lt;br /&gt;
* [[Blockchain | Blockchain Technology]] &lt;br /&gt;
&lt;br /&gt;
* [[Cryptocurrencies]] &lt;br /&gt;
&lt;br /&gt;
* [[Difference between cryptocurrency coins and tokens | Tokens]]&lt;br /&gt;
&lt;br /&gt;
* [[What is a non fungible token | Non Fungible Tokens]] (NFT's)&lt;br /&gt;
&lt;br /&gt;
* [[Crypto Tutorials]] &lt;br /&gt;
&lt;br /&gt;
* [[ Special:Random | Surprise me]]&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=Coin.Wiki&amp;diff=1084</id>
		<title>Coin.Wiki</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=Coin.Wiki&amp;diff=1084"/>
				<updated>2023-03-13T03:17:06Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to Coin.Wiki, your personal guide to [[Cryptocurrency]], [[What is a non fungible token | NFTs]], the [[Metaverse]], and beyond:&lt;br /&gt;
&lt;br /&gt;
== Get Started ==&lt;br /&gt;
* [[Bitcoin]] &lt;br /&gt;
&lt;br /&gt;
* [[Blockchain | Blockchain Technology]] &lt;br /&gt;
&lt;br /&gt;
* [[Cryptocurrencies]] &lt;br /&gt;
&lt;br /&gt;
* [[Difference between cryptocurrency coins and tokens | Tokens]]&lt;br /&gt;
&lt;br /&gt;
* [[What is a non fungible token | Non Fungible Tokens]] (NFT's)&lt;br /&gt;
&lt;br /&gt;
* [[Crypto Tutorials]] &lt;br /&gt;
&lt;br /&gt;
* [[ Special:Random | Surprise me]]&lt;br /&gt;
&lt;br /&gt;
== How can I help? ==&lt;br /&gt;
=== Contribute ===&lt;br /&gt;
If you'd like to join us and learn and build together, we'd be happy to have you as a fellow coin wiki-er!  Please e-mail // admin '''at''' coin.wiki // and we'll be in touch.&lt;br /&gt;
&lt;br /&gt;
=== Donate ===&lt;br /&gt;
If you would rather donate financially, you can do so [[Donations | here]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thank you for your time and donations!&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=CoinWiki:Privacy_policy&amp;diff=1083</id>
		<title>CoinWiki:Privacy policy</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=CoinWiki:Privacy_policy&amp;diff=1083"/>
				<updated>2022-04-20T20:10:26Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: Created page with &amp;quot;== Privacy == You may: * Read the contents of this site without an account * Register an account without providing your real name  == Your Data == The following data is collec...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Privacy ==&lt;br /&gt;
You may:&lt;br /&gt;
* Read the contents of this site without an account&lt;br /&gt;
* Register an account without providing your real name&lt;br /&gt;
&lt;br /&gt;
== Your Data ==&lt;br /&gt;
The following data is collected and tied to your account:&lt;br /&gt;
* Your contributions and page changes&lt;br /&gt;
* Your user page revisions&lt;br /&gt;
* Your username, email address, and date of registration&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=CoinWiki:About&amp;diff=1082</id>
		<title>CoinWiki:About</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=CoinWiki:About&amp;diff=1082"/>
				<updated>2022-04-20T20:04:48Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Coin.Wiki is an online encyclopedia that is dedicated to exploring the emerging blockchain technologies. Inside you will find information about cryptocurrencies, blockchain, NFTs, crypto mining, crypto wallets, crypto tutorials, and more. Coin.Wiki was created with a goal to provide a quality and trustworthy repository of knowledge for all things crypto. &lt;br /&gt;
&lt;br /&gt;
== Policies and Rules ==&lt;br /&gt;
* Coming soon...&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
Coin.Wiki operates under [https://creativecommons.org/licenses/by/4.0/ CC-By]&lt;br /&gt;
&lt;br /&gt;
== Acceptable Use ==&lt;br /&gt;
=== Links ===&lt;br /&gt;
No affiliate/referral code links.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
If you have suggestions for future articles or would like to help contribute to our project, feel free to contact us at //admin at coin.wiki// and we will be in touch.&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=Coin.Wiki&amp;diff=1081</id>
		<title>Coin.Wiki</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=Coin.Wiki&amp;diff=1081"/>
				<updated>2022-04-20T19:42:05Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to Coin.Wiki, your personal guide to [[Cryptocurrency]], [[What is a non fungible token | NFTs]], the [[Metaverse]], and beyond:&lt;br /&gt;
&lt;br /&gt;
== Get Started ==&lt;br /&gt;
* [[Bitcoin]] &lt;br /&gt;
&lt;br /&gt;
* [[Blockchain | Blockchain Technology]] &lt;br /&gt;
&lt;br /&gt;
* [[Cryptocurrencies]] &lt;br /&gt;
&lt;br /&gt;
* [[Difference between cryptocurrency coins and tokens | Tokens]]&lt;br /&gt;
&lt;br /&gt;
* [[What is a non fungible token | Non Fungible Tokens]] (NFT's)&lt;br /&gt;
&lt;br /&gt;
* [[Crypto Tutorials]] &lt;br /&gt;
&lt;br /&gt;
* [[ Special:Random | Surprise me]]&lt;br /&gt;
&lt;br /&gt;
== How can I help? ==&lt;br /&gt;
=== Contribute ===&lt;br /&gt;
If you'd like to join us and learn and build together, we'd be happy to have you as a fellow coin wiki-er!  Please e-mail // admin '''at''' coin.wiki // and we'll be in touch.&lt;br /&gt;
&lt;br /&gt;
=== Donate ===&lt;br /&gt;
If you would rather donate financially, here are some options below:&lt;br /&gt;
&lt;br /&gt;
* Bitcoin (BTC) - 1DSbLudyvAfw8CULjB9CxLtm1yVw5sf3rV&lt;br /&gt;
&lt;br /&gt;
* Ethereum (ETH) - 0x745F2Bc9570B8C8DcD51249d7fdC2528f03efF1c&lt;br /&gt;
&lt;br /&gt;
* Bitcoin Cash (BCH - qpxcm3r90y6cedvazm4phwr82m3ywwn66gzwllq63l&lt;br /&gt;
&lt;br /&gt;
* Litecoin (LTC) - LKF12Fi92zuxDhpHLe7gSWBtTdJbcULa85&lt;br /&gt;
 &lt;br /&gt;
* Monero (XMR) - 44c7umSm7TyXxKch9q4R5QfoTAf663A8yEFfJbxmxUJ1JCWq2kFu33oAAydrgNDQA8619rSQhZaFV3ScpESWCfcQB3Fqc6w&lt;br /&gt;
&lt;br /&gt;
Thank you for your time and donations!&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1080</id>
		<title>How to create your own TRC20 token on Tron</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1080"/>
				<updated>2020-10-28T22:47:08Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: /* Compile and Deploy your Token */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TRON is a decentralized blockchain content delivery platform to allow creators to publish and own their uploaded content. TRON originally existed as an [[ERC20]] token (TRX) operating on [[Ethereum]]'s blockchain but now exists as its own blockchain. [[Tron | TRON]] has its own set of token standards called [[TRC10]] and [[TRC20]]. In this guide I will walk you through creating your own TRC20 token.  &lt;br /&gt;
&lt;br /&gt;
== Download TronLink ==&lt;br /&gt;
* [[TronLink]] is a browser based extension for interacting with the TRON blockchain. It is available for chrome based browsers like Google Chrome and Brave. Add the extension to your browser by clicking the 'Add to Chrome' button. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlink.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the extension is added, click on it in the upper right hand corner. You will then be walked through some steps to create your wallet. First you are going to create a password then press 'Continue'. Then click on 'Create Wallet' like so:&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkpass.png|250px]]&lt;br /&gt;
[[File: Tronlinkcreate.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Now name your wallet and press 'Continue'. Next copy the mnemonic phrase to a safe place and press 'Continue'. The last step is to confirm the mnemonic phrase by selecting the words in order and press 'Confirm' to finish. You have now created a wallet!&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkwallet.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get test TRX coins ==&lt;br /&gt;
* Click the 'Settings' tab in TronLink and select 'Shasta Testnet' in the 'Node selection' box. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinktest.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next go [https://www.trongrid.io/shasta/#request here] and paste in your Tron address and click 'Submit'. 5,000 test TRX will then be deposited to your address.&lt;br /&gt;
&lt;br /&gt;
== Install TronBox ==&lt;br /&gt;
We will use [[TRON-BOX | TronBox]] to deploy our [[smart contracts | smart contract]] onto Tron's blockchain.&lt;br /&gt;
* Paste the following lines of code into your [[terminal]] to install tronbox.&lt;br /&gt;
&amp;lt;code&amp;gt;npm install -g tronbox&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make a directory on your computer for tronbox and then enter it&lt;br /&gt;
&amp;lt;code&amp;gt;mkdir tron-dev&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd tron-dev&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Initialize TronBox (this can take some time)&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox init&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring TronBox ===&lt;br /&gt;
We will need to copy your private key from our Tron wallet and place it in a .env file. Go to your TronLink extension and click 'Export' and copy your private key.&lt;br /&gt;
&lt;br /&gt;
Next create a '.env' file and paste in the following code with your private key. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano .env&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;export PRIVATE_KEY_SHASTA=your_private_key&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we will have to change the version compiler in &amp;lt;code&amp;gt;tronbox.js&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano tronbox.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll down to where is says &amp;lt;code&amp;gt;// version: '0.5.4'&amp;lt;/code&amp;gt; and uncomment the line (remove the '//') and enter '0.5.10'. Tronbox only supports the following Solidity versions: 0.4.24, 0.4.25, 0.5.4, 0.5.8, 0.5.10.&lt;br /&gt;
&lt;br /&gt;
* When you are done press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
== Modify our token's code==&lt;br /&gt;
Smart contracts on Tron are built using [[Solidity]], just like on Ethereum.&lt;br /&gt;
&lt;br /&gt;
* Copy the following code into your favorite code editor. I will be using [https://atom.io/ Atom].&lt;br /&gt;
* '''Here's the link to the code shown below''' [https://raw.githubusercontent.com/blockinator/smart-contract-repository/master/TRON/Token/TRC20.sol TRC20 Code]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
pragma solidity ^0.5.10;&lt;br /&gt;
&lt;br /&gt;
// Safe maths&lt;br /&gt;
contract SafeMath {&lt;br /&gt;
    function safeAdd(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        c = a + b;&lt;br /&gt;
        require(c &amp;gt;= a);&lt;br /&gt;
    }&lt;br /&gt;
    function safeSub(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        require(b &amp;lt;= a);&lt;br /&gt;
        c = a - b;&lt;br /&gt;
    }&lt;br /&gt;
    function safeMul(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        c = a * b;&lt;br /&gt;
        require(a == 0 || c / a == b);&lt;br /&gt;
    }&lt;br /&gt;
    function safeDiv(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        require(b &amp;gt; 0);&lt;br /&gt;
        c = a / b;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
  ERC Token Standard #20 Interface&lt;br /&gt;
  https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md&lt;br /&gt;
*/&lt;br /&gt;
contract ERC20Interface {&lt;br /&gt;
    function totalSupply() public view returns (uint);&lt;br /&gt;
    function balanceOf(address tokenOwner) public view returns (uint balance);&lt;br /&gt;
    function allowance(address tokenOwner, address spender) public view returns (uint remaining);&lt;br /&gt;
    function transfer(address to, uint tokens) public returns (bool success);&lt;br /&gt;
    function approve(address spender, uint tokens) public returns (bool success);&lt;br /&gt;
    function transferFrom(address from, address to, uint tokens) public returns (bool success);&lt;br /&gt;
&lt;br /&gt;
    event Transfer(address indexed from, address indexed to, uint tokens);&lt;br /&gt;
    event Approval(address indexed tokenOwner, address indexed spender, uint tokens);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Contract function to receive approval and execute function in one call&lt;br /&gt;
contract ApproveAndCallFallBack {&lt;br /&gt;
    function receiveApproval(address from, uint256 tokens, address token, bytes memory data) public;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Owned contract&lt;br /&gt;
contract Owned {&lt;br /&gt;
    address public owner;&lt;br /&gt;
    address public newOwner;&lt;br /&gt;
&lt;br /&gt;
    event OwnershipTransferred(address indexed _from, address indexed _to);&lt;br /&gt;
&lt;br /&gt;
    constructor() public {&lt;br /&gt;
        owner = msg.sender;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    modifier onlyOwner {&lt;br /&gt;
        require(msg.sender == owner);&lt;br /&gt;
        _;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function transferOwnership(address _newOwner) public onlyOwner {&lt;br /&gt;
        newOwner = _newOwner;&lt;br /&gt;
    }&lt;br /&gt;
    function acceptOwnership() public {&lt;br /&gt;
        require(msg.sender == newOwner);&lt;br /&gt;
        emit OwnershipTransferred(owner, newOwner);&lt;br /&gt;
        owner = newOwner;&lt;br /&gt;
        newOwner = address(0);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// ERC20 Token, with the addition of symbol, name and decimals and assisted token transfers&lt;br /&gt;
contract CoinWiki is ERC20Interface, Owned, SafeMath {&lt;br /&gt;
    string public symbol;&lt;br /&gt;
    string public  name;&lt;br /&gt;
    uint8 public decimals;&lt;br /&gt;
    uint public _totalSupply;&lt;br /&gt;
&lt;br /&gt;
    mapping(address =&amp;gt; uint) balances;&lt;br /&gt;
    mapping(address =&amp;gt; mapping(address =&amp;gt; uint)) allowed;&lt;br /&gt;
&lt;br /&gt;
    // Constructor&lt;br /&gt;
    constructor() public {&lt;br /&gt;
        name = &amp;quot;CoinWiki Token&amp;quot;;&lt;br /&gt;
        symbol = &amp;quot;CWT&amp;quot;;&lt;br /&gt;
        decimals = 18;&lt;br /&gt;
        _totalSupply = 1000000000 * (10 ** uint256(decimals));&lt;br /&gt;
        balances[msg.sender] = _totalSupply;&lt;br /&gt;
        emit Transfer(address(0), msg.sender, _totalSupply);&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Total supply&lt;br /&gt;
    function totalSupply() public view returns (uint) {&lt;br /&gt;
        return _totalSupply  - balances[address(0)];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Get the token balance for account tokenOwner&lt;br /&gt;
    function balanceOf(address tokenOwner) public view returns (uint balance) {&lt;br /&gt;
        return balances[tokenOwner];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Transfer the balance from token owner's account to to account&lt;br /&gt;
    function transfer(address to, uint tokens) public returns (bool success) {&lt;br /&gt;
        balances[msg.sender] = safeSub(balances[msg.sender], tokens);&lt;br /&gt;
        balances[to] = safeAdd(balances[to], tokens);&lt;br /&gt;
        emit Transfer(msg.sender, to, tokens);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    /**&lt;br /&gt;
     Token owner can approve for spender to transferFrom(...) tokens&lt;br /&gt;
     from the token owner's account&lt;br /&gt;
&lt;br /&gt;
     https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md&lt;br /&gt;
     recommends that there are no checks for the approval double-spend attack&lt;br /&gt;
     as this should be implemented in user interfaces&lt;br /&gt;
    */&lt;br /&gt;
    function approve(address spender, uint tokens) public returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][spender] = tokens;&lt;br /&gt;
        emit Approval(msg.sender, spender, tokens);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    /**&lt;br /&gt;
     Transfer tokens from the from account to the to account&lt;br /&gt;
     The calling account must already have sufficient tokens approve(...)-d&lt;br /&gt;
     for spending from the from account and&lt;br /&gt;
     - From account must have sufficient balance to transfer&lt;br /&gt;
     - Spender must have sufficient allowance to transfer&lt;br /&gt;
     - 0 value transfers are allowed&lt;br /&gt;
    */&lt;br /&gt;
    function transferFrom(address from, address to, uint tokens) public returns (bool success) {&lt;br /&gt;
        balances[from] = safeSub(balances[from], tokens);&lt;br /&gt;
        allowed[from][msg.sender] = safeSub(allowed[from][msg.sender], tokens);&lt;br /&gt;
        balances[to] = safeAdd(balances[to], tokens);&lt;br /&gt;
        emit Transfer(from, to, tokens);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Returns the amount of tokens approved by the owner that can be transferred to the spender's account&lt;br /&gt;
    function allowance(address tokenOwner, address spender) public view returns (uint remaining) {&lt;br /&gt;
        return allowed[tokenOwner][spender];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Token owner can approve for spender to transferFrom(...) tokens from the token owner's account.&lt;br /&gt;
    function approveAndCall(address spender, uint tokens, bytes memory data) public returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][spender] = tokens;&lt;br /&gt;
        emit Approval(msg.sender, spender, tokens);&lt;br /&gt;
        ApproveAndCallFallBack(spender).receiveApproval(msg.sender, tokens, address(this), data);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Send back ETH&lt;br /&gt;
    function () external payable {&lt;br /&gt;
        revert();&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Owner can transfer out any accidentally sent ERC20 tokens&lt;br /&gt;
    function transferAnyERC20Token(address tokenAddress, uint tokens) public onlyOwner returns (bool success) {&lt;br /&gt;
        return ERC20Interface(tokenAddress).transfer(owner, tokens);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Now let's configure your token:'''&lt;br /&gt;
* Name your token on line 83&lt;br /&gt;
* Change your token's symbol on line 84&lt;br /&gt;
* Set your token's decimal on line 85 (Most tokens have 18 decimal places but you can have any number you like)&lt;br /&gt;
* Change your token's supply on line 86&lt;br /&gt;
* Change the contract name on line 72&lt;br /&gt;
&lt;br /&gt;
'''Now we are going to add our code to TronBox.'''&lt;br /&gt;
* Enter contracts directory&lt;br /&gt;
&amp;lt;code&amp;gt;cd tronbox/contracts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make new file for our token and paste in the modified code from your text editor. Name the file like so: &amp;lt;name_of_token&amp;gt;.sol&lt;br /&gt;
&amp;lt;code&amp;gt;nano CoinWiki.sol&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Modify Migrations ==&lt;br /&gt;
&lt;br /&gt;
* Modify '2_deploy_contracts.js' to match your token&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano migrations/2_deploy_contracts.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Uncommit both lines that have commits and replace all instances of 'MyContract' with the name of your contract&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to exit and save your file&lt;br /&gt;
&lt;br /&gt;
== Compile and Deploy your Token ==&lt;br /&gt;
* Input the following code into your terminal to compile and deploy your smart contract to the Tron testnet. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox compile --compile-all&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;source .env &amp;amp;&amp;amp; tronbox migrate --reset --network shasta&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* After you migrate your smart contract to the Shasta testnet you will see two variables: base58 and hex. The base58 value is your 'contract address'. To see your new token, paste the value into the search bar on [https://shasta.tronscan.org Shasta Tronscan].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
(base58) TMRAvTVVnCvkPjQMYJrEqeKUtqiwqn65ZN&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
(hex) 417d92767fbb81cfcc604e452dd6558039181fb33d&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1079</id>
		<title>How to create your own TRC20 token on Tron</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1079"/>
				<updated>2020-10-28T22:45:40Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: /* Compile and Deploy your Token */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TRON is a decentralized blockchain content delivery platform to allow creators to publish and own their uploaded content. TRON originally existed as an [[ERC20]] token (TRX) operating on [[Ethereum]]'s blockchain but now exists as its own blockchain. [[Tron | TRON]] has its own set of token standards called [[TRC10]] and [[TRC20]]. In this guide I will walk you through creating your own TRC20 token.  &lt;br /&gt;
&lt;br /&gt;
== Download TronLink ==&lt;br /&gt;
* [[TronLink]] is a browser based extension for interacting with the TRON blockchain. It is available for chrome based browsers like Google Chrome and Brave. Add the extension to your browser by clicking the 'Add to Chrome' button. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlink.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the extension is added, click on it in the upper right hand corner. You will then be walked through some steps to create your wallet. First you are going to create a password then press 'Continue'. Then click on 'Create Wallet' like so:&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkpass.png|250px]]&lt;br /&gt;
[[File: Tronlinkcreate.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Now name your wallet and press 'Continue'. Next copy the mnemonic phrase to a safe place and press 'Continue'. The last step is to confirm the mnemonic phrase by selecting the words in order and press 'Confirm' to finish. You have now created a wallet!&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkwallet.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get test TRX coins ==&lt;br /&gt;
* Click the 'Settings' tab in TronLink and select 'Shasta Testnet' in the 'Node selection' box. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinktest.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next go [https://www.trongrid.io/shasta/#request here] and paste in your Tron address and click 'Submit'. 5,000 test TRX will then be deposited to your address.&lt;br /&gt;
&lt;br /&gt;
== Install TronBox ==&lt;br /&gt;
We will use [[TRON-BOX | TronBox]] to deploy our [[smart contracts | smart contract]] onto Tron's blockchain.&lt;br /&gt;
* Paste the following lines of code into your [[terminal]] to install tronbox.&lt;br /&gt;
&amp;lt;code&amp;gt;npm install -g tronbox&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make a directory on your computer for tronbox and then enter it&lt;br /&gt;
&amp;lt;code&amp;gt;mkdir tron-dev&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd tron-dev&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Initialize TronBox (this can take some time)&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox init&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring TronBox ===&lt;br /&gt;
We will need to copy your private key from our Tron wallet and place it in a .env file. Go to your TronLink extension and click 'Export' and copy your private key.&lt;br /&gt;
&lt;br /&gt;
Next create a '.env' file and paste in the following code with your private key. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano .env&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;export PRIVATE_KEY_SHASTA=your_private_key&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we will have to change the version compiler in &amp;lt;code&amp;gt;tronbox.js&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano tronbox.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll down to where is says &amp;lt;code&amp;gt;// version: '0.5.4'&amp;lt;/code&amp;gt; and uncomment the line (remove the '//') and enter '0.5.10'. Tronbox only supports the following Solidity versions: 0.4.24, 0.4.25, 0.5.4, 0.5.8, 0.5.10.&lt;br /&gt;
&lt;br /&gt;
* When you are done press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
== Modify our token's code==&lt;br /&gt;
Smart contracts on Tron are built using [[Solidity]], just like on Ethereum.&lt;br /&gt;
&lt;br /&gt;
* Copy the following code into your favorite code editor. I will be using [https://atom.io/ Atom].&lt;br /&gt;
* '''Here's the link to the code shown below''' [https://raw.githubusercontent.com/blockinator/smart-contract-repository/master/TRON/Token/TRC20.sol TRC20 Code]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
pragma solidity ^0.5.10;&lt;br /&gt;
&lt;br /&gt;
// Safe maths&lt;br /&gt;
contract SafeMath {&lt;br /&gt;
    function safeAdd(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        c = a + b;&lt;br /&gt;
        require(c &amp;gt;= a);&lt;br /&gt;
    }&lt;br /&gt;
    function safeSub(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        require(b &amp;lt;= a);&lt;br /&gt;
        c = a - b;&lt;br /&gt;
    }&lt;br /&gt;
    function safeMul(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        c = a * b;&lt;br /&gt;
        require(a == 0 || c / a == b);&lt;br /&gt;
    }&lt;br /&gt;
    function safeDiv(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        require(b &amp;gt; 0);&lt;br /&gt;
        c = a / b;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
  ERC Token Standard #20 Interface&lt;br /&gt;
  https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md&lt;br /&gt;
*/&lt;br /&gt;
contract ERC20Interface {&lt;br /&gt;
    function totalSupply() public view returns (uint);&lt;br /&gt;
    function balanceOf(address tokenOwner) public view returns (uint balance);&lt;br /&gt;
    function allowance(address tokenOwner, address spender) public view returns (uint remaining);&lt;br /&gt;
    function transfer(address to, uint tokens) public returns (bool success);&lt;br /&gt;
    function approve(address spender, uint tokens) public returns (bool success);&lt;br /&gt;
    function transferFrom(address from, address to, uint tokens) public returns (bool success);&lt;br /&gt;
&lt;br /&gt;
    event Transfer(address indexed from, address indexed to, uint tokens);&lt;br /&gt;
    event Approval(address indexed tokenOwner, address indexed spender, uint tokens);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Contract function to receive approval and execute function in one call&lt;br /&gt;
contract ApproveAndCallFallBack {&lt;br /&gt;
    function receiveApproval(address from, uint256 tokens, address token, bytes memory data) public;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Owned contract&lt;br /&gt;
contract Owned {&lt;br /&gt;
    address public owner;&lt;br /&gt;
    address public newOwner;&lt;br /&gt;
&lt;br /&gt;
    event OwnershipTransferred(address indexed _from, address indexed _to);&lt;br /&gt;
&lt;br /&gt;
    constructor() public {&lt;br /&gt;
        owner = msg.sender;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    modifier onlyOwner {&lt;br /&gt;
        require(msg.sender == owner);&lt;br /&gt;
        _;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function transferOwnership(address _newOwner) public onlyOwner {&lt;br /&gt;
        newOwner = _newOwner;&lt;br /&gt;
    }&lt;br /&gt;
    function acceptOwnership() public {&lt;br /&gt;
        require(msg.sender == newOwner);&lt;br /&gt;
        emit OwnershipTransferred(owner, newOwner);&lt;br /&gt;
        owner = newOwner;&lt;br /&gt;
        newOwner = address(0);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// ERC20 Token, with the addition of symbol, name and decimals and assisted token transfers&lt;br /&gt;
contract CoinWiki is ERC20Interface, Owned, SafeMath {&lt;br /&gt;
    string public symbol;&lt;br /&gt;
    string public  name;&lt;br /&gt;
    uint8 public decimals;&lt;br /&gt;
    uint public _totalSupply;&lt;br /&gt;
&lt;br /&gt;
    mapping(address =&amp;gt; uint) balances;&lt;br /&gt;
    mapping(address =&amp;gt; mapping(address =&amp;gt; uint)) allowed;&lt;br /&gt;
&lt;br /&gt;
    // Constructor&lt;br /&gt;
    constructor() public {&lt;br /&gt;
        name = &amp;quot;CoinWiki Token&amp;quot;;&lt;br /&gt;
        symbol = &amp;quot;CWT&amp;quot;;&lt;br /&gt;
        decimals = 18;&lt;br /&gt;
        _totalSupply = 1000000000 * (10 ** uint256(decimals));&lt;br /&gt;
        balances[msg.sender] = _totalSupply;&lt;br /&gt;
        emit Transfer(address(0), msg.sender, _totalSupply);&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Total supply&lt;br /&gt;
    function totalSupply() public view returns (uint) {&lt;br /&gt;
        return _totalSupply  - balances[address(0)];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Get the token balance for account tokenOwner&lt;br /&gt;
    function balanceOf(address tokenOwner) public view returns (uint balance) {&lt;br /&gt;
        return balances[tokenOwner];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Transfer the balance from token owner's account to to account&lt;br /&gt;
    function transfer(address to, uint tokens) public returns (bool success) {&lt;br /&gt;
        balances[msg.sender] = safeSub(balances[msg.sender], tokens);&lt;br /&gt;
        balances[to] = safeAdd(balances[to], tokens);&lt;br /&gt;
        emit Transfer(msg.sender, to, tokens);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    /**&lt;br /&gt;
     Token owner can approve for spender to transferFrom(...) tokens&lt;br /&gt;
     from the token owner's account&lt;br /&gt;
&lt;br /&gt;
     https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md&lt;br /&gt;
     recommends that there are no checks for the approval double-spend attack&lt;br /&gt;
     as this should be implemented in user interfaces&lt;br /&gt;
    */&lt;br /&gt;
    function approve(address spender, uint tokens) public returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][spender] = tokens;&lt;br /&gt;
        emit Approval(msg.sender, spender, tokens);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    /**&lt;br /&gt;
     Transfer tokens from the from account to the to account&lt;br /&gt;
     The calling account must already have sufficient tokens approve(...)-d&lt;br /&gt;
     for spending from the from account and&lt;br /&gt;
     - From account must have sufficient balance to transfer&lt;br /&gt;
     - Spender must have sufficient allowance to transfer&lt;br /&gt;
     - 0 value transfers are allowed&lt;br /&gt;
    */&lt;br /&gt;
    function transferFrom(address from, address to, uint tokens) public returns (bool success) {&lt;br /&gt;
        balances[from] = safeSub(balances[from], tokens);&lt;br /&gt;
        allowed[from][msg.sender] = safeSub(allowed[from][msg.sender], tokens);&lt;br /&gt;
        balances[to] = safeAdd(balances[to], tokens);&lt;br /&gt;
        emit Transfer(from, to, tokens);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Returns the amount of tokens approved by the owner that can be transferred to the spender's account&lt;br /&gt;
    function allowance(address tokenOwner, address spender) public view returns (uint remaining) {&lt;br /&gt;
        return allowed[tokenOwner][spender];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Token owner can approve for spender to transferFrom(...) tokens from the token owner's account.&lt;br /&gt;
    function approveAndCall(address spender, uint tokens, bytes memory data) public returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][spender] = tokens;&lt;br /&gt;
        emit Approval(msg.sender, spender, tokens);&lt;br /&gt;
        ApproveAndCallFallBack(spender).receiveApproval(msg.sender, tokens, address(this), data);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Send back ETH&lt;br /&gt;
    function () external payable {&lt;br /&gt;
        revert();&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Owner can transfer out any accidentally sent ERC20 tokens&lt;br /&gt;
    function transferAnyERC20Token(address tokenAddress, uint tokens) public onlyOwner returns (bool success) {&lt;br /&gt;
        return ERC20Interface(tokenAddress).transfer(owner, tokens);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Now let's configure your token:'''&lt;br /&gt;
* Name your token on line 83&lt;br /&gt;
* Change your token's symbol on line 84&lt;br /&gt;
* Set your token's decimal on line 85 (Most tokens have 18 decimal places but you can have any number you like)&lt;br /&gt;
* Change your token's supply on line 86&lt;br /&gt;
* Change the contract name on line 72&lt;br /&gt;
&lt;br /&gt;
'''Now we are going to add our code to TronBox.'''&lt;br /&gt;
* Enter contracts directory&lt;br /&gt;
&amp;lt;code&amp;gt;cd tronbox/contracts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make new file for our token and paste in the modified code from your text editor. Name the file like so: &amp;lt;name_of_token&amp;gt;.sol&lt;br /&gt;
&amp;lt;code&amp;gt;nano CoinWiki.sol&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Modify Migrations ==&lt;br /&gt;
&lt;br /&gt;
* Modify '2_deploy_contracts.js' to match your token&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano migrations/2_deploy_contracts.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Uncommit both lines that have commits and replace all instances of 'MyContract' with the name of your contract&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to exit and save your file&lt;br /&gt;
&lt;br /&gt;
== Compile and Deploy your Token ==&lt;br /&gt;
* Input the following code into your terminal to compile and deploy your smart contract to the Tron testnet. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox compile --compile-all&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;source .env &amp;amp;&amp;amp; tronbox migrate --reset --network shasta&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* After you migrate your smart contract to the Shasta testnet you will see two variables: base58 and hex. The hex value is your 'contract address'. To see your new token, paste the value into the search bar on [https://shasta.tronscan.org Shasta Tronscan].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
(base58) TMRAvTVVnCvkPjQMYJrEqeKUtqiwqn65ZN&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
(hex) 417d92767fbb81cfcc604e452dd6558039181fb33d&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1078</id>
		<title>How to create your own TRC20 token on Tron</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1078"/>
				<updated>2020-10-28T22:44:52Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: /* Get test TRX coins */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TRON is a decentralized blockchain content delivery platform to allow creators to publish and own their uploaded content. TRON originally existed as an [[ERC20]] token (TRX) operating on [[Ethereum]]'s blockchain but now exists as its own blockchain. [[Tron | TRON]] has its own set of token standards called [[TRC10]] and [[TRC20]]. In this guide I will walk you through creating your own TRC20 token.  &lt;br /&gt;
&lt;br /&gt;
== Download TronLink ==&lt;br /&gt;
* [[TronLink]] is a browser based extension for interacting with the TRON blockchain. It is available for chrome based browsers like Google Chrome and Brave. Add the extension to your browser by clicking the 'Add to Chrome' button. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlink.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the extension is added, click on it in the upper right hand corner. You will then be walked through some steps to create your wallet. First you are going to create a password then press 'Continue'. Then click on 'Create Wallet' like so:&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkpass.png|250px]]&lt;br /&gt;
[[File: Tronlinkcreate.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Now name your wallet and press 'Continue'. Next copy the mnemonic phrase to a safe place and press 'Continue'. The last step is to confirm the mnemonic phrase by selecting the words in order and press 'Confirm' to finish. You have now created a wallet!&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkwallet.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get test TRX coins ==&lt;br /&gt;
* Click the 'Settings' tab in TronLink and select 'Shasta Testnet' in the 'Node selection' box. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinktest.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next go [https://www.trongrid.io/shasta/#request here] and paste in your Tron address and click 'Submit'. 5,000 test TRX will then be deposited to your address.&lt;br /&gt;
&lt;br /&gt;
== Install TronBox ==&lt;br /&gt;
We will use [[TRON-BOX | TronBox]] to deploy our [[smart contracts | smart contract]] onto Tron's blockchain.&lt;br /&gt;
* Paste the following lines of code into your [[terminal]] to install tronbox.&lt;br /&gt;
&amp;lt;code&amp;gt;npm install -g tronbox&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make a directory on your computer for tronbox and then enter it&lt;br /&gt;
&amp;lt;code&amp;gt;mkdir tron-dev&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd tron-dev&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Initialize TronBox (this can take some time)&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox init&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring TronBox ===&lt;br /&gt;
We will need to copy your private key from our Tron wallet and place it in a .env file. Go to your TronLink extension and click 'Export' and copy your private key.&lt;br /&gt;
&lt;br /&gt;
Next create a '.env' file and paste in the following code with your private key. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano .env&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;export PRIVATE_KEY_SHASTA=your_private_key&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we will have to change the version compiler in &amp;lt;code&amp;gt;tronbox.js&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano tronbox.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll down to where is says &amp;lt;code&amp;gt;// version: '0.5.4'&amp;lt;/code&amp;gt; and uncomment the line (remove the '//') and enter '0.5.10'. Tronbox only supports the following Solidity versions: 0.4.24, 0.4.25, 0.5.4, 0.5.8, 0.5.10.&lt;br /&gt;
&lt;br /&gt;
* When you are done press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
== Modify our token's code==&lt;br /&gt;
Smart contracts on Tron are built using [[Solidity]], just like on Ethereum.&lt;br /&gt;
&lt;br /&gt;
* Copy the following code into your favorite code editor. I will be using [https://atom.io/ Atom].&lt;br /&gt;
* '''Here's the link to the code shown below''' [https://raw.githubusercontent.com/blockinator/smart-contract-repository/master/TRON/Token/TRC20.sol TRC20 Code]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
pragma solidity ^0.5.10;&lt;br /&gt;
&lt;br /&gt;
// Safe maths&lt;br /&gt;
contract SafeMath {&lt;br /&gt;
    function safeAdd(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        c = a + b;&lt;br /&gt;
        require(c &amp;gt;= a);&lt;br /&gt;
    }&lt;br /&gt;
    function safeSub(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        require(b &amp;lt;= a);&lt;br /&gt;
        c = a - b;&lt;br /&gt;
    }&lt;br /&gt;
    function safeMul(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        c = a * b;&lt;br /&gt;
        require(a == 0 || c / a == b);&lt;br /&gt;
    }&lt;br /&gt;
    function safeDiv(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        require(b &amp;gt; 0);&lt;br /&gt;
        c = a / b;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
  ERC Token Standard #20 Interface&lt;br /&gt;
  https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md&lt;br /&gt;
*/&lt;br /&gt;
contract ERC20Interface {&lt;br /&gt;
    function totalSupply() public view returns (uint);&lt;br /&gt;
    function balanceOf(address tokenOwner) public view returns (uint balance);&lt;br /&gt;
    function allowance(address tokenOwner, address spender) public view returns (uint remaining);&lt;br /&gt;
    function transfer(address to, uint tokens) public returns (bool success);&lt;br /&gt;
    function approve(address spender, uint tokens) public returns (bool success);&lt;br /&gt;
    function transferFrom(address from, address to, uint tokens) public returns (bool success);&lt;br /&gt;
&lt;br /&gt;
    event Transfer(address indexed from, address indexed to, uint tokens);&lt;br /&gt;
    event Approval(address indexed tokenOwner, address indexed spender, uint tokens);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Contract function to receive approval and execute function in one call&lt;br /&gt;
contract ApproveAndCallFallBack {&lt;br /&gt;
    function receiveApproval(address from, uint256 tokens, address token, bytes memory data) public;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Owned contract&lt;br /&gt;
contract Owned {&lt;br /&gt;
    address public owner;&lt;br /&gt;
    address public newOwner;&lt;br /&gt;
&lt;br /&gt;
    event OwnershipTransferred(address indexed _from, address indexed _to);&lt;br /&gt;
&lt;br /&gt;
    constructor() public {&lt;br /&gt;
        owner = msg.sender;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    modifier onlyOwner {&lt;br /&gt;
        require(msg.sender == owner);&lt;br /&gt;
        _;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function transferOwnership(address _newOwner) public onlyOwner {&lt;br /&gt;
        newOwner = _newOwner;&lt;br /&gt;
    }&lt;br /&gt;
    function acceptOwnership() public {&lt;br /&gt;
        require(msg.sender == newOwner);&lt;br /&gt;
        emit OwnershipTransferred(owner, newOwner);&lt;br /&gt;
        owner = newOwner;&lt;br /&gt;
        newOwner = address(0);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// ERC20 Token, with the addition of symbol, name and decimals and assisted token transfers&lt;br /&gt;
contract CoinWiki is ERC20Interface, Owned, SafeMath {&lt;br /&gt;
    string public symbol;&lt;br /&gt;
    string public  name;&lt;br /&gt;
    uint8 public decimals;&lt;br /&gt;
    uint public _totalSupply;&lt;br /&gt;
&lt;br /&gt;
    mapping(address =&amp;gt; uint) balances;&lt;br /&gt;
    mapping(address =&amp;gt; mapping(address =&amp;gt; uint)) allowed;&lt;br /&gt;
&lt;br /&gt;
    // Constructor&lt;br /&gt;
    constructor() public {&lt;br /&gt;
        name = &amp;quot;CoinWiki Token&amp;quot;;&lt;br /&gt;
        symbol = &amp;quot;CWT&amp;quot;;&lt;br /&gt;
        decimals = 18;&lt;br /&gt;
        _totalSupply = 1000000000 * (10 ** uint256(decimals));&lt;br /&gt;
        balances[msg.sender] = _totalSupply;&lt;br /&gt;
        emit Transfer(address(0), msg.sender, _totalSupply);&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Total supply&lt;br /&gt;
    function totalSupply() public view returns (uint) {&lt;br /&gt;
        return _totalSupply  - balances[address(0)];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Get the token balance for account tokenOwner&lt;br /&gt;
    function balanceOf(address tokenOwner) public view returns (uint balance) {&lt;br /&gt;
        return balances[tokenOwner];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Transfer the balance from token owner's account to to account&lt;br /&gt;
    function transfer(address to, uint tokens) public returns (bool success) {&lt;br /&gt;
        balances[msg.sender] = safeSub(balances[msg.sender], tokens);&lt;br /&gt;
        balances[to] = safeAdd(balances[to], tokens);&lt;br /&gt;
        emit Transfer(msg.sender, to, tokens);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    /**&lt;br /&gt;
     Token owner can approve for spender to transferFrom(...) tokens&lt;br /&gt;
     from the token owner's account&lt;br /&gt;
&lt;br /&gt;
     https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md&lt;br /&gt;
     recommends that there are no checks for the approval double-spend attack&lt;br /&gt;
     as this should be implemented in user interfaces&lt;br /&gt;
    */&lt;br /&gt;
    function approve(address spender, uint tokens) public returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][spender] = tokens;&lt;br /&gt;
        emit Approval(msg.sender, spender, tokens);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    /**&lt;br /&gt;
     Transfer tokens from the from account to the to account&lt;br /&gt;
     The calling account must already have sufficient tokens approve(...)-d&lt;br /&gt;
     for spending from the from account and&lt;br /&gt;
     - From account must have sufficient balance to transfer&lt;br /&gt;
     - Spender must have sufficient allowance to transfer&lt;br /&gt;
     - 0 value transfers are allowed&lt;br /&gt;
    */&lt;br /&gt;
    function transferFrom(address from, address to, uint tokens) public returns (bool success) {&lt;br /&gt;
        balances[from] = safeSub(balances[from], tokens);&lt;br /&gt;
        allowed[from][msg.sender] = safeSub(allowed[from][msg.sender], tokens);&lt;br /&gt;
        balances[to] = safeAdd(balances[to], tokens);&lt;br /&gt;
        emit Transfer(from, to, tokens);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Returns the amount of tokens approved by the owner that can be transferred to the spender's account&lt;br /&gt;
    function allowance(address tokenOwner, address spender) public view returns (uint remaining) {&lt;br /&gt;
        return allowed[tokenOwner][spender];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Token owner can approve for spender to transferFrom(...) tokens from the token owner's account.&lt;br /&gt;
    function approveAndCall(address spender, uint tokens, bytes memory data) public returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][spender] = tokens;&lt;br /&gt;
        emit Approval(msg.sender, spender, tokens);&lt;br /&gt;
        ApproveAndCallFallBack(spender).receiveApproval(msg.sender, tokens, address(this), data);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Send back ETH&lt;br /&gt;
    function () external payable {&lt;br /&gt;
        revert();&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Owner can transfer out any accidentally sent ERC20 tokens&lt;br /&gt;
    function transferAnyERC20Token(address tokenAddress, uint tokens) public onlyOwner returns (bool success) {&lt;br /&gt;
        return ERC20Interface(tokenAddress).transfer(owner, tokens);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Now let's configure your token:'''&lt;br /&gt;
* Name your token on line 83&lt;br /&gt;
* Change your token's symbol on line 84&lt;br /&gt;
* Set your token's decimal on line 85 (Most tokens have 18 decimal places but you can have any number you like)&lt;br /&gt;
* Change your token's supply on line 86&lt;br /&gt;
* Change the contract name on line 72&lt;br /&gt;
&lt;br /&gt;
'''Now we are going to add our code to TronBox.'''&lt;br /&gt;
* Enter contracts directory&lt;br /&gt;
&amp;lt;code&amp;gt;cd tronbox/contracts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make new file for our token and paste in the modified code from your text editor. Name the file like so: &amp;lt;name_of_token&amp;gt;.sol&lt;br /&gt;
&amp;lt;code&amp;gt;nano CoinWiki.sol&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Modify Migrations ==&lt;br /&gt;
&lt;br /&gt;
* Modify '2_deploy_contracts.js' to match your token&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano migrations/2_deploy_contracts.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Uncommit both lines that have commits and replace all instances of 'MyContract' with the name of your contract&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to exit and save your file&lt;br /&gt;
&lt;br /&gt;
== Compile and Deploy your Token ==&lt;br /&gt;
* Input the following code into your terminal to compile and deploy your smart contract to the Tron testnet. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox compile --compile-all&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;source .env &amp;amp;&amp;amp; tronbox migrate --reset --network shasta&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* After you migrate your smart contract to the Shasta testnet you will see two variables: base58 and hex. The hex value is your 'contract address'. To see your new token, paste the value into the search bar on [https://shasta.tronscan.org Shasta Tronscan].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
(base58) TVEfcAw4BaGWMzR8HxRszhLZqHTRgru2rx&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
(hex) 41d356d6a077e97e3f24fd17978b278d285c360ee0&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1077</id>
		<title>How to create your own TRC20 token on Tron</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1077"/>
				<updated>2020-10-28T22:39:41Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: /* Configuring TronBox */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TRON is a decentralized blockchain content delivery platform to allow creators to publish and own their uploaded content. TRON originally existed as an [[ERC20]] token (TRX) operating on [[Ethereum]]'s blockchain but now exists as its own blockchain. [[Tron | TRON]] has its own set of token standards called [[TRC10]] and [[TRC20]]. In this guide I will walk you through creating your own TRC20 token.  &lt;br /&gt;
&lt;br /&gt;
== Download TronLink ==&lt;br /&gt;
* [[TronLink]] is a browser based extension for interacting with the TRON blockchain. It is available for chrome based browsers like Google Chrome and Brave. Add the extension to your browser by clicking the 'Add to Chrome' button. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlink.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the extension is added, click on it in the upper right hand corner. You will then be walked through some steps to create your wallet. First you are going to create a password then press 'Continue'. Then click on 'Create Wallet' like so:&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkpass.png|250px]]&lt;br /&gt;
[[File: Tronlinkcreate.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Now name your wallet and press 'Continue'. Next copy the mnemonic phrase to a safe place and press 'Continue'. The last step is to confirm the mnemonic phrase by selecting the words in order and press 'Confirm' to finish. You have now created a wallet!&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkwallet.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get test TRX coins ==&lt;br /&gt;
* Click the 'Settings' tab in TronLink and select 'Shasta Testnet' in the 'Node selection' box. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinktest.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next go [https://www.trongrid.io/shasta/#request here] and paste in your Tron address and click 'Submit'. 10,000 text TRX will then be deposited to your address.&lt;br /&gt;
&lt;br /&gt;
== Install TronBox ==&lt;br /&gt;
We will use [[TRON-BOX | TronBox]] to deploy our [[smart contracts | smart contract]] onto Tron's blockchain.&lt;br /&gt;
* Paste the following lines of code into your [[terminal]] to install tronbox.&lt;br /&gt;
&amp;lt;code&amp;gt;npm install -g tronbox&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make a directory on your computer for tronbox and then enter it&lt;br /&gt;
&amp;lt;code&amp;gt;mkdir tron-dev&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd tron-dev&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Initialize TronBox (this can take some time)&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox init&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring TronBox ===&lt;br /&gt;
We will need to copy your private key from our Tron wallet and place it in a .env file. Go to your TronLink extension and click 'Export' and copy your private key.&lt;br /&gt;
&lt;br /&gt;
Next create a '.env' file and paste in the following code with your private key. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano .env&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;export PRIVATE_KEY_SHASTA=your_private_key&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we will have to change the version compiler in &amp;lt;code&amp;gt;tronbox.js&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano tronbox.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll down to where is says &amp;lt;code&amp;gt;// version: '0.5.4'&amp;lt;/code&amp;gt; and uncomment the line (remove the '//') and enter '0.5.10'. Tronbox only supports the following Solidity versions: 0.4.24, 0.4.25, 0.5.4, 0.5.8, 0.5.10.&lt;br /&gt;
&lt;br /&gt;
* When you are done press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
== Modify our token's code==&lt;br /&gt;
Smart contracts on Tron are built using [[Solidity]], just like on Ethereum.&lt;br /&gt;
&lt;br /&gt;
* Copy the following code into your favorite code editor. I will be using [https://atom.io/ Atom].&lt;br /&gt;
* '''Here's the link to the code shown below''' [https://raw.githubusercontent.com/blockinator/smart-contract-repository/master/TRON/Token/TRC20.sol TRC20 Code]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
pragma solidity ^0.5.10;&lt;br /&gt;
&lt;br /&gt;
// Safe maths&lt;br /&gt;
contract SafeMath {&lt;br /&gt;
    function safeAdd(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        c = a + b;&lt;br /&gt;
        require(c &amp;gt;= a);&lt;br /&gt;
    }&lt;br /&gt;
    function safeSub(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        require(b &amp;lt;= a);&lt;br /&gt;
        c = a - b;&lt;br /&gt;
    }&lt;br /&gt;
    function safeMul(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        c = a * b;&lt;br /&gt;
        require(a == 0 || c / a == b);&lt;br /&gt;
    }&lt;br /&gt;
    function safeDiv(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        require(b &amp;gt; 0);&lt;br /&gt;
        c = a / b;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
  ERC Token Standard #20 Interface&lt;br /&gt;
  https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md&lt;br /&gt;
*/&lt;br /&gt;
contract ERC20Interface {&lt;br /&gt;
    function totalSupply() public view returns (uint);&lt;br /&gt;
    function balanceOf(address tokenOwner) public view returns (uint balance);&lt;br /&gt;
    function allowance(address tokenOwner, address spender) public view returns (uint remaining);&lt;br /&gt;
    function transfer(address to, uint tokens) public returns (bool success);&lt;br /&gt;
    function approve(address spender, uint tokens) public returns (bool success);&lt;br /&gt;
    function transferFrom(address from, address to, uint tokens) public returns (bool success);&lt;br /&gt;
&lt;br /&gt;
    event Transfer(address indexed from, address indexed to, uint tokens);&lt;br /&gt;
    event Approval(address indexed tokenOwner, address indexed spender, uint tokens);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Contract function to receive approval and execute function in one call&lt;br /&gt;
contract ApproveAndCallFallBack {&lt;br /&gt;
    function receiveApproval(address from, uint256 tokens, address token, bytes memory data) public;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Owned contract&lt;br /&gt;
contract Owned {&lt;br /&gt;
    address public owner;&lt;br /&gt;
    address public newOwner;&lt;br /&gt;
&lt;br /&gt;
    event OwnershipTransferred(address indexed _from, address indexed _to);&lt;br /&gt;
&lt;br /&gt;
    constructor() public {&lt;br /&gt;
        owner = msg.sender;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    modifier onlyOwner {&lt;br /&gt;
        require(msg.sender == owner);&lt;br /&gt;
        _;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function transferOwnership(address _newOwner) public onlyOwner {&lt;br /&gt;
        newOwner = _newOwner;&lt;br /&gt;
    }&lt;br /&gt;
    function acceptOwnership() public {&lt;br /&gt;
        require(msg.sender == newOwner);&lt;br /&gt;
        emit OwnershipTransferred(owner, newOwner);&lt;br /&gt;
        owner = newOwner;&lt;br /&gt;
        newOwner = address(0);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// ERC20 Token, with the addition of symbol, name and decimals and assisted token transfers&lt;br /&gt;
contract CoinWiki is ERC20Interface, Owned, SafeMath {&lt;br /&gt;
    string public symbol;&lt;br /&gt;
    string public  name;&lt;br /&gt;
    uint8 public decimals;&lt;br /&gt;
    uint public _totalSupply;&lt;br /&gt;
&lt;br /&gt;
    mapping(address =&amp;gt; uint) balances;&lt;br /&gt;
    mapping(address =&amp;gt; mapping(address =&amp;gt; uint)) allowed;&lt;br /&gt;
&lt;br /&gt;
    // Constructor&lt;br /&gt;
    constructor() public {&lt;br /&gt;
        name = &amp;quot;CoinWiki Token&amp;quot;;&lt;br /&gt;
        symbol = &amp;quot;CWT&amp;quot;;&lt;br /&gt;
        decimals = 18;&lt;br /&gt;
        _totalSupply = 1000000000 * (10 ** uint256(decimals));&lt;br /&gt;
        balances[msg.sender] = _totalSupply;&lt;br /&gt;
        emit Transfer(address(0), msg.sender, _totalSupply);&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Total supply&lt;br /&gt;
    function totalSupply() public view returns (uint) {&lt;br /&gt;
        return _totalSupply  - balances[address(0)];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Get the token balance for account tokenOwner&lt;br /&gt;
    function balanceOf(address tokenOwner) public view returns (uint balance) {&lt;br /&gt;
        return balances[tokenOwner];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Transfer the balance from token owner's account to to account&lt;br /&gt;
    function transfer(address to, uint tokens) public returns (bool success) {&lt;br /&gt;
        balances[msg.sender] = safeSub(balances[msg.sender], tokens);&lt;br /&gt;
        balances[to] = safeAdd(balances[to], tokens);&lt;br /&gt;
        emit Transfer(msg.sender, to, tokens);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    /**&lt;br /&gt;
     Token owner can approve for spender to transferFrom(...) tokens&lt;br /&gt;
     from the token owner's account&lt;br /&gt;
&lt;br /&gt;
     https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md&lt;br /&gt;
     recommends that there are no checks for the approval double-spend attack&lt;br /&gt;
     as this should be implemented in user interfaces&lt;br /&gt;
    */&lt;br /&gt;
    function approve(address spender, uint tokens) public returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][spender] = tokens;&lt;br /&gt;
        emit Approval(msg.sender, spender, tokens);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    /**&lt;br /&gt;
     Transfer tokens from the from account to the to account&lt;br /&gt;
     The calling account must already have sufficient tokens approve(...)-d&lt;br /&gt;
     for spending from the from account and&lt;br /&gt;
     - From account must have sufficient balance to transfer&lt;br /&gt;
     - Spender must have sufficient allowance to transfer&lt;br /&gt;
     - 0 value transfers are allowed&lt;br /&gt;
    */&lt;br /&gt;
    function transferFrom(address from, address to, uint tokens) public returns (bool success) {&lt;br /&gt;
        balances[from] = safeSub(balances[from], tokens);&lt;br /&gt;
        allowed[from][msg.sender] = safeSub(allowed[from][msg.sender], tokens);&lt;br /&gt;
        balances[to] = safeAdd(balances[to], tokens);&lt;br /&gt;
        emit Transfer(from, to, tokens);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Returns the amount of tokens approved by the owner that can be transferred to the spender's account&lt;br /&gt;
    function allowance(address tokenOwner, address spender) public view returns (uint remaining) {&lt;br /&gt;
        return allowed[tokenOwner][spender];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Token owner can approve for spender to transferFrom(...) tokens from the token owner's account.&lt;br /&gt;
    function approveAndCall(address spender, uint tokens, bytes memory data) public returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][spender] = tokens;&lt;br /&gt;
        emit Approval(msg.sender, spender, tokens);&lt;br /&gt;
        ApproveAndCallFallBack(spender).receiveApproval(msg.sender, tokens, address(this), data);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Send back ETH&lt;br /&gt;
    function () external payable {&lt;br /&gt;
        revert();&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Owner can transfer out any accidentally sent ERC20 tokens&lt;br /&gt;
    function transferAnyERC20Token(address tokenAddress, uint tokens) public onlyOwner returns (bool success) {&lt;br /&gt;
        return ERC20Interface(tokenAddress).transfer(owner, tokens);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Now let's configure your token:'''&lt;br /&gt;
* Name your token on line 83&lt;br /&gt;
* Change your token's symbol on line 84&lt;br /&gt;
* Set your token's decimal on line 85 (Most tokens have 18 decimal places but you can have any number you like)&lt;br /&gt;
* Change your token's supply on line 86&lt;br /&gt;
* Change the contract name on line 72&lt;br /&gt;
&lt;br /&gt;
'''Now we are going to add our code to TronBox.'''&lt;br /&gt;
* Enter contracts directory&lt;br /&gt;
&amp;lt;code&amp;gt;cd tronbox/contracts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make new file for our token and paste in the modified code from your text editor. Name the file like so: &amp;lt;name_of_token&amp;gt;.sol&lt;br /&gt;
&amp;lt;code&amp;gt;nano CoinWiki.sol&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Modify Migrations ==&lt;br /&gt;
&lt;br /&gt;
* Modify '2_deploy_contracts.js' to match your token&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano migrations/2_deploy_contracts.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Uncommit both lines that have commits and replace all instances of 'MyContract' with the name of your contract&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to exit and save your file&lt;br /&gt;
&lt;br /&gt;
== Compile and Deploy your Token ==&lt;br /&gt;
* Input the following code into your terminal to compile and deploy your smart contract to the Tron testnet. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox compile --compile-all&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;source .env &amp;amp;&amp;amp; tronbox migrate --reset --network shasta&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* After you migrate your smart contract to the Shasta testnet you will see two variables: base58 and hex. The hex value is your 'contract address'. To see your new token, paste the value into the search bar on [https://shasta.tronscan.org Shasta Tronscan].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
(base58) TVEfcAw4BaGWMzR8HxRszhLZqHTRgru2rx&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
(hex) 41d356d6a077e97e3f24fd17978b278d285c360ee0&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1076</id>
		<title>How to create your own TRC20 token on Tron</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1076"/>
				<updated>2020-10-28T22:38:18Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: /* Modify our token's code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TRON is a decentralized blockchain content delivery platform to allow creators to publish and own their uploaded content. TRON originally existed as an [[ERC20]] token (TRX) operating on [[Ethereum]]'s blockchain but now exists as its own blockchain. [[Tron | TRON]] has its own set of token standards called [[TRC10]] and [[TRC20]]. In this guide I will walk you through creating your own TRC20 token.  &lt;br /&gt;
&lt;br /&gt;
== Download TronLink ==&lt;br /&gt;
* [[TronLink]] is a browser based extension for interacting with the TRON blockchain. It is available for chrome based browsers like Google Chrome and Brave. Add the extension to your browser by clicking the 'Add to Chrome' button. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlink.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the extension is added, click on it in the upper right hand corner. You will then be walked through some steps to create your wallet. First you are going to create a password then press 'Continue'. Then click on 'Create Wallet' like so:&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkpass.png|250px]]&lt;br /&gt;
[[File: Tronlinkcreate.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Now name your wallet and press 'Continue'. Next copy the mnemonic phrase to a safe place and press 'Continue'. The last step is to confirm the mnemonic phrase by selecting the words in order and press 'Confirm' to finish. You have now created a wallet!&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkwallet.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get test TRX coins ==&lt;br /&gt;
* Click the 'Settings' tab in TronLink and select 'Shasta Testnet' in the 'Node selection' box. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinktest.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next go [https://www.trongrid.io/shasta/#request here] and paste in your Tron address and click 'Submit'. 10,000 text TRX will then be deposited to your address.&lt;br /&gt;
&lt;br /&gt;
== Install TronBox ==&lt;br /&gt;
We will use [[TRON-BOX | TronBox]] to deploy our [[smart contracts | smart contract]] onto Tron's blockchain.&lt;br /&gt;
* Paste the following lines of code into your [[terminal]] to install tronbox.&lt;br /&gt;
&amp;lt;code&amp;gt;npm install -g tronbox&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make a directory on your computer for tronbox and then enter it&lt;br /&gt;
&amp;lt;code&amp;gt;mkdir tron-dev&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd tron-dev&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Initialize TronBox (this can take some time)&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox init&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring TronBox ===&lt;br /&gt;
We will need to copy your private key from our Tron wallet and place it in a .env file. Go to your TronLink extension and click 'Export' and copy your private key.&lt;br /&gt;
&lt;br /&gt;
Next create a '.env' file and paste in the following code with your private key. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano .env&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;export PRIVATE_KEY_SHASTA=your_private_key&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we will have to change the version compiler in &amp;lt;code&amp;gt;tronbox.js&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano tronbox.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll down to where is says &amp;lt;code&amp;gt;// version: '0.5.4'&amp;lt;/code&amp;gt; and uncomment the line (remove the '//') and enter '0.4.24'. Tronbox only supports the following Solidity versions: 0.4.24, 0.4.25, 0.5.4, 0.5.8, 0.5.10.&lt;br /&gt;
&lt;br /&gt;
* When you are done press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
== Modify our token's code==&lt;br /&gt;
Smart contracts on Tron are built using [[Solidity]], just like on Ethereum.&lt;br /&gt;
&lt;br /&gt;
* Copy the following code into your favorite code editor. I will be using [https://atom.io/ Atom].&lt;br /&gt;
* '''Here's the link to the code shown below''' [https://raw.githubusercontent.com/blockinator/smart-contract-repository/master/TRON/Token/TRC20.sol TRC20 Code]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
pragma solidity ^0.5.10;&lt;br /&gt;
&lt;br /&gt;
// Safe maths&lt;br /&gt;
contract SafeMath {&lt;br /&gt;
    function safeAdd(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        c = a + b;&lt;br /&gt;
        require(c &amp;gt;= a);&lt;br /&gt;
    }&lt;br /&gt;
    function safeSub(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        require(b &amp;lt;= a);&lt;br /&gt;
        c = a - b;&lt;br /&gt;
    }&lt;br /&gt;
    function safeMul(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        c = a * b;&lt;br /&gt;
        require(a == 0 || c / a == b);&lt;br /&gt;
    }&lt;br /&gt;
    function safeDiv(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        require(b &amp;gt; 0);&lt;br /&gt;
        c = a / b;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
  ERC Token Standard #20 Interface&lt;br /&gt;
  https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md&lt;br /&gt;
*/&lt;br /&gt;
contract ERC20Interface {&lt;br /&gt;
    function totalSupply() public view returns (uint);&lt;br /&gt;
    function balanceOf(address tokenOwner) public view returns (uint balance);&lt;br /&gt;
    function allowance(address tokenOwner, address spender) public view returns (uint remaining);&lt;br /&gt;
    function transfer(address to, uint tokens) public returns (bool success);&lt;br /&gt;
    function approve(address spender, uint tokens) public returns (bool success);&lt;br /&gt;
    function transferFrom(address from, address to, uint tokens) public returns (bool success);&lt;br /&gt;
&lt;br /&gt;
    event Transfer(address indexed from, address indexed to, uint tokens);&lt;br /&gt;
    event Approval(address indexed tokenOwner, address indexed spender, uint tokens);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Contract function to receive approval and execute function in one call&lt;br /&gt;
contract ApproveAndCallFallBack {&lt;br /&gt;
    function receiveApproval(address from, uint256 tokens, address token, bytes memory data) public;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Owned contract&lt;br /&gt;
contract Owned {&lt;br /&gt;
    address public owner;&lt;br /&gt;
    address public newOwner;&lt;br /&gt;
&lt;br /&gt;
    event OwnershipTransferred(address indexed _from, address indexed _to);&lt;br /&gt;
&lt;br /&gt;
    constructor() public {&lt;br /&gt;
        owner = msg.sender;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    modifier onlyOwner {&lt;br /&gt;
        require(msg.sender == owner);&lt;br /&gt;
        _;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function transferOwnership(address _newOwner) public onlyOwner {&lt;br /&gt;
        newOwner = _newOwner;&lt;br /&gt;
    }&lt;br /&gt;
    function acceptOwnership() public {&lt;br /&gt;
        require(msg.sender == newOwner);&lt;br /&gt;
        emit OwnershipTransferred(owner, newOwner);&lt;br /&gt;
        owner = newOwner;&lt;br /&gt;
        newOwner = address(0);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// ERC20 Token, with the addition of symbol, name and decimals and assisted token transfers&lt;br /&gt;
contract CoinWiki is ERC20Interface, Owned, SafeMath {&lt;br /&gt;
    string public symbol;&lt;br /&gt;
    string public  name;&lt;br /&gt;
    uint8 public decimals;&lt;br /&gt;
    uint public _totalSupply;&lt;br /&gt;
&lt;br /&gt;
    mapping(address =&amp;gt; uint) balances;&lt;br /&gt;
    mapping(address =&amp;gt; mapping(address =&amp;gt; uint)) allowed;&lt;br /&gt;
&lt;br /&gt;
    // Constructor&lt;br /&gt;
    constructor() public {&lt;br /&gt;
        name = &amp;quot;CoinWiki Token&amp;quot;;&lt;br /&gt;
        symbol = &amp;quot;CWT&amp;quot;;&lt;br /&gt;
        decimals = 18;&lt;br /&gt;
        _totalSupply = 1000000000 * (10 ** uint256(decimals));&lt;br /&gt;
        balances[msg.sender] = _totalSupply;&lt;br /&gt;
        emit Transfer(address(0), msg.sender, _totalSupply);&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Total supply&lt;br /&gt;
    function totalSupply() public view returns (uint) {&lt;br /&gt;
        return _totalSupply  - balances[address(0)];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Get the token balance for account tokenOwner&lt;br /&gt;
    function balanceOf(address tokenOwner) public view returns (uint balance) {&lt;br /&gt;
        return balances[tokenOwner];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Transfer the balance from token owner's account to to account&lt;br /&gt;
    function transfer(address to, uint tokens) public returns (bool success) {&lt;br /&gt;
        balances[msg.sender] = safeSub(balances[msg.sender], tokens);&lt;br /&gt;
        balances[to] = safeAdd(balances[to], tokens);&lt;br /&gt;
        emit Transfer(msg.sender, to, tokens);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    /**&lt;br /&gt;
     Token owner can approve for spender to transferFrom(...) tokens&lt;br /&gt;
     from the token owner's account&lt;br /&gt;
&lt;br /&gt;
     https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md&lt;br /&gt;
     recommends that there are no checks for the approval double-spend attack&lt;br /&gt;
     as this should be implemented in user interfaces&lt;br /&gt;
    */&lt;br /&gt;
    function approve(address spender, uint tokens) public returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][spender] = tokens;&lt;br /&gt;
        emit Approval(msg.sender, spender, tokens);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    /**&lt;br /&gt;
     Transfer tokens from the from account to the to account&lt;br /&gt;
     The calling account must already have sufficient tokens approve(...)-d&lt;br /&gt;
     for spending from the from account and&lt;br /&gt;
     - From account must have sufficient balance to transfer&lt;br /&gt;
     - Spender must have sufficient allowance to transfer&lt;br /&gt;
     - 0 value transfers are allowed&lt;br /&gt;
    */&lt;br /&gt;
    function transferFrom(address from, address to, uint tokens) public returns (bool success) {&lt;br /&gt;
        balances[from] = safeSub(balances[from], tokens);&lt;br /&gt;
        allowed[from][msg.sender] = safeSub(allowed[from][msg.sender], tokens);&lt;br /&gt;
        balances[to] = safeAdd(balances[to], tokens);&lt;br /&gt;
        emit Transfer(from, to, tokens);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Returns the amount of tokens approved by the owner that can be transferred to the spender's account&lt;br /&gt;
    function allowance(address tokenOwner, address spender) public view returns (uint remaining) {&lt;br /&gt;
        return allowed[tokenOwner][spender];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Token owner can approve for spender to transferFrom(...) tokens from the token owner's account.&lt;br /&gt;
    function approveAndCall(address spender, uint tokens, bytes memory data) public returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][spender] = tokens;&lt;br /&gt;
        emit Approval(msg.sender, spender, tokens);&lt;br /&gt;
        ApproveAndCallFallBack(spender).receiveApproval(msg.sender, tokens, address(this), data);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Send back ETH&lt;br /&gt;
    function () external payable {&lt;br /&gt;
        revert();&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Owner can transfer out any accidentally sent ERC20 tokens&lt;br /&gt;
    function transferAnyERC20Token(address tokenAddress, uint tokens) public onlyOwner returns (bool success) {&lt;br /&gt;
        return ERC20Interface(tokenAddress).transfer(owner, tokens);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Now let's configure your token:'''&lt;br /&gt;
* Name your token on line 83&lt;br /&gt;
* Change your token's symbol on line 84&lt;br /&gt;
* Set your token's decimal on line 85 (Most tokens have 18 decimal places but you can have any number you like)&lt;br /&gt;
* Change your token's supply on line 86&lt;br /&gt;
* Change the contract name on line 72&lt;br /&gt;
&lt;br /&gt;
'''Now we are going to add our code to TronBox.'''&lt;br /&gt;
* Enter contracts directory&lt;br /&gt;
&amp;lt;code&amp;gt;cd tronbox/contracts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make new file for our token and paste in the modified code from your text editor. Name the file like so: &amp;lt;name_of_token&amp;gt;.sol&lt;br /&gt;
&amp;lt;code&amp;gt;nano CoinWiki.sol&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Modify Migrations ==&lt;br /&gt;
&lt;br /&gt;
* Modify '2_deploy_contracts.js' to match your token&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano migrations/2_deploy_contracts.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Uncommit both lines that have commits and replace all instances of 'MyContract' with the name of your contract&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to exit and save your file&lt;br /&gt;
&lt;br /&gt;
== Compile and Deploy your Token ==&lt;br /&gt;
* Input the following code into your terminal to compile and deploy your smart contract to the Tron testnet. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox compile --compile-all&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;source .env &amp;amp;&amp;amp; tronbox migrate --reset --network shasta&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* After you migrate your smart contract to the Shasta testnet you will see two variables: base58 and hex. The hex value is your 'contract address'. To see your new token, paste the value into the search bar on [https://shasta.tronscan.org Shasta Tronscan].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
(base58) TVEfcAw4BaGWMzR8HxRszhLZqHTRgru2rx&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
(hex) 41d356d6a077e97e3f24fd17978b278d285c360ee0&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1075</id>
		<title>How to create your own TRC20 token on Tron</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1075"/>
				<updated>2020-10-28T22:36:17Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: /* Modify our token's code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TRON is a decentralized blockchain content delivery platform to allow creators to publish and own their uploaded content. TRON originally existed as an [[ERC20]] token (TRX) operating on [[Ethereum]]'s blockchain but now exists as its own blockchain. [[Tron | TRON]] has its own set of token standards called [[TRC10]] and [[TRC20]]. In this guide I will walk you through creating your own TRC20 token.  &lt;br /&gt;
&lt;br /&gt;
== Download TronLink ==&lt;br /&gt;
* [[TronLink]] is a browser based extension for interacting with the TRON blockchain. It is available for chrome based browsers like Google Chrome and Brave. Add the extension to your browser by clicking the 'Add to Chrome' button. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlink.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the extension is added, click on it in the upper right hand corner. You will then be walked through some steps to create your wallet. First you are going to create a password then press 'Continue'. Then click on 'Create Wallet' like so:&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkpass.png|250px]]&lt;br /&gt;
[[File: Tronlinkcreate.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Now name your wallet and press 'Continue'. Next copy the mnemonic phrase to a safe place and press 'Continue'. The last step is to confirm the mnemonic phrase by selecting the words in order and press 'Confirm' to finish. You have now created a wallet!&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkwallet.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get test TRX coins ==&lt;br /&gt;
* Click the 'Settings' tab in TronLink and select 'Shasta Testnet' in the 'Node selection' box. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinktest.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next go [https://www.trongrid.io/shasta/#request here] and paste in your Tron address and click 'Submit'. 10,000 text TRX will then be deposited to your address.&lt;br /&gt;
&lt;br /&gt;
== Install TronBox ==&lt;br /&gt;
We will use [[TRON-BOX | TronBox]] to deploy our [[smart contracts | smart contract]] onto Tron's blockchain.&lt;br /&gt;
* Paste the following lines of code into your [[terminal]] to install tronbox.&lt;br /&gt;
&amp;lt;code&amp;gt;npm install -g tronbox&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make a directory on your computer for tronbox and then enter it&lt;br /&gt;
&amp;lt;code&amp;gt;mkdir tron-dev&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd tron-dev&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Initialize TronBox (this can take some time)&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox init&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring TronBox ===&lt;br /&gt;
We will need to copy your private key from our Tron wallet and place it in a .env file. Go to your TronLink extension and click 'Export' and copy your private key.&lt;br /&gt;
&lt;br /&gt;
Next create a '.env' file and paste in the following code with your private key. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano .env&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;export PRIVATE_KEY_SHASTA=your_private_key&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we will have to change the version compiler in &amp;lt;code&amp;gt;tronbox.js&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano tronbox.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll down to where is says &amp;lt;code&amp;gt;// version: '0.5.4'&amp;lt;/code&amp;gt; and uncomment the line (remove the '//') and enter '0.4.24'. Tronbox only supports the following Solidity versions: 0.4.24, 0.4.25, 0.5.4, 0.5.8, 0.5.10.&lt;br /&gt;
&lt;br /&gt;
* When you are done press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
== Modify our token's code==&lt;br /&gt;
Smart contracts on Tron are built using [[Solidity]], just like on Ethereum.&lt;br /&gt;
&lt;br /&gt;
* Copy the following code into your favorite code editor. I will be using [https://atom.io/ Atom].&lt;br /&gt;
* Here's the link to the code shown below [https://raw.githubusercontent.com/blockinator/smart-contract-repository/master/TRON/Token/TRC20.sol TRC20 Code]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
pragma solidity ^0.5.10;&lt;br /&gt;
&lt;br /&gt;
// Safe maths&lt;br /&gt;
contract SafeMath {&lt;br /&gt;
    function safeAdd(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        c = a + b;&lt;br /&gt;
        require(c &amp;gt;= a);&lt;br /&gt;
    }&lt;br /&gt;
    function safeSub(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        require(b &amp;lt;= a);&lt;br /&gt;
        c = a - b;&lt;br /&gt;
    }&lt;br /&gt;
    function safeMul(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        c = a * b;&lt;br /&gt;
        require(a == 0 || c / a == b);&lt;br /&gt;
    }&lt;br /&gt;
    function safeDiv(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        require(b &amp;gt; 0);&lt;br /&gt;
        c = a / b;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
  ERC Token Standard #20 Interface&lt;br /&gt;
  https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md&lt;br /&gt;
*/&lt;br /&gt;
contract ERC20Interface {&lt;br /&gt;
    function totalSupply() public view returns (uint);&lt;br /&gt;
    function balanceOf(address tokenOwner) public view returns (uint balance);&lt;br /&gt;
    function allowance(address tokenOwner, address spender) public view returns (uint remaining);&lt;br /&gt;
    function transfer(address to, uint tokens) public returns (bool success);&lt;br /&gt;
    function approve(address spender, uint tokens) public returns (bool success);&lt;br /&gt;
    function transferFrom(address from, address to, uint tokens) public returns (bool success);&lt;br /&gt;
&lt;br /&gt;
    event Transfer(address indexed from, address indexed to, uint tokens);&lt;br /&gt;
    event Approval(address indexed tokenOwner, address indexed spender, uint tokens);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Contract function to receive approval and execute function in one call&lt;br /&gt;
contract ApproveAndCallFallBack {&lt;br /&gt;
    function receiveApproval(address from, uint256 tokens, address token, bytes memory data) public;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Owned contract&lt;br /&gt;
contract Owned {&lt;br /&gt;
    address public owner;&lt;br /&gt;
    address public newOwner;&lt;br /&gt;
&lt;br /&gt;
    event OwnershipTransferred(address indexed _from, address indexed _to);&lt;br /&gt;
&lt;br /&gt;
    constructor() public {&lt;br /&gt;
        owner = msg.sender;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    modifier onlyOwner {&lt;br /&gt;
        require(msg.sender == owner);&lt;br /&gt;
        _;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function transferOwnership(address _newOwner) public onlyOwner {&lt;br /&gt;
        newOwner = _newOwner;&lt;br /&gt;
    }&lt;br /&gt;
    function acceptOwnership() public {&lt;br /&gt;
        require(msg.sender == newOwner);&lt;br /&gt;
        emit OwnershipTransferred(owner, newOwner);&lt;br /&gt;
        owner = newOwner;&lt;br /&gt;
        newOwner = address(0);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// ERC20 Token, with the addition of symbol, name and decimals and assisted token transfers&lt;br /&gt;
contract CoinWiki is ERC20Interface, Owned, SafeMath {&lt;br /&gt;
    string public symbol;&lt;br /&gt;
    string public  name;&lt;br /&gt;
    uint8 public decimals;&lt;br /&gt;
    uint public _totalSupply;&lt;br /&gt;
&lt;br /&gt;
    mapping(address =&amp;gt; uint) balances;&lt;br /&gt;
    mapping(address =&amp;gt; mapping(address =&amp;gt; uint)) allowed;&lt;br /&gt;
&lt;br /&gt;
    // Constructor&lt;br /&gt;
    constructor() public {&lt;br /&gt;
        name = &amp;quot;CoinWiki Token&amp;quot;;&lt;br /&gt;
        symbol = &amp;quot;CWT&amp;quot;;&lt;br /&gt;
        decimals = 18;&lt;br /&gt;
        _totalSupply = 1000000000 * (10 ** uint256(decimals));&lt;br /&gt;
        balances[msg.sender] = _totalSupply;&lt;br /&gt;
        emit Transfer(address(0), msg.sender, _totalSupply);&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Total supply&lt;br /&gt;
    function totalSupply() public view returns (uint) {&lt;br /&gt;
        return _totalSupply  - balances[address(0)];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Get the token balance for account tokenOwner&lt;br /&gt;
    function balanceOf(address tokenOwner) public view returns (uint balance) {&lt;br /&gt;
        return balances[tokenOwner];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Transfer the balance from token owner's account to to account&lt;br /&gt;
    function transfer(address to, uint tokens) public returns (bool success) {&lt;br /&gt;
        balances[msg.sender] = safeSub(balances[msg.sender], tokens);&lt;br /&gt;
        balances[to] = safeAdd(balances[to], tokens);&lt;br /&gt;
        emit Transfer(msg.sender, to, tokens);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    /**&lt;br /&gt;
     Token owner can approve for spender to transferFrom(...) tokens&lt;br /&gt;
     from the token owner's account&lt;br /&gt;
&lt;br /&gt;
     https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md&lt;br /&gt;
     recommends that there are no checks for the approval double-spend attack&lt;br /&gt;
     as this should be implemented in user interfaces&lt;br /&gt;
    */&lt;br /&gt;
    function approve(address spender, uint tokens) public returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][spender] = tokens;&lt;br /&gt;
        emit Approval(msg.sender, spender, tokens);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    /**&lt;br /&gt;
     Transfer tokens from the from account to the to account&lt;br /&gt;
     The calling account must already have sufficient tokens approve(...)-d&lt;br /&gt;
     for spending from the from account and&lt;br /&gt;
     - From account must have sufficient balance to transfer&lt;br /&gt;
     - Spender must have sufficient allowance to transfer&lt;br /&gt;
     - 0 value transfers are allowed&lt;br /&gt;
    */&lt;br /&gt;
    function transferFrom(address from, address to, uint tokens) public returns (bool success) {&lt;br /&gt;
        balances[from] = safeSub(balances[from], tokens);&lt;br /&gt;
        allowed[from][msg.sender] = safeSub(allowed[from][msg.sender], tokens);&lt;br /&gt;
        balances[to] = safeAdd(balances[to], tokens);&lt;br /&gt;
        emit Transfer(from, to, tokens);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Returns the amount of tokens approved by the owner that can be transferred to the spender's account&lt;br /&gt;
    function allowance(address tokenOwner, address spender) public view returns (uint remaining) {&lt;br /&gt;
        return allowed[tokenOwner][spender];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Token owner can approve for spender to transferFrom(...) tokens from the token owner's account.&lt;br /&gt;
    function approveAndCall(address spender, uint tokens, bytes memory data) public returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][spender] = tokens;&lt;br /&gt;
        emit Approval(msg.sender, spender, tokens);&lt;br /&gt;
        ApproveAndCallFallBack(spender).receiveApproval(msg.sender, tokens, address(this), data);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Send back ETH&lt;br /&gt;
    function () external payable {&lt;br /&gt;
        revert();&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Owner can transfer out any accidentally sent ERC20 tokens&lt;br /&gt;
    function transferAnyERC20Token(address tokenAddress, uint tokens) public onlyOwner returns (bool success) {&lt;br /&gt;
        return ERC20Interface(tokenAddress).transfer(owner, tokens);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Name your token on line 83&lt;br /&gt;
* Change your token's symbol on line 84&lt;br /&gt;
* Set your token's decimal on line 85 (Most tokens have 18 decimal places but you can have any number you like)&lt;br /&gt;
* Change your token's supply on line 86&lt;br /&gt;
* Change the contract name on line 72&lt;br /&gt;
&lt;br /&gt;
Now we are going to add our code to TronBox. &lt;br /&gt;
* Enter contracts directory&lt;br /&gt;
&amp;lt;code&amp;gt;cd tronbox/contracts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make new file for our token and paste in the modified code from your text editor. Name the file like so: &amp;lt;name_of_token&amp;gt;.sol&lt;br /&gt;
&amp;lt;code&amp;gt;nano CoinWiki.sol&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Modify Migrations ==&lt;br /&gt;
&lt;br /&gt;
* Modify '2_deploy_contracts.js' to match your token&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano migrations/2_deploy_contracts.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Uncommit both lines that have commits and replace all instances of 'MyContract' with the name of your contract&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to exit and save your file&lt;br /&gt;
&lt;br /&gt;
== Compile and Deploy your Token ==&lt;br /&gt;
* Input the following code into your terminal to compile and deploy your smart contract to the Tron testnet. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox compile --compile-all&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;source .env &amp;amp;&amp;amp; tronbox migrate --reset --network shasta&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* After you migrate your smart contract to the Shasta testnet you will see two variables: base58 and hex. The hex value is your 'contract address'. To see your new token, paste the value into the search bar on [https://shasta.tronscan.org Shasta Tronscan].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
(base58) TVEfcAw4BaGWMzR8HxRszhLZqHTRgru2rx&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
(hex) 41d356d6a077e97e3f24fd17978b278d285c360ee0&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1074</id>
		<title>How to create your own TRC20 token on Tron</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1074"/>
				<updated>2020-10-28T22:33:31Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: /* Modify our token's code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TRON is a decentralized blockchain content delivery platform to allow creators to publish and own their uploaded content. TRON originally existed as an [[ERC20]] token (TRX) operating on [[Ethereum]]'s blockchain but now exists as its own blockchain. [[Tron | TRON]] has its own set of token standards called [[TRC10]] and [[TRC20]]. In this guide I will walk you through creating your own TRC20 token.  &lt;br /&gt;
&lt;br /&gt;
== Download TronLink ==&lt;br /&gt;
* [[TronLink]] is a browser based extension for interacting with the TRON blockchain. It is available for chrome based browsers like Google Chrome and Brave. Add the extension to your browser by clicking the 'Add to Chrome' button. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlink.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the extension is added, click on it in the upper right hand corner. You will then be walked through some steps to create your wallet. First you are going to create a password then press 'Continue'. Then click on 'Create Wallet' like so:&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkpass.png|250px]]&lt;br /&gt;
[[File: Tronlinkcreate.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Now name your wallet and press 'Continue'. Next copy the mnemonic phrase to a safe place and press 'Continue'. The last step is to confirm the mnemonic phrase by selecting the words in order and press 'Confirm' to finish. You have now created a wallet!&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkwallet.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get test TRX coins ==&lt;br /&gt;
* Click the 'Settings' tab in TronLink and select 'Shasta Testnet' in the 'Node selection' box. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinktest.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next go [https://www.trongrid.io/shasta/#request here] and paste in your Tron address and click 'Submit'. 10,000 text TRX will then be deposited to your address.&lt;br /&gt;
&lt;br /&gt;
== Install TronBox ==&lt;br /&gt;
We will use [[TRON-BOX | TronBox]] to deploy our [[smart contracts | smart contract]] onto Tron's blockchain.&lt;br /&gt;
* Paste the following lines of code into your [[terminal]] to install tronbox.&lt;br /&gt;
&amp;lt;code&amp;gt;npm install -g tronbox&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make a directory on your computer for tronbox and then enter it&lt;br /&gt;
&amp;lt;code&amp;gt;mkdir tron-dev&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd tron-dev&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Initialize TronBox (this can take some time)&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox init&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring TronBox ===&lt;br /&gt;
We will need to copy your private key from our Tron wallet and place it in a .env file. Go to your TronLink extension and click 'Export' and copy your private key.&lt;br /&gt;
&lt;br /&gt;
Next create a '.env' file and paste in the following code with your private key. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano .env&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;export PRIVATE_KEY_SHASTA=your_private_key&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we will have to change the version compiler in &amp;lt;code&amp;gt;tronbox.js&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano tronbox.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll down to where is says &amp;lt;code&amp;gt;// version: '0.5.4'&amp;lt;/code&amp;gt; and uncomment the line (remove the '//') and enter '0.4.24'. Tronbox only supports the following Solidity versions: 0.4.24, 0.4.25, 0.5.4, 0.5.8, 0.5.10.&lt;br /&gt;
&lt;br /&gt;
* When you are done press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
== Modify our token's code==&lt;br /&gt;
Smart contracts on Tron are built using Solidity, just like on Ethereum. So we will use a modified version of a ERC20 token code created by [https://github.com/ConsenSys/Token-Factory TokenFactory] to create our TRC20 token.&lt;br /&gt;
&lt;br /&gt;
* Copy the following code into your favorite code editor. I will be using [https://atom.io/ Atom].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
pragma solidity ^0.5.10;&lt;br /&gt;
&lt;br /&gt;
// Safe maths&lt;br /&gt;
contract SafeMath {&lt;br /&gt;
    function safeAdd(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        c = a + b;&lt;br /&gt;
        require(c &amp;gt;= a);&lt;br /&gt;
    }&lt;br /&gt;
    function safeSub(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        require(b &amp;lt;= a);&lt;br /&gt;
        c = a - b;&lt;br /&gt;
    }&lt;br /&gt;
    function safeMul(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        c = a * b;&lt;br /&gt;
        require(a == 0 || c / a == b);&lt;br /&gt;
    }&lt;br /&gt;
    function safeDiv(uint a, uint b) public pure returns (uint c) {&lt;br /&gt;
        require(b &amp;gt; 0);&lt;br /&gt;
        c = a / b;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
  ERC Token Standard #20 Interface&lt;br /&gt;
  https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md&lt;br /&gt;
*/&lt;br /&gt;
contract ERC20Interface {&lt;br /&gt;
    function totalSupply() public view returns (uint);&lt;br /&gt;
    function balanceOf(address tokenOwner) public view returns (uint balance);&lt;br /&gt;
    function allowance(address tokenOwner, address spender) public view returns (uint remaining);&lt;br /&gt;
    function transfer(address to, uint tokens) public returns (bool success);&lt;br /&gt;
    function approve(address spender, uint tokens) public returns (bool success);&lt;br /&gt;
    function transferFrom(address from, address to, uint tokens) public returns (bool success);&lt;br /&gt;
&lt;br /&gt;
    event Transfer(address indexed from, address indexed to, uint tokens);&lt;br /&gt;
    event Approval(address indexed tokenOwner, address indexed spender, uint tokens);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Contract function to receive approval and execute function in one call&lt;br /&gt;
contract ApproveAndCallFallBack {&lt;br /&gt;
    function receiveApproval(address from, uint256 tokens, address token, bytes memory data) public;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Owned contract&lt;br /&gt;
contract Owned {&lt;br /&gt;
    address public owner;&lt;br /&gt;
    address public newOwner;&lt;br /&gt;
&lt;br /&gt;
    event OwnershipTransferred(address indexed _from, address indexed _to);&lt;br /&gt;
&lt;br /&gt;
    constructor() public {&lt;br /&gt;
        owner = msg.sender;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    modifier onlyOwner {&lt;br /&gt;
        require(msg.sender == owner);&lt;br /&gt;
        _;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function transferOwnership(address _newOwner) public onlyOwner {&lt;br /&gt;
        newOwner = _newOwner;&lt;br /&gt;
    }&lt;br /&gt;
    function acceptOwnership() public {&lt;br /&gt;
        require(msg.sender == newOwner);&lt;br /&gt;
        emit OwnershipTransferred(owner, newOwner);&lt;br /&gt;
        owner = newOwner;&lt;br /&gt;
        newOwner = address(0);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// ERC20 Token, with the addition of symbol, name and decimals and assisted token transfers&lt;br /&gt;
contract CoinWiki is ERC20Interface, Owned, SafeMath {&lt;br /&gt;
    string public symbol;&lt;br /&gt;
    string public  name;&lt;br /&gt;
    uint8 public decimals;&lt;br /&gt;
    uint public _totalSupply;&lt;br /&gt;
&lt;br /&gt;
    mapping(address =&amp;gt; uint) balances;&lt;br /&gt;
    mapping(address =&amp;gt; mapping(address =&amp;gt; uint)) allowed;&lt;br /&gt;
&lt;br /&gt;
    // Constructor&lt;br /&gt;
    constructor() public {&lt;br /&gt;
        name = &amp;quot;CoinWiki Token&amp;quot;;&lt;br /&gt;
        symbol = &amp;quot;CWT&amp;quot;;&lt;br /&gt;
        decimals = 18;&lt;br /&gt;
        _totalSupply = 1000000000 * (10 ** uint256(decimals));&lt;br /&gt;
        balances[msg.sender] = _totalSupply;&lt;br /&gt;
        emit Transfer(address(0), msg.sender, _totalSupply);&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Total supply&lt;br /&gt;
    function totalSupply() public view returns (uint) {&lt;br /&gt;
        return _totalSupply  - balances[address(0)];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Get the token balance for account tokenOwner&lt;br /&gt;
    function balanceOf(address tokenOwner) public view returns (uint balance) {&lt;br /&gt;
        return balances[tokenOwner];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Transfer the balance from token owner's account to to account&lt;br /&gt;
    function transfer(address to, uint tokens) public returns (bool success) {&lt;br /&gt;
        balances[msg.sender] = safeSub(balances[msg.sender], tokens);&lt;br /&gt;
        balances[to] = safeAdd(balances[to], tokens);&lt;br /&gt;
        emit Transfer(msg.sender, to, tokens);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    /**&lt;br /&gt;
     Token owner can approve for spender to transferFrom(...) tokens&lt;br /&gt;
     from the token owner's account&lt;br /&gt;
&lt;br /&gt;
     https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md&lt;br /&gt;
     recommends that there are no checks for the approval double-spend attack&lt;br /&gt;
     as this should be implemented in user interfaces&lt;br /&gt;
    */&lt;br /&gt;
    function approve(address spender, uint tokens) public returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][spender] = tokens;&lt;br /&gt;
        emit Approval(msg.sender, spender, tokens);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    /**&lt;br /&gt;
     Transfer tokens from the from account to the to account&lt;br /&gt;
     The calling account must already have sufficient tokens approve(...)-d&lt;br /&gt;
     for spending from the from account and&lt;br /&gt;
     - From account must have sufficient balance to transfer&lt;br /&gt;
     - Spender must have sufficient allowance to transfer&lt;br /&gt;
     - 0 value transfers are allowed&lt;br /&gt;
    */&lt;br /&gt;
    function transferFrom(address from, address to, uint tokens) public returns (bool success) {&lt;br /&gt;
        balances[from] = safeSub(balances[from], tokens);&lt;br /&gt;
        allowed[from][msg.sender] = safeSub(allowed[from][msg.sender], tokens);&lt;br /&gt;
        balances[to] = safeAdd(balances[to], tokens);&lt;br /&gt;
        emit Transfer(from, to, tokens);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Returns the amount of tokens approved by the owner that can be transferred to the spender's account&lt;br /&gt;
    function allowance(address tokenOwner, address spender) public view returns (uint remaining) {&lt;br /&gt;
        return allowed[tokenOwner][spender];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Token owner can approve for spender to transferFrom(...) tokens from the token owner's account.&lt;br /&gt;
    function approveAndCall(address spender, uint tokens, bytes memory data) public returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][spender] = tokens;&lt;br /&gt;
        emit Approval(msg.sender, spender, tokens);&lt;br /&gt;
        ApproveAndCallFallBack(spender).receiveApproval(msg.sender, tokens, address(this), data);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Send back ETH&lt;br /&gt;
    function () external payable {&lt;br /&gt;
        revert();&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Owner can transfer out any accidentally sent ERC20 tokens&lt;br /&gt;
    function transferAnyERC20Token(address tokenAddress, uint tokens) public onlyOwner returns (bool success) {&lt;br /&gt;
        return ERC20Interface(tokenAddress).transfer(owner, tokens);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Name your token on line 83&lt;br /&gt;
* Change your token's symbol on line 84&lt;br /&gt;
* Set your token's decimal on line 85 (Most tokens have 18 decimal places but you can have any number you like)&lt;br /&gt;
* Change your token's supply on line 86&lt;br /&gt;
* Change the contract name on line 72&lt;br /&gt;
&lt;br /&gt;
Now we are going to add our code to TronBox. &lt;br /&gt;
* Enter contracts directory&lt;br /&gt;
&amp;lt;code&amp;gt;cd tronbox/contracts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make new file for our token and paste in the modified code from your text editor. Name the file like so: &amp;lt;name_of_token&amp;gt;.sol&lt;br /&gt;
&amp;lt;code&amp;gt;nano CoinWiki.sol&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Modify Migrations ==&lt;br /&gt;
&lt;br /&gt;
* Modify '2_deploy_contracts.js' to match your token&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano migrations/2_deploy_contracts.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Uncommit both lines that have commits and replace all instances of 'MyContract' with the name of your contract&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to exit and save your file&lt;br /&gt;
&lt;br /&gt;
== Compile and Deploy your Token ==&lt;br /&gt;
* Input the following code into your terminal to compile and deploy your smart contract to the Tron testnet. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox compile --compile-all&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;source .env &amp;amp;&amp;amp; tronbox migrate --reset --network shasta&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* After you migrate your smart contract to the Shasta testnet you will see two variables: base58 and hex. The hex value is your 'contract address'. To see your new token, paste the value into the search bar on [https://shasta.tronscan.org Shasta Tronscan].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
(base58) TVEfcAw4BaGWMzR8HxRszhLZqHTRgru2rx&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
(hex) 41d356d6a077e97e3f24fd17978b278d285c360ee0&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1073</id>
		<title>How to create your own TRC20 token on Tron</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1073"/>
				<updated>2020-10-28T21:57:11Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: /* Modify our token's code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TRON is a decentralized blockchain content delivery platform to allow creators to publish and own their uploaded content. TRON originally existed as an [[ERC20]] token (TRX) operating on [[Ethereum]]'s blockchain but now exists as its own blockchain. [[Tron | TRON]] has its own set of token standards called [[TRC10]] and [[TRC20]]. In this guide I will walk you through creating your own TRC20 token.  &lt;br /&gt;
&lt;br /&gt;
== Download TronLink ==&lt;br /&gt;
* [[TronLink]] is a browser based extension for interacting with the TRON blockchain. It is available for chrome based browsers like Google Chrome and Brave. Add the extension to your browser by clicking the 'Add to Chrome' button. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlink.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the extension is added, click on it in the upper right hand corner. You will then be walked through some steps to create your wallet. First you are going to create a password then press 'Continue'. Then click on 'Create Wallet' like so:&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkpass.png|250px]]&lt;br /&gt;
[[File: Tronlinkcreate.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Now name your wallet and press 'Continue'. Next copy the mnemonic phrase to a safe place and press 'Continue'. The last step is to confirm the mnemonic phrase by selecting the words in order and press 'Confirm' to finish. You have now created a wallet!&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkwallet.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get test TRX coins ==&lt;br /&gt;
* Click the 'Settings' tab in TronLink and select 'Shasta Testnet' in the 'Node selection' box. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinktest.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next go [https://www.trongrid.io/shasta/#request here] and paste in your Tron address and click 'Submit'. 10,000 text TRX will then be deposited to your address.&lt;br /&gt;
&lt;br /&gt;
== Install TronBox ==&lt;br /&gt;
We will use [[TRON-BOX | TronBox]] to deploy our [[smart contracts | smart contract]] onto Tron's blockchain.&lt;br /&gt;
* Paste the following lines of code into your [[terminal]] to install tronbox.&lt;br /&gt;
&amp;lt;code&amp;gt;npm install -g tronbox&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make a directory on your computer for tronbox and then enter it&lt;br /&gt;
&amp;lt;code&amp;gt;mkdir tron-dev&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd tron-dev&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Initialize TronBox (this can take some time)&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox init&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring TronBox ===&lt;br /&gt;
We will need to copy your private key from our Tron wallet and place it in a .env file. Go to your TronLink extension and click 'Export' and copy your private key.&lt;br /&gt;
&lt;br /&gt;
Next create a '.env' file and paste in the following code with your private key. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano .env&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;export PRIVATE_KEY_SHASTA=your_private_key&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we will have to change the version compiler in &amp;lt;code&amp;gt;tronbox.js&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano tronbox.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll down to where is says &amp;lt;code&amp;gt;// version: '0.5.4'&amp;lt;/code&amp;gt; and uncomment the line (remove the '//') and enter '0.4.24'. Tronbox only supports the following Solidity versions: 0.4.24, 0.4.25, 0.5.4, 0.5.8, 0.5.10.&lt;br /&gt;
&lt;br /&gt;
* When you are done press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
== Modify our token's code==&lt;br /&gt;
Smart contracts on Tron are built using Solidity, just like on Ethereum. So we will use a modified version of a ERC20 token code created by [https://github.com/ConsenSys/Token-Factory TokenFactory] to create our TRC20 token.&lt;br /&gt;
&lt;br /&gt;
* Copy the following code into your favorite code editor. I will be using [https://atom.io/ Atom].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
pragma solidity ^0.4.24;&lt;br /&gt;
&lt;br /&gt;
contract Token {&lt;br /&gt;
&lt;br /&gt;
    /// @return total amount of tokens&lt;br /&gt;
    function totalSupply() constant returns (uint256 supply) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address from which the balance will be retrieved&lt;br /&gt;
    /// @return The balance&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `msg.sender`&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from`&lt;br /&gt;
    /// @param _from The address of the sender&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice `msg.sender` approves `_addr` to spend `_value` tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @param _value The amount of wei to be approved for transfer&lt;br /&gt;
    /// @return Whether the approval was successful or not&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address of the account owning tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @return Amount of remaining tokens allowed to spent&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {}&lt;br /&gt;
&lt;br /&gt;
    event Transfer(address indexed _from, address indexed _to, uint256 _value);&lt;br /&gt;
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract StandardToken is Token {&lt;br /&gt;
&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[msg.sender] -= _value;&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            Transfer(msg.sender, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[_from] &amp;gt;= _value &amp;amp;&amp;amp; allowed[_from][msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            balances[_from] -= _value;&lt;br /&gt;
            allowed[_from][msg.sender] -= _value;&lt;br /&gt;
            Transfer(_from, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {&lt;br /&gt;
        return balances[_owner];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {&lt;br /&gt;
      return allowed[_owner][_spender];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    mapping (address =&amp;gt; uint256) balances;&lt;br /&gt;
    mapping (address =&amp;gt; mapping (address =&amp;gt; uint256)) allowed;&lt;br /&gt;
    uint256 public totalSupply;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract CoinWiki is StandardToken {&lt;br /&gt;
&lt;br /&gt;
    function () {&lt;br /&gt;
        //if ether is sent to this address, send it back.&lt;br /&gt;
        throw;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    string public name;                      &lt;br /&gt;
    uint8 public decimals;                 &lt;br /&gt;
    string public symbol;                    &lt;br /&gt;
    string public version = 'H1.0';       &lt;br /&gt;
&lt;br /&gt;
    function CoinWiki(&lt;br /&gt;
        ) {&lt;br /&gt;
        balances[msg.sender] = 160000000000000000000000000;               // Give the creator all initial tokens (100000 for example)&lt;br /&gt;
        totalSupply = 160000000000000000000000000;                                 // Update total supply (100000 for example)&lt;br /&gt;
        name = &amp;quot;CoinWiki Token&amp;quot;;                                                                         // Set the name for display purposes&lt;br /&gt;
        decimals = 18;                                                                                            // Amount of decimals for display purposes&lt;br /&gt;
        symbol = &amp;quot;CWT&amp;quot;;                                                                                       // Set the symbol for display purposes&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Approves and then calls the receiving contract&lt;br /&gt;
    function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
&lt;br /&gt;
        if(!_spender.call(bytes4(bytes32(sha3(&amp;quot;receiveApproval(address,uint256,address,bytes)&amp;quot;))), msg.sender, _value, this, _extraData)) { throw; }&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Change your token's supply on line 99 and 100&lt;br /&gt;
* Name your token on line 101&lt;br /&gt;
* Set your token's decimal on line 102 (Most tokens have 18 decimal places but you can have any number you like)&lt;br /&gt;
* Change your token's symbol on line 103&lt;br /&gt;
* Change the contract name on line 85 and the function name on line 97 to whatever you like (I just used my token's name)&lt;br /&gt;
&lt;br /&gt;
Now we are going to add our code to TronBox. &lt;br /&gt;
* Enter contracts directory&lt;br /&gt;
&amp;lt;code&amp;gt;cd tronbox/contracts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make new file for our token and paste in the modified code from your text editor. Name the file like so: &amp;lt;name_of_token&amp;gt;.sol&lt;br /&gt;
&amp;lt;code&amp;gt;nano CoinWiki.sol&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Modify Migrations ==&lt;br /&gt;
&lt;br /&gt;
* Modify '2_deploy_contracts.js' to match your token&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano migrations/2_deploy_contracts.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Uncommit both lines that have commits and replace all instances of 'MyContract' with the name of your contract&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to exit and save your file&lt;br /&gt;
&lt;br /&gt;
== Compile and Deploy your Token ==&lt;br /&gt;
* Input the following code into your terminal to compile and deploy your smart contract to the Tron testnet. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox compile --compile-all&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;source .env &amp;amp;&amp;amp; tronbox migrate --reset --network shasta&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* After you migrate your smart contract to the Shasta testnet you will see two variables: base58 and hex. The hex value is your 'contract address'. To see your new token, paste the value into the search bar on [https://shasta.tronscan.org Shasta Tronscan].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
(base58) TVEfcAw4BaGWMzR8HxRszhLZqHTRgru2rx&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
(hex) 41d356d6a077e97e3f24fd17978b278d285c360ee0&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1072</id>
		<title>How to create your own TRC20 token on Tron</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1072"/>
				<updated>2020-10-28T21:55:24Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: /* Install TronBox */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TRON is a decentralized blockchain content delivery platform to allow creators to publish and own their uploaded content. TRON originally existed as an [[ERC20]] token (TRX) operating on [[Ethereum]]'s blockchain but now exists as its own blockchain. [[Tron | TRON]] has its own set of token standards called [[TRC10]] and [[TRC20]]. In this guide I will walk you through creating your own TRC20 token.  &lt;br /&gt;
&lt;br /&gt;
== Download TronLink ==&lt;br /&gt;
* [[TronLink]] is a browser based extension for interacting with the TRON blockchain. It is available for chrome based browsers like Google Chrome and Brave. Add the extension to your browser by clicking the 'Add to Chrome' button. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlink.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the extension is added, click on it in the upper right hand corner. You will then be walked through some steps to create your wallet. First you are going to create a password then press 'Continue'. Then click on 'Create Wallet' like so:&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkpass.png|250px]]&lt;br /&gt;
[[File: Tronlinkcreate.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Now name your wallet and press 'Continue'. Next copy the mnemonic phrase to a safe place and press 'Continue'. The last step is to confirm the mnemonic phrase by selecting the words in order and press 'Confirm' to finish. You have now created a wallet!&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkwallet.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get test TRX coins ==&lt;br /&gt;
* Click the 'Settings' tab in TronLink and select 'Shasta Testnet' in the 'Node selection' box. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinktest.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next go [https://www.trongrid.io/shasta/#request here] and paste in your Tron address and click 'Submit'. 10,000 text TRX will then be deposited to your address.&lt;br /&gt;
&lt;br /&gt;
== Install TronBox ==&lt;br /&gt;
We will use [[TRON-BOX | TronBox]] to deploy our [[smart contracts | smart contract]] onto Tron's blockchain.&lt;br /&gt;
* Paste the following lines of code into your [[terminal]] to install tronbox.&lt;br /&gt;
&amp;lt;code&amp;gt;npm install -g tronbox&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make a directory on your computer for tronbox and then enter it&lt;br /&gt;
&amp;lt;code&amp;gt;mkdir tron-dev&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd tron-dev&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Initialize TronBox (this can take some time)&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox init&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring TronBox ===&lt;br /&gt;
We will need to copy your private key from our Tron wallet and place it in a .env file. Go to your TronLink extension and click 'Export' and copy your private key.&lt;br /&gt;
&lt;br /&gt;
Next create a '.env' file and paste in the following code with your private key. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano .env&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;export PRIVATE_KEY_SHASTA=your_private_key&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we will have to change the version compiler in &amp;lt;code&amp;gt;tronbox.js&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano tronbox.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll down to where is says &amp;lt;code&amp;gt;// version: '0.5.4'&amp;lt;/code&amp;gt; and uncomment the line (remove the '//') and enter '0.4.24'. Tronbox only supports the following Solidity versions: 0.4.24, 0.4.25, 0.5.4, 0.5.8, 0.5.10.&lt;br /&gt;
&lt;br /&gt;
* When you are done press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
== Modify our token's code==&lt;br /&gt;
Smart contracts on Tron are built using Solidity, just like on Ethereum. So we will use a modified version of a ERC20 token code created by [https://github.com/ConsenSys/Token-Factory TokenFactory] to create our TRC20 token.&lt;br /&gt;
&lt;br /&gt;
* Copy the following code into your favorite code editor. I will be using [https://atom.io/ Atom].&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
pragma solidity ^0.4.24;&lt;br /&gt;
&lt;br /&gt;
contract Token {&lt;br /&gt;
&lt;br /&gt;
    /// @return total amount of tokens&lt;br /&gt;
    function totalSupply() constant returns (uint256 supply) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address from which the balance will be retrieved&lt;br /&gt;
    /// @return The balance&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `msg.sender`&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from`&lt;br /&gt;
    /// @param _from The address of the sender&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice `msg.sender` approves `_addr` to spend `_value` tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @param _value The amount of wei to be approved for transfer&lt;br /&gt;
    /// @return Whether the approval was successful or not&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address of the account owning tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @return Amount of remaining tokens allowed to spent&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {}&lt;br /&gt;
&lt;br /&gt;
    event Transfer(address indexed _from, address indexed _to, uint256 _value);&lt;br /&gt;
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract StandardToken is Token {&lt;br /&gt;
&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[msg.sender] -= _value;&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            Transfer(msg.sender, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[_from] &amp;gt;= _value &amp;amp;&amp;amp; allowed[_from][msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            balances[_from] -= _value;&lt;br /&gt;
            allowed[_from][msg.sender] -= _value;&lt;br /&gt;
            Transfer(_from, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {&lt;br /&gt;
        return balances[_owner];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {&lt;br /&gt;
      return allowed[_owner][_spender];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    mapping (address =&amp;gt; uint256) balances;&lt;br /&gt;
    mapping (address =&amp;gt; mapping (address =&amp;gt; uint256)) allowed;&lt;br /&gt;
    uint256 public totalSupply;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract CoinWiki is StandardToken {&lt;br /&gt;
&lt;br /&gt;
    function () {&lt;br /&gt;
        //if ether is sent to this address, send it back.&lt;br /&gt;
        throw;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    string public name;                      &lt;br /&gt;
    uint8 public decimals;                 &lt;br /&gt;
    string public symbol;                    &lt;br /&gt;
    string public version = 'H1.0';       &lt;br /&gt;
&lt;br /&gt;
    function CoinWiki(&lt;br /&gt;
        ) {&lt;br /&gt;
        balances[msg.sender] = 160000000000000000000000000;               // Give the creator all initial tokens (100000 for example)&lt;br /&gt;
        totalSupply = 160000000000000000000000000;                                 // Update total supply (100000 for example)&lt;br /&gt;
        name = &amp;quot;CoinWiki Token&amp;quot;;                                                                         // Set the name for display purposes&lt;br /&gt;
        decimals = 18;                                                                                            // Amount of decimals for display purposes&lt;br /&gt;
        symbol = &amp;quot;CWT&amp;quot;;                                                                                       // Set the symbol for display purposes&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Approves and then calls the receiving contract&lt;br /&gt;
    function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
&lt;br /&gt;
        if(!_spender.call(bytes4(bytes32(sha3(&amp;quot;receiveApproval(address,uint256,address,bytes)&amp;quot;))), msg.sender, _value, this, _extraData)) { throw; }&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Change your token's supply on line 99 and 100&lt;br /&gt;
* Name your token on line 101&lt;br /&gt;
* Set your token's decimal on line 102 (Most tokens have 18 decimal places but you can have any number you like)&lt;br /&gt;
* Change your token's symbol on line 103&lt;br /&gt;
* Change the contract name on line 85 and the function name on line 97 to whatever you like (I just used my token's name)&lt;br /&gt;
&lt;br /&gt;
Now we are going to add our code to TronBox. &lt;br /&gt;
* Enter contracts directory&lt;br /&gt;
&amp;lt;code&amp;gt;cd tronbox/contracts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make new file for our token and paste in the modified code from your text editor. Name the file like so: &amp;lt;name_of_token&amp;gt;.sol&lt;br /&gt;
&amp;lt;code&amp;gt;nano CoinWiki.sol&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Modify Migrations ==&lt;br /&gt;
&lt;br /&gt;
* Modify '2_deploy_contracts.js' to match your token&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano migrations/2_deploy_contracts.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Uncommit both lines that have commits and replace all instances of 'MyContract' with the name of your contract&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to exit and save your file&lt;br /&gt;
&lt;br /&gt;
== Compile and Deploy your Token ==&lt;br /&gt;
* Input the following code into your terminal to compile and deploy your smart contract to the Tron testnet. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox compile --compile-all&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;source .env &amp;amp;&amp;amp; tronbox migrate --reset --network shasta&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* After you migrate your smart contract to the Shasta testnet you will see two variables: base58 and hex. The hex value is your 'contract address'. To see your new token, paste the value into the search bar on [https://shasta.tronscan.org Shasta Tronscan].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
(base58) TVEfcAw4BaGWMzR8HxRszhLZqHTRgru2rx&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
(hex) 41d356d6a077e97e3f24fd17978b278d285c360ee0&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=Crypto_Tutorials&amp;diff=1071</id>
		<title>Crypto Tutorials</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=Crypto_Tutorials&amp;diff=1071"/>
				<updated>2019-12-16T22:36:26Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: /* Mining tutorials */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here are some [[cryptocurrency]] tutorial options:&lt;br /&gt;
&lt;br /&gt;
== Coin/token creation tutorials ==&lt;br /&gt;
Here are some tutorials for creating your own cryptocurrency or token.&lt;br /&gt;
&lt;br /&gt;
=== Cryptocurrency Creation  ===&lt;br /&gt;
* [[How to create your own cryptocurrency]]&lt;br /&gt;
&lt;br /&gt;
=== Token Creation ===&lt;br /&gt;
* [[How to create your own TRC20 token on Tron | How to create your own TRON TRC20 token]]&lt;br /&gt;
* [[How to create your own Ethereum ERC20 token]]&lt;br /&gt;
* [[How to create and issue a token on Binance Chain]]&lt;br /&gt;
&lt;br /&gt;
== Mining tutorials ==&lt;br /&gt;
How to mine different [[cryptocurrencies]].&lt;br /&gt;
 &lt;br /&gt;
=== Bitcoin ===&lt;br /&gt;
* [[How to mine Bitcoin]]&lt;br /&gt;
&lt;br /&gt;
=== CryptoNote based Cryptocurrencies ===&lt;br /&gt;
* [[How to mine CryptoNote currencies]]&lt;br /&gt;
* [[How to set up XMR-Stak]]&lt;br /&gt;
* [[How to set up XMRig]]&lt;br /&gt;
&lt;br /&gt;
== Crypto trading tutorials ==&lt;br /&gt;
Cryptocurrency trading tutorials for some popular exchanges.&lt;br /&gt;
&lt;br /&gt;
* [[How to trade on Binance]]&lt;br /&gt;
* [[How to trade on Bisq]]&lt;br /&gt;
* [[How to trade on Coinbase Pro]]&lt;br /&gt;
* [[How to trade on Gemini]]&lt;br /&gt;
* [[How to trade on Kucoin]]&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=Crypto_Tutorials&amp;diff=1070</id>
		<title>Crypto Tutorials</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=Crypto_Tutorials&amp;diff=1070"/>
				<updated>2019-12-16T22:35:42Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here are some [[cryptocurrency]] tutorial options:&lt;br /&gt;
&lt;br /&gt;
== Coin/token creation tutorials ==&lt;br /&gt;
Here are some tutorials for creating your own cryptocurrency or token.&lt;br /&gt;
&lt;br /&gt;
=== Cryptocurrency Creation  ===&lt;br /&gt;
* [[How to create your own cryptocurrency]]&lt;br /&gt;
&lt;br /&gt;
=== Token Creation ===&lt;br /&gt;
* [[How to create your own TRC20 token on Tron | How to create your own TRON TRC20 token]]&lt;br /&gt;
* [[How to create your own Ethereum ERC20 token]]&lt;br /&gt;
* [[How to create and issue a token on Binance Chain]]&lt;br /&gt;
&lt;br /&gt;
== Mining tutorials ==&lt;br /&gt;
How to mine different [[cryptocurrencies]].&lt;br /&gt;
 &lt;br /&gt;
=== [[Bitcoin]] ===&lt;br /&gt;
* [[How to mine Bitcoin]]&lt;br /&gt;
&lt;br /&gt;
=== [[CryptoNote| CryptoNote Cryptocurrencies]] ===&lt;br /&gt;
* [[How to mine CryptoNote currencies]]&lt;br /&gt;
* [[How to set up XMR-Stak]]&lt;br /&gt;
* [[How to set up XMRig]]&lt;br /&gt;
&lt;br /&gt;
== Crypto trading tutorials ==&lt;br /&gt;
Cryptocurrency trading tutorials for some popular exchanges.&lt;br /&gt;
&lt;br /&gt;
* [[How to trade on Binance]]&lt;br /&gt;
* [[How to trade on Bisq]]&lt;br /&gt;
* [[How to trade on Coinbase Pro]]&lt;br /&gt;
* [[How to trade on Gemini]]&lt;br /&gt;
* [[How to trade on Kucoin]]&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=Crypto_Tutorials&amp;diff=1069</id>
		<title>Crypto Tutorials</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=Crypto_Tutorials&amp;diff=1069"/>
				<updated>2019-12-16T22:34:35Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here are some crypto tutorial options:&lt;br /&gt;
&lt;br /&gt;
== Coin/token creation tutorials ==&lt;br /&gt;
Here are some tutorials for creating your own cryptocurrency or token.&lt;br /&gt;
&lt;br /&gt;
=== Cryptocurrency Creation  ===&lt;br /&gt;
* [[How to create your own cryptocurrency]]&lt;br /&gt;
&lt;br /&gt;
=== Token Creation ===&lt;br /&gt;
* [[How to create your own TRC20 token on Tron | How to create your own TRON TRC20 token]]&lt;br /&gt;
* [[How to create your own Ethereum ERC20 token]]&lt;br /&gt;
* [[How to create and issue a token on Binance Chain]]&lt;br /&gt;
&lt;br /&gt;
== Mining tutorials ==&lt;br /&gt;
How to mine different [[cryptocurrencies]].&lt;br /&gt;
 &lt;br /&gt;
=== [[Bitcoin]] ===&lt;br /&gt;
* [[How to mine Bitcoin]]&lt;br /&gt;
&lt;br /&gt;
=== [[CryptoNote| CryptoNote Cryptocurrencies]] ===&lt;br /&gt;
* [[How to mine CryptoNote currencies]]&lt;br /&gt;
* [[How to set up XMR-Stak]]&lt;br /&gt;
* [[How to set up XMRig]]&lt;br /&gt;
&lt;br /&gt;
== Crypto trading tutorials ==&lt;br /&gt;
Cryptocurrency trading tutorials for some popular exchanges.&lt;br /&gt;
&lt;br /&gt;
* [[How to trade on Binance]]&lt;br /&gt;
* [[How to trade on Bisq]]&lt;br /&gt;
* [[How to trade on Coinbase Pro]]&lt;br /&gt;
* [[How to trade on Gemini]]&lt;br /&gt;
* [[How to trade on Kucoin]]&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=Crypto_Tutorials&amp;diff=1068</id>
		<title>Crypto Tutorials</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=Crypto_Tutorials&amp;diff=1068"/>
				<updated>2019-12-16T22:33:52Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here are some crypto tutorial options:&lt;br /&gt;
&lt;br /&gt;
=== Coin/token creation tutorials ===&lt;br /&gt;
Here are some tutorials for creating your own cryptocurrency or token.&lt;br /&gt;
&lt;br /&gt;
==== Cryptocurrency Creation  ====&lt;br /&gt;
* [[How to create your own cryptocurrency]]&lt;br /&gt;
&lt;br /&gt;
==== Token Creation ====&lt;br /&gt;
* [[How to create your own TRC20 token on Tron | How to create your own TRON TRC20 token]]&lt;br /&gt;
* [[How to create your own Ethereum ERC20 token]]&lt;br /&gt;
* [[How to create and issue a token on Binance Chain]]&lt;br /&gt;
&lt;br /&gt;
=== Mining tutorials ===&lt;br /&gt;
How to mine different [[cryptocurrencies]].&lt;br /&gt;
 &lt;br /&gt;
==== [[Bitcoin]] ====&lt;br /&gt;
* [[How to mine Bitcoin]]&lt;br /&gt;
&lt;br /&gt;
==== [[CryptoNote| CryptoNote Cryptocurrencies]] ====&lt;br /&gt;
* [[How to mine CryptoNote currencies]]&lt;br /&gt;
* [[How to set up XMR-Stak]]&lt;br /&gt;
* [[How to set up XMRig]]&lt;br /&gt;
&lt;br /&gt;
=== Crypto trading tutorials ===&lt;br /&gt;
Cryptocurrency trading tutorials for some popular exchanges.&lt;br /&gt;
&lt;br /&gt;
* [[How to trade on Binance]]&lt;br /&gt;
* [[How to trade on Bisq]]&lt;br /&gt;
* [[How to trade on Coinbase Pro]]&lt;br /&gt;
* [[How to trade on Gemini]]&lt;br /&gt;
* [[How to trade on Kucoin]]&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=Crypto_trading_tutorials&amp;diff=1067</id>
		<title>Crypto trading tutorials</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=Crypto_trading_tutorials&amp;diff=1067"/>
				<updated>2019-12-16T22:33:03Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: Blanked the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=Mining_tutorials&amp;diff=1066</id>
		<title>Mining tutorials</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=Mining_tutorials&amp;diff=1066"/>
				<updated>2019-12-16T22:32:45Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: Blanked the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=Coin/token_creation_tutorials&amp;diff=1065</id>
		<title>Coin/token creation tutorials</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=Coin/token_creation_tutorials&amp;diff=1065"/>
				<updated>2019-12-16T22:32:03Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: Blanked the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=Crypto_Tutorials&amp;diff=1064</id>
		<title>Crypto Tutorials</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=Crypto_Tutorials&amp;diff=1064"/>
				<updated>2019-12-16T22:30:21Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: Created page with &amp;quot;Here are some crypto tutorial options: * Coin/token creation tutorials * Mining tutorials * Crypto trading tutorials&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here are some crypto tutorial options:&lt;br /&gt;
* [[Coin/token creation tutorials]]&lt;br /&gt;
* [[Mining tutorials]]&lt;br /&gt;
* [[Crypto trading tutorials]]&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=Coin.Wiki&amp;diff=1063</id>
		<title>Coin.Wiki</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=Coin.Wiki&amp;diff=1063"/>
				<updated>2019-12-16T22:29:32Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to Coin.Wiki, a new [[Wiki]], where we are exploring various new technologies and topics including:&lt;br /&gt;
&lt;br /&gt;
* [[Bitcoin]] &lt;br /&gt;
&lt;br /&gt;
* [[Blockchain | Blockchain Technology]] &lt;br /&gt;
&lt;br /&gt;
* [[Cryptocurrencies]] &lt;br /&gt;
&lt;br /&gt;
* [[Difference between cryptocurrency coins and tokens | Tokens]]&lt;br /&gt;
&lt;br /&gt;
* [[What is a non fungible token | Non Fungible Tokens]] (NFT's)&lt;br /&gt;
&lt;br /&gt;
* [[Crypto Tutorials]] &lt;br /&gt;
&lt;br /&gt;
* and more&lt;br /&gt;
&lt;br /&gt;
=== How can I help? ===&lt;br /&gt;
==== Contribute ====&lt;br /&gt;
If you'd like to join us and learn and build together, we'd be happy to have you as a fellow coin wiki-er!  Please e-mail // admin '''at''' coin.wiki // and we'll be in touch.&lt;br /&gt;
&lt;br /&gt;
==== Donate ====&lt;br /&gt;
If you would rather donate financially, here are some options below:&lt;br /&gt;
&lt;br /&gt;
* Bitcoin (BTC) - 1DSbLudyvAfw8CULjB9CxLtm1yVw5sf3rV&lt;br /&gt;
&lt;br /&gt;
* Ethereum (ETH) - 0x745F2Bc9570B8C8DcD51249d7fdC2528f03efF1c&lt;br /&gt;
&lt;br /&gt;
* Bitcoin Cash (BCH - qpxcm3r90y6cedvazm4phwr82m3ywwn66gzwllq63l&lt;br /&gt;
&lt;br /&gt;
* Litecoin (LTC) - LKF12Fi92zuxDhpHLe7gSWBtTdJbcULa85&lt;br /&gt;
 &lt;br /&gt;
* Monero (XMR) - 44c7umSm7TyXxKch9q4R5QfoTAf663A8yEFfJbxmxUJ1JCWq2kFu33oAAydrgNDQA8619rSQhZaFV3ScpESWCfcQB3Fqc6w&lt;br /&gt;
&lt;br /&gt;
Thank you for your time and donations!&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=Coin.Wiki&amp;diff=1062</id>
		<title>Coin.Wiki</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=Coin.Wiki&amp;diff=1062"/>
				<updated>2019-12-16T22:26:24Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: /* = Contribute */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to Coin.Wiki, a new [[Wiki]], where we are exploring various new technologies and topics including&lt;br /&gt;
&lt;br /&gt;
* [[Bitcoin]] &lt;br /&gt;
&lt;br /&gt;
* [[Blockchain Technology]] &lt;br /&gt;
&lt;br /&gt;
* [[Cryptocurrencies]] &lt;br /&gt;
&lt;br /&gt;
* [[Tokens]]&lt;br /&gt;
&lt;br /&gt;
* [[Non Fungible Tokens]] (NFT's)&lt;br /&gt;
&lt;br /&gt;
* [[Crypto Tutorials]] &lt;br /&gt;
&lt;br /&gt;
* and more&lt;br /&gt;
&lt;br /&gt;
=== How can I help? ===&lt;br /&gt;
==== Contribute ====&lt;br /&gt;
If you'd like to join us and learn and build together, we'd be happy to have you as a fellow coin wiki-er!  Please e-mail // admin '''at''' coin.wiki // and we'll be in touch.&lt;br /&gt;
&lt;br /&gt;
==== Donate ====&lt;br /&gt;
If you would rather donate financially, here are some options below:&lt;br /&gt;
&lt;br /&gt;
* Bitcoin (BTC) - 1DSbLudyvAfw8CULjB9CxLtm1yVw5sf3rV&lt;br /&gt;
&lt;br /&gt;
* Ethereum (ETH) - 0x745F2Bc9570B8C8DcD51249d7fdC2528f03efF1c&lt;br /&gt;
&lt;br /&gt;
* Bitcoin Cash (BCH - qpxcm3r90y6cedvazm4phwr82m3ywwn66gzwllq63l&lt;br /&gt;
&lt;br /&gt;
* Litecoin (LTC) - LKF12Fi92zuxDhpHLe7gSWBtTdJbcULa85&lt;br /&gt;
 &lt;br /&gt;
* Monero (XMR) - 44c7umSm7TyXxKch9q4R5QfoTAf663A8yEFfJbxmxUJ1JCWq2kFu33oAAydrgNDQA8619rSQhZaFV3ScpESWCfcQB3Fqc6w&lt;br /&gt;
&lt;br /&gt;
Thank you for your time and donations!&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=Coin.Wiki&amp;diff=1061</id>
		<title>Coin.Wiki</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=Coin.Wiki&amp;diff=1061"/>
				<updated>2019-12-16T22:26:00Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to Coin.Wiki, a new [[Wiki]], where we are exploring various new technologies and topics including&lt;br /&gt;
&lt;br /&gt;
* [[Bitcoin]] &lt;br /&gt;
&lt;br /&gt;
* [[Blockchain Technology]] &lt;br /&gt;
&lt;br /&gt;
* [[Cryptocurrencies]] &lt;br /&gt;
&lt;br /&gt;
* [[Tokens]]&lt;br /&gt;
&lt;br /&gt;
* [[Non Fungible Tokens]] (NFT's)&lt;br /&gt;
&lt;br /&gt;
* [[Crypto Tutorials]] &lt;br /&gt;
&lt;br /&gt;
* and more&lt;br /&gt;
&lt;br /&gt;
=== How can I help? ===&lt;br /&gt;
===== Contribute ====&lt;br /&gt;
If you'd like to join us and learn and build together, we'd be happy to have you as a fellow coin wiki-er!  Please e-mail // admin '''at''' coin.wiki // and we'll be in touch.&lt;br /&gt;
&lt;br /&gt;
==== Donate ====&lt;br /&gt;
If you would rather donate financially, here are some options below:&lt;br /&gt;
&lt;br /&gt;
* Bitcoin (BTC) - 1DSbLudyvAfw8CULjB9CxLtm1yVw5sf3rV&lt;br /&gt;
&lt;br /&gt;
* Ethereum (ETH) - 0x745F2Bc9570B8C8DcD51249d7fdC2528f03efF1c&lt;br /&gt;
&lt;br /&gt;
* Bitcoin Cash (BCH - qpxcm3r90y6cedvazm4phwr82m3ywwn66gzwllq63l&lt;br /&gt;
&lt;br /&gt;
* Litecoin (LTC) - LKF12Fi92zuxDhpHLe7gSWBtTdJbcULa85&lt;br /&gt;
 &lt;br /&gt;
* Monero (XMR) - 44c7umSm7TyXxKch9q4R5QfoTAf663A8yEFfJbxmxUJ1JCWq2kFu33oAAydrgNDQA8619rSQhZaFV3ScpESWCfcQB3Fqc6w&lt;br /&gt;
&lt;br /&gt;
Thank you for your time and donations!&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1060</id>
		<title>How to create your own TRC20 token on Tron</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1060"/>
				<updated>2019-12-08T20:19:46Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: /* Install TronBox */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TRON is a decentralized blockchain content delivery platform to allow creators to publish and own their uploaded content. TRON originally existed as an [[ERC20]] token (TRX) operating on [[Ethereum]]'s blockchain but now exists as its own blockchain. [[Tron | TRON]] has its own set of token standards called [[TRC10]] and [[TRC20]]. In this guide I will walk you through creating your own TRC20 token.  &lt;br /&gt;
&lt;br /&gt;
== Download TronLink ==&lt;br /&gt;
* [[TronLink]] is a browser based extension for interacting with the TRON blockchain. It is available for chrome based browsers like Google Chrome and Brave. Add the extension to your browser by clicking the 'Add to Chrome' button. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlink.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the extension is added, click on it in the upper right hand corner. You will then be walked through some steps to create your wallet. First you are going to create a password then press 'Continue'. Then click on 'Create Wallet' like so:&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkpass.png|250px]]&lt;br /&gt;
[[File: Tronlinkcreate.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Now name your wallet and press 'Continue'. Next copy the mnemonic phrase to a safe place and press 'Continue'. The last step is to confirm the mnemonic phrase by selecting the words in order and press 'Confirm' to finish. You have now created a wallet!&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkwallet.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get test TRX coins ==&lt;br /&gt;
* Click the 'Settings' tab in TronLink and select 'Shasta Testnet' in the 'Node selection' box. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinktest.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next go [https://www.trongrid.io/shasta/#request here] and paste in your Tron address and click 'Submit'. 10,000 text TRX will then be deposited to your address.&lt;br /&gt;
&lt;br /&gt;
== Install TronBox ==&lt;br /&gt;
We will use [[TRON-BOX | TronBox]] to deploy our [[smart contracts | smart contract]] onto Tron's blockchain.&lt;br /&gt;
* Paste the following lines of code into your [[terminal]] to install tronbox.&lt;br /&gt;
&amp;lt;code&amp;gt;npm install -g tronbox&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make a directory on your computer for tronbox and enter is&lt;br /&gt;
&amp;lt;code&amp;gt;mkdir tron-dev&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd tron-dev&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Initialize TronBox (this can take some time)&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox init&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring TronBox ===&lt;br /&gt;
We will need to copy your private key from our Tron wallet and place it in a .env file. Go to your TronLink extension and click 'Export' and copy your private key.&lt;br /&gt;
&lt;br /&gt;
Next create a '.env' file and paste in the following code with your private key. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano .env&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;export PRIVATE_KEY_SHASTA=your_private_key&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we will have to change the version compiler in &amp;lt;code&amp;gt;tronbox.js&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano tronbox.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll down to where is says &amp;lt;code&amp;gt;// version: '0.5.4'&amp;lt;/code&amp;gt; and uncomment the line (remove the '//') and enter '0.4.24'. Tronbox only supports the following Solidity versions: 0.4.24, 0.4.25, 0.5.4, 0.5.8.&lt;br /&gt;
&lt;br /&gt;
* When you are done press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
== Modify our token's code==&lt;br /&gt;
Smart contracts on Tron are built using Solidity, just like on Ethereum. So we will use a modified version of a ERC20 token code created by [https://github.com/ConsenSys/Token-Factory TokenFactory] to create our TRC20 token.&lt;br /&gt;
&lt;br /&gt;
* Copy the following code into your favorite code editor. I will be using [https://atom.io/ Atom].&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
pragma solidity ^0.4.24;&lt;br /&gt;
&lt;br /&gt;
contract Token {&lt;br /&gt;
&lt;br /&gt;
    /// @return total amount of tokens&lt;br /&gt;
    function totalSupply() constant returns (uint256 supply) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address from which the balance will be retrieved&lt;br /&gt;
    /// @return The balance&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `msg.sender`&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from`&lt;br /&gt;
    /// @param _from The address of the sender&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice `msg.sender` approves `_addr` to spend `_value` tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @param _value The amount of wei to be approved for transfer&lt;br /&gt;
    /// @return Whether the approval was successful or not&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address of the account owning tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @return Amount of remaining tokens allowed to spent&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {}&lt;br /&gt;
&lt;br /&gt;
    event Transfer(address indexed _from, address indexed _to, uint256 _value);&lt;br /&gt;
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract StandardToken is Token {&lt;br /&gt;
&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[msg.sender] -= _value;&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            Transfer(msg.sender, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[_from] &amp;gt;= _value &amp;amp;&amp;amp; allowed[_from][msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            balances[_from] -= _value;&lt;br /&gt;
            allowed[_from][msg.sender] -= _value;&lt;br /&gt;
            Transfer(_from, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {&lt;br /&gt;
        return balances[_owner];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {&lt;br /&gt;
      return allowed[_owner][_spender];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    mapping (address =&amp;gt; uint256) balances;&lt;br /&gt;
    mapping (address =&amp;gt; mapping (address =&amp;gt; uint256)) allowed;&lt;br /&gt;
    uint256 public totalSupply;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract CoinWiki is StandardToken {&lt;br /&gt;
&lt;br /&gt;
    function () {&lt;br /&gt;
        //if ether is sent to this address, send it back.&lt;br /&gt;
        throw;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    string public name;                      &lt;br /&gt;
    uint8 public decimals;                 &lt;br /&gt;
    string public symbol;                    &lt;br /&gt;
    string public version = 'H1.0';       &lt;br /&gt;
&lt;br /&gt;
    function CoinWiki(&lt;br /&gt;
        ) {&lt;br /&gt;
        balances[msg.sender] = 160000000000000000000000000;               // Give the creator all initial tokens (100000 for example)&lt;br /&gt;
        totalSupply = 160000000000000000000000000;                                 // Update total supply (100000 for example)&lt;br /&gt;
        name = &amp;quot;CoinWiki Token&amp;quot;;                                                                         // Set the name for display purposes&lt;br /&gt;
        decimals = 18;                                                                                            // Amount of decimals for display purposes&lt;br /&gt;
        symbol = &amp;quot;CWT&amp;quot;;                                                                                       // Set the symbol for display purposes&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Approves and then calls the receiving contract&lt;br /&gt;
    function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
&lt;br /&gt;
        if(!_spender.call(bytes4(bytes32(sha3(&amp;quot;receiveApproval(address,uint256,address,bytes)&amp;quot;))), msg.sender, _value, this, _extraData)) { throw; }&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Change your token's supply on line 99 and 100&lt;br /&gt;
* Name your token on line 101&lt;br /&gt;
* Set your token's decimal on line 102 (Most tokens have 18 decimal places but you can have any number you like)&lt;br /&gt;
* Change your token's symbol on line 103&lt;br /&gt;
* Change the contract name on line 85 and the function name on line 97 to whatever you like (I just used my token's name)&lt;br /&gt;
&lt;br /&gt;
Now we are going to add our code to TronBox. &lt;br /&gt;
* Enter contracts directory&lt;br /&gt;
&amp;lt;code&amp;gt;cd tronbox/contracts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make new file for our token and paste in the modified code from your text editor. Name the file like so: &amp;lt;name_of_token&amp;gt;.sol&lt;br /&gt;
&amp;lt;code&amp;gt;nano CoinWiki.sol&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Modify Migrations ==&lt;br /&gt;
&lt;br /&gt;
* Modify '2_deploy_contracts.js' to match your token&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano migrations/2_deploy_contracts.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Uncommit both lines that have commits and replace all instances of 'MyContract' with the name of your contract&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to exit and save your file&lt;br /&gt;
&lt;br /&gt;
== Compile and Deploy your Token ==&lt;br /&gt;
* Input the following code into your terminal to compile and deploy your smart contract to the Tron testnet. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox compile --compile-all&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;source .env &amp;amp;&amp;amp; tronbox migrate --reset --network shasta&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* After you migrate your smart contract to the Shasta testnet you will see two variables: base58 and hex. The hex value is your 'contract address'. To see your new token, paste the value into the search bar on [https://shasta.tronscan.org Shasta Tronscan].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
(base58) TVEfcAw4BaGWMzR8HxRszhLZqHTRgru2rx&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
(hex) 41d356d6a077e97e3f24fd17978b278d285c360ee0&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1059</id>
		<title>How to create your own TRC20 token on Tron</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1059"/>
				<updated>2019-12-08T19:34:51Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: /* Compile and Deploy your Token */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TRON is a decentralized blockchain content delivery platform to allow creators to publish and own their uploaded content. TRON originally existed as an [[ERC20]] token (TRX) operating on [[Ethereum]]'s blockchain but now exists as its own blockchain. [[Tron | TRON]] has its own set of token standards called [[TRC10]] and [[TRC20]]. In this guide I will walk you through creating your own TRC20 token.  &lt;br /&gt;
&lt;br /&gt;
== Download TronLink ==&lt;br /&gt;
* [[TronLink]] is a browser based extension for interacting with the TRON blockchain. It is available for chrome based browsers like Google Chrome and Brave. Add the extension to your browser by clicking the 'Add to Chrome' button. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlink.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the extension is added, click on it in the upper right hand corner. You will then be walked through some steps to create your wallet. First you are going to create a password then press 'Continue'. Then click on 'Create Wallet' like so:&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkpass.png|250px]]&lt;br /&gt;
[[File: Tronlinkcreate.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Now name your wallet and press 'Continue'. Next copy the mnemonic phrase to a safe place and press 'Continue'. The last step is to confirm the mnemonic phrase by selecting the words in order and press 'Confirm' to finish. You have now created a wallet!&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkwallet.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get test TRX coins ==&lt;br /&gt;
* Click the 'Settings' tab in TronLink and select 'Shasta Testnet' in the 'Node selection' box. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinktest.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next go [https://www.trongrid.io/shasta/#request here] and paste in your Tron address and click 'Submit'. 10,000 text TRX will then be deposited to your address.&lt;br /&gt;
&lt;br /&gt;
== Install TronBox ==&lt;br /&gt;
We will use [[TRON-BOX | TronBox]] to deploy our [[smart contracts | smart contract]] onto Tron's blockchain.&lt;br /&gt;
* Paste the following lines of code into your [[terminal]]&lt;br /&gt;
&amp;lt;code&amp;gt;npm install -g tronbox&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Initialize TronBox (this can take some time)&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox init&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring TronBox ===&lt;br /&gt;
We will need to copy your private key from our Tron wallet and place it in a .env file. Go to your TronLink extension and click 'Export' and copy your private key.&lt;br /&gt;
&lt;br /&gt;
Next create a '.env' file and paste in the following code with your private key. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano .env&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;export PRIVATE_KEY_SHASTA=your_private_key&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we will have to change the version compiler in &amp;lt;code&amp;gt;tronbox.js&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano tronbox.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll down to where is says &amp;lt;code&amp;gt;// version: '0.5.4'&amp;lt;/code&amp;gt; and uncomment the line (remove the '//') and enter '0.4.24'. Tronbox only supports the following Solidity versions: 0.4.24, 0.4.25, 0.5.4, 0.5.8.&lt;br /&gt;
&lt;br /&gt;
* When you are done press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
== Modify our token's code==&lt;br /&gt;
Smart contracts on Tron are built using Solidity, just like on Ethereum. So we will use a modified version of a ERC20 token code created by [https://github.com/ConsenSys/Token-Factory TokenFactory] to create our TRC20 token.&lt;br /&gt;
&lt;br /&gt;
* Copy the following code into your favorite code editor. I will be using [https://atom.io/ Atom].&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
pragma solidity ^0.4.24;&lt;br /&gt;
&lt;br /&gt;
contract Token {&lt;br /&gt;
&lt;br /&gt;
    /// @return total amount of tokens&lt;br /&gt;
    function totalSupply() constant returns (uint256 supply) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address from which the balance will be retrieved&lt;br /&gt;
    /// @return The balance&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `msg.sender`&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from`&lt;br /&gt;
    /// @param _from The address of the sender&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice `msg.sender` approves `_addr` to spend `_value` tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @param _value The amount of wei to be approved for transfer&lt;br /&gt;
    /// @return Whether the approval was successful or not&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address of the account owning tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @return Amount of remaining tokens allowed to spent&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {}&lt;br /&gt;
&lt;br /&gt;
    event Transfer(address indexed _from, address indexed _to, uint256 _value);&lt;br /&gt;
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract StandardToken is Token {&lt;br /&gt;
&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[msg.sender] -= _value;&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            Transfer(msg.sender, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[_from] &amp;gt;= _value &amp;amp;&amp;amp; allowed[_from][msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            balances[_from] -= _value;&lt;br /&gt;
            allowed[_from][msg.sender] -= _value;&lt;br /&gt;
            Transfer(_from, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {&lt;br /&gt;
        return balances[_owner];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {&lt;br /&gt;
      return allowed[_owner][_spender];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    mapping (address =&amp;gt; uint256) balances;&lt;br /&gt;
    mapping (address =&amp;gt; mapping (address =&amp;gt; uint256)) allowed;&lt;br /&gt;
    uint256 public totalSupply;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract CoinWiki is StandardToken {&lt;br /&gt;
&lt;br /&gt;
    function () {&lt;br /&gt;
        //if ether is sent to this address, send it back.&lt;br /&gt;
        throw;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    string public name;                      &lt;br /&gt;
    uint8 public decimals;                 &lt;br /&gt;
    string public symbol;                    &lt;br /&gt;
    string public version = 'H1.0';       &lt;br /&gt;
&lt;br /&gt;
    function CoinWiki(&lt;br /&gt;
        ) {&lt;br /&gt;
        balances[msg.sender] = 160000000000000000000000000;               // Give the creator all initial tokens (100000 for example)&lt;br /&gt;
        totalSupply = 160000000000000000000000000;                                 // Update total supply (100000 for example)&lt;br /&gt;
        name = &amp;quot;CoinWiki Token&amp;quot;;                                                                         // Set the name for display purposes&lt;br /&gt;
        decimals = 18;                                                                                            // Amount of decimals for display purposes&lt;br /&gt;
        symbol = &amp;quot;CWT&amp;quot;;                                                                                       // Set the symbol for display purposes&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Approves and then calls the receiving contract&lt;br /&gt;
    function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
&lt;br /&gt;
        if(!_spender.call(bytes4(bytes32(sha3(&amp;quot;receiveApproval(address,uint256,address,bytes)&amp;quot;))), msg.sender, _value, this, _extraData)) { throw; }&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Change your token's supply on line 99 and 100&lt;br /&gt;
* Name your token on line 101&lt;br /&gt;
* Set your token's decimal on line 102 (Most tokens have 18 decimal places but you can have any number you like)&lt;br /&gt;
* Change your token's symbol on line 103&lt;br /&gt;
* Change the contract name on line 85 and the function name on line 97 to whatever you like (I just used my token's name)&lt;br /&gt;
&lt;br /&gt;
Now we are going to add our code to TronBox. &lt;br /&gt;
* Enter contracts directory&lt;br /&gt;
&amp;lt;code&amp;gt;cd tronbox/contracts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make new file for our token and paste in the modified code from your text editor. Name the file like so: &amp;lt;name_of_token&amp;gt;.sol&lt;br /&gt;
&amp;lt;code&amp;gt;nano CoinWiki.sol&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Modify Migrations ==&lt;br /&gt;
&lt;br /&gt;
* Modify '2_deploy_contracts.js' to match your token&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano migrations/2_deploy_contracts.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Uncommit both lines that have commits and replace all instances of 'MyContract' with the name of your contract&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to exit and save your file&lt;br /&gt;
&lt;br /&gt;
== Compile and Deploy your Token ==&lt;br /&gt;
* Input the following code into your terminal to compile and deploy your smart contract to the Tron testnet. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox compile --compile-all&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;source .env &amp;amp;&amp;amp; tronbox migrate --reset --network shasta&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* After you migrate your smart contract to the Shasta testnet you will see two variables: base58 and hex. The hex value is your 'contract address'. To see your new token, paste the value into the search bar on [https://shasta.tronscan.org Shasta Tronscan].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
(base58) TVEfcAw4BaGWMzR8HxRszhLZqHTRgru2rx&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
(hex) 41d356d6a077e97e3f24fd17978b278d285c360ee0&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1058</id>
		<title>How to create your own TRC20 token on Tron</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1058"/>
				<updated>2019-12-08T19:33:45Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: /* Compile and Deploy your Token */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TRON is a decentralized blockchain content delivery platform to allow creators to publish and own their uploaded content. TRON originally existed as an [[ERC20]] token (TRX) operating on [[Ethereum]]'s blockchain but now exists as its own blockchain. [[Tron | TRON]] has its own set of token standards called [[TRC10]] and [[TRC20]]. In this guide I will walk you through creating your own TRC20 token.  &lt;br /&gt;
&lt;br /&gt;
== Download TronLink ==&lt;br /&gt;
* [[TronLink]] is a browser based extension for interacting with the TRON blockchain. It is available for chrome based browsers like Google Chrome and Brave. Add the extension to your browser by clicking the 'Add to Chrome' button. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlink.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the extension is added, click on it in the upper right hand corner. You will then be walked through some steps to create your wallet. First you are going to create a password then press 'Continue'. Then click on 'Create Wallet' like so:&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkpass.png|250px]]&lt;br /&gt;
[[File: Tronlinkcreate.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Now name your wallet and press 'Continue'. Next copy the mnemonic phrase to a safe place and press 'Continue'. The last step is to confirm the mnemonic phrase by selecting the words in order and press 'Confirm' to finish. You have now created a wallet!&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkwallet.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get test TRX coins ==&lt;br /&gt;
* Click the 'Settings' tab in TronLink and select 'Shasta Testnet' in the 'Node selection' box. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinktest.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next go [https://www.trongrid.io/shasta/#request here] and paste in your Tron address and click 'Submit'. 10,000 text TRX will then be deposited to your address.&lt;br /&gt;
&lt;br /&gt;
== Install TronBox ==&lt;br /&gt;
We will use [[TRON-BOX | TronBox]] to deploy our [[smart contracts | smart contract]] onto Tron's blockchain.&lt;br /&gt;
* Paste the following lines of code into your [[terminal]]&lt;br /&gt;
&amp;lt;code&amp;gt;npm install -g tronbox&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Initialize TronBox (this can take some time)&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox init&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring TronBox ===&lt;br /&gt;
We will need to copy your private key from our Tron wallet and place it in a .env file. Go to your TronLink extension and click 'Export' and copy your private key.&lt;br /&gt;
&lt;br /&gt;
Next create a '.env' file and paste in the following code with your private key. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano .env&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;export PRIVATE_KEY_SHASTA=your_private_key&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we will have to change the version compiler in &amp;lt;code&amp;gt;tronbox.js&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano tronbox.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll down to where is says &amp;lt;code&amp;gt;// version: '0.5.4'&amp;lt;/code&amp;gt; and uncomment the line (remove the '//') and enter '0.4.24'. Tronbox only supports the following Solidity versions: 0.4.24, 0.4.25, 0.5.4, 0.5.8.&lt;br /&gt;
&lt;br /&gt;
* When you are done press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
== Modify our token's code==&lt;br /&gt;
Smart contracts on Tron are built using Solidity, just like on Ethereum. So we will use a modified version of a ERC20 token code created by [https://github.com/ConsenSys/Token-Factory TokenFactory] to create our TRC20 token.&lt;br /&gt;
&lt;br /&gt;
* Copy the following code into your favorite code editor. I will be using [https://atom.io/ Atom].&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
pragma solidity ^0.4.24;&lt;br /&gt;
&lt;br /&gt;
contract Token {&lt;br /&gt;
&lt;br /&gt;
    /// @return total amount of tokens&lt;br /&gt;
    function totalSupply() constant returns (uint256 supply) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address from which the balance will be retrieved&lt;br /&gt;
    /// @return The balance&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `msg.sender`&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from`&lt;br /&gt;
    /// @param _from The address of the sender&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice `msg.sender` approves `_addr` to spend `_value` tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @param _value The amount of wei to be approved for transfer&lt;br /&gt;
    /// @return Whether the approval was successful or not&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address of the account owning tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @return Amount of remaining tokens allowed to spent&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {}&lt;br /&gt;
&lt;br /&gt;
    event Transfer(address indexed _from, address indexed _to, uint256 _value);&lt;br /&gt;
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract StandardToken is Token {&lt;br /&gt;
&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[msg.sender] -= _value;&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            Transfer(msg.sender, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[_from] &amp;gt;= _value &amp;amp;&amp;amp; allowed[_from][msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            balances[_from] -= _value;&lt;br /&gt;
            allowed[_from][msg.sender] -= _value;&lt;br /&gt;
            Transfer(_from, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {&lt;br /&gt;
        return balances[_owner];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {&lt;br /&gt;
      return allowed[_owner][_spender];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    mapping (address =&amp;gt; uint256) balances;&lt;br /&gt;
    mapping (address =&amp;gt; mapping (address =&amp;gt; uint256)) allowed;&lt;br /&gt;
    uint256 public totalSupply;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract CoinWiki is StandardToken {&lt;br /&gt;
&lt;br /&gt;
    function () {&lt;br /&gt;
        //if ether is sent to this address, send it back.&lt;br /&gt;
        throw;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    string public name;                      &lt;br /&gt;
    uint8 public decimals;                 &lt;br /&gt;
    string public symbol;                    &lt;br /&gt;
    string public version = 'H1.0';       &lt;br /&gt;
&lt;br /&gt;
    function CoinWiki(&lt;br /&gt;
        ) {&lt;br /&gt;
        balances[msg.sender] = 160000000000000000000000000;               // Give the creator all initial tokens (100000 for example)&lt;br /&gt;
        totalSupply = 160000000000000000000000000;                                 // Update total supply (100000 for example)&lt;br /&gt;
        name = &amp;quot;CoinWiki Token&amp;quot;;                                                                         // Set the name for display purposes&lt;br /&gt;
        decimals = 18;                                                                                            // Amount of decimals for display purposes&lt;br /&gt;
        symbol = &amp;quot;CWT&amp;quot;;                                                                                       // Set the symbol for display purposes&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Approves and then calls the receiving contract&lt;br /&gt;
    function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
&lt;br /&gt;
        if(!_spender.call(bytes4(bytes32(sha3(&amp;quot;receiveApproval(address,uint256,address,bytes)&amp;quot;))), msg.sender, _value, this, _extraData)) { throw; }&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Change your token's supply on line 99 and 100&lt;br /&gt;
* Name your token on line 101&lt;br /&gt;
* Set your token's decimal on line 102 (Most tokens have 18 decimal places but you can have any number you like)&lt;br /&gt;
* Change your token's symbol on line 103&lt;br /&gt;
* Change the contract name on line 85 and the function name on line 97 to whatever you like (I just used my token's name)&lt;br /&gt;
&lt;br /&gt;
Now we are going to add our code to TronBox. &lt;br /&gt;
* Enter contracts directory&lt;br /&gt;
&amp;lt;code&amp;gt;cd tronbox/contracts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make new file for our token and paste in the modified code from your text editor. Name the file like so: &amp;lt;name_of_token&amp;gt;.sol&lt;br /&gt;
&amp;lt;code&amp;gt;nano CoinWiki.sol&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Modify Migrations ==&lt;br /&gt;
&lt;br /&gt;
* Modify '2_deploy_contracts.js' to match your token&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano migrations/2_deploy_contracts.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Uncommit both lines that have commits and replace all instances of 'MyContract' with the name of your contract&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to exit and save your file&lt;br /&gt;
&lt;br /&gt;
== Compile and Deploy your Token ==&lt;br /&gt;
* Input the following code into your terminal to compile and deploy your smart contract to the Tron testnet. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox compile --compile-all&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;source .env &amp;amp;&amp;amp; tronbox migrate --reset --network shasta&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* After you migrate your smart contract to the Shasta testnet you will see two variables: base58 and hex. The hex value is your 'contract address'. To see your new token, paste the value into the search bar on [https://shasta.tronscan.org Shasta Tronscan]/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
(base58) TVEfcAw4BaGWMzR8HxRszhLZqHTRgru2rx&lt;br /&gt;
(hex) 41d356d6a077e97e3f24fd17978b278d285c360ee0&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1057</id>
		<title>How to create your own TRC20 token on Tron</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1057"/>
				<updated>2019-12-08T19:28:58Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: /* Compile and Deploy your Token */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TRON is a decentralized blockchain content delivery platform to allow creators to publish and own their uploaded content. TRON originally existed as an [[ERC20]] token (TRX) operating on [[Ethereum]]'s blockchain but now exists as its own blockchain. [[Tron | TRON]] has its own set of token standards called [[TRC10]] and [[TRC20]]. In this guide I will walk you through creating your own TRC20 token.  &lt;br /&gt;
&lt;br /&gt;
== Download TronLink ==&lt;br /&gt;
* [[TronLink]] is a browser based extension for interacting with the TRON blockchain. It is available for chrome based browsers like Google Chrome and Brave. Add the extension to your browser by clicking the 'Add to Chrome' button. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlink.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the extension is added, click on it in the upper right hand corner. You will then be walked through some steps to create your wallet. First you are going to create a password then press 'Continue'. Then click on 'Create Wallet' like so:&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkpass.png|250px]]&lt;br /&gt;
[[File: Tronlinkcreate.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Now name your wallet and press 'Continue'. Next copy the mnemonic phrase to a safe place and press 'Continue'. The last step is to confirm the mnemonic phrase by selecting the words in order and press 'Confirm' to finish. You have now created a wallet!&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkwallet.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get test TRX coins ==&lt;br /&gt;
* Click the 'Settings' tab in TronLink and select 'Shasta Testnet' in the 'Node selection' box. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinktest.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next go [https://www.trongrid.io/shasta/#request here] and paste in your Tron address and click 'Submit'. 10,000 text TRX will then be deposited to your address.&lt;br /&gt;
&lt;br /&gt;
== Install TronBox ==&lt;br /&gt;
We will use [[TRON-BOX | TronBox]] to deploy our [[smart contracts | smart contract]] onto Tron's blockchain.&lt;br /&gt;
* Paste the following lines of code into your [[terminal]]&lt;br /&gt;
&amp;lt;code&amp;gt;npm install -g tronbox&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Initialize TronBox (this can take some time)&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox init&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring TronBox ===&lt;br /&gt;
We will need to copy your private key from our Tron wallet and place it in a .env file. Go to your TronLink extension and click 'Export' and copy your private key.&lt;br /&gt;
&lt;br /&gt;
Next create a '.env' file and paste in the following code with your private key. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano .env&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;export PRIVATE_KEY_SHASTA=your_private_key&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we will have to change the version compiler in &amp;lt;code&amp;gt;tronbox.js&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano tronbox.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll down to where is says &amp;lt;code&amp;gt;// version: '0.5.4'&amp;lt;/code&amp;gt; and uncomment the line (remove the '//') and enter '0.4.24'. Tronbox only supports the following Solidity versions: 0.4.24, 0.4.25, 0.5.4, 0.5.8.&lt;br /&gt;
&lt;br /&gt;
* When you are done press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
== Modify our token's code==&lt;br /&gt;
Smart contracts on Tron are built using Solidity, just like on Ethereum. So we will use a modified version of a ERC20 token code created by [https://github.com/ConsenSys/Token-Factory TokenFactory] to create our TRC20 token.&lt;br /&gt;
&lt;br /&gt;
* Copy the following code into your favorite code editor. I will be using [https://atom.io/ Atom].&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
pragma solidity ^0.4.24;&lt;br /&gt;
&lt;br /&gt;
contract Token {&lt;br /&gt;
&lt;br /&gt;
    /// @return total amount of tokens&lt;br /&gt;
    function totalSupply() constant returns (uint256 supply) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address from which the balance will be retrieved&lt;br /&gt;
    /// @return The balance&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `msg.sender`&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from`&lt;br /&gt;
    /// @param _from The address of the sender&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice `msg.sender` approves `_addr` to spend `_value` tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @param _value The amount of wei to be approved for transfer&lt;br /&gt;
    /// @return Whether the approval was successful or not&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address of the account owning tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @return Amount of remaining tokens allowed to spent&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {}&lt;br /&gt;
&lt;br /&gt;
    event Transfer(address indexed _from, address indexed _to, uint256 _value);&lt;br /&gt;
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract StandardToken is Token {&lt;br /&gt;
&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[msg.sender] -= _value;&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            Transfer(msg.sender, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[_from] &amp;gt;= _value &amp;amp;&amp;amp; allowed[_from][msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            balances[_from] -= _value;&lt;br /&gt;
            allowed[_from][msg.sender] -= _value;&lt;br /&gt;
            Transfer(_from, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {&lt;br /&gt;
        return balances[_owner];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {&lt;br /&gt;
      return allowed[_owner][_spender];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    mapping (address =&amp;gt; uint256) balances;&lt;br /&gt;
    mapping (address =&amp;gt; mapping (address =&amp;gt; uint256)) allowed;&lt;br /&gt;
    uint256 public totalSupply;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract CoinWiki is StandardToken {&lt;br /&gt;
&lt;br /&gt;
    function () {&lt;br /&gt;
        //if ether is sent to this address, send it back.&lt;br /&gt;
        throw;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    string public name;                      &lt;br /&gt;
    uint8 public decimals;                 &lt;br /&gt;
    string public symbol;                    &lt;br /&gt;
    string public version = 'H1.0';       &lt;br /&gt;
&lt;br /&gt;
    function CoinWiki(&lt;br /&gt;
        ) {&lt;br /&gt;
        balances[msg.sender] = 160000000000000000000000000;               // Give the creator all initial tokens (100000 for example)&lt;br /&gt;
        totalSupply = 160000000000000000000000000;                                 // Update total supply (100000 for example)&lt;br /&gt;
        name = &amp;quot;CoinWiki Token&amp;quot;;                                                                         // Set the name for display purposes&lt;br /&gt;
        decimals = 18;                                                                                            // Amount of decimals for display purposes&lt;br /&gt;
        symbol = &amp;quot;CWT&amp;quot;;                                                                                       // Set the symbol for display purposes&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Approves and then calls the receiving contract&lt;br /&gt;
    function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
&lt;br /&gt;
        if(!_spender.call(bytes4(bytes32(sha3(&amp;quot;receiveApproval(address,uint256,address,bytes)&amp;quot;))), msg.sender, _value, this, _extraData)) { throw; }&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Change your token's supply on line 99 and 100&lt;br /&gt;
* Name your token on line 101&lt;br /&gt;
* Set your token's decimal on line 102 (Most tokens have 18 decimal places but you can have any number you like)&lt;br /&gt;
* Change your token's symbol on line 103&lt;br /&gt;
* Change the contract name on line 85 and the function name on line 97 to whatever you like (I just used my token's name)&lt;br /&gt;
&lt;br /&gt;
Now we are going to add our code to TronBox. &lt;br /&gt;
* Enter contracts directory&lt;br /&gt;
&amp;lt;code&amp;gt;cd tronbox/contracts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make new file for our token and paste in the modified code from your text editor. Name the file like so: &amp;lt;name_of_token&amp;gt;.sol&lt;br /&gt;
&amp;lt;code&amp;gt;nano CoinWiki.sol&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Modify Migrations ==&lt;br /&gt;
&lt;br /&gt;
* Modify '2_deploy_contracts.js' to match your token&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano migrations/2_deploy_contracts.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Uncommit both lines that have commits and replace all instances of 'MyContract' with the name of your contract&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to exit and save your file&lt;br /&gt;
&lt;br /&gt;
== Compile and Deploy your Token ==&lt;br /&gt;
Input the following code into your terminal to compile and deploy your smart contract to the Tron testnet. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox compile --compile-all&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;source .env &amp;amp;&amp;amp; tronbox migrate --reset --network shasta&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1056</id>
		<title>How to create your own TRC20 token on Tron</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1056"/>
				<updated>2019-12-08T19:24:39Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: /* Compile and Deploy your Token */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TRON is a decentralized blockchain content delivery platform to allow creators to publish and own their uploaded content. TRON originally existed as an [[ERC20]] token (TRX) operating on [[Ethereum]]'s blockchain but now exists as its own blockchain. [[Tron | TRON]] has its own set of token standards called [[TRC10]] and [[TRC20]]. In this guide I will walk you through creating your own TRC20 token.  &lt;br /&gt;
&lt;br /&gt;
== Download TronLink ==&lt;br /&gt;
* [[TronLink]] is a browser based extension for interacting with the TRON blockchain. It is available for chrome based browsers like Google Chrome and Brave. Add the extension to your browser by clicking the 'Add to Chrome' button. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlink.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the extension is added, click on it in the upper right hand corner. You will then be walked through some steps to create your wallet. First you are going to create a password then press 'Continue'. Then click on 'Create Wallet' like so:&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkpass.png|250px]]&lt;br /&gt;
[[File: Tronlinkcreate.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Now name your wallet and press 'Continue'. Next copy the mnemonic phrase to a safe place and press 'Continue'. The last step is to confirm the mnemonic phrase by selecting the words in order and press 'Confirm' to finish. You have now created a wallet!&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkwallet.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get test TRX coins ==&lt;br /&gt;
* Click the 'Settings' tab in TronLink and select 'Shasta Testnet' in the 'Node selection' box. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinktest.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next go [https://www.trongrid.io/shasta/#request here] and paste in your Tron address and click 'Submit'. 10,000 text TRX will then be deposited to your address.&lt;br /&gt;
&lt;br /&gt;
== Install TronBox ==&lt;br /&gt;
We will use [[TRON-BOX | TronBox]] to deploy our [[smart contracts | smart contract]] onto Tron's blockchain.&lt;br /&gt;
* Paste the following lines of code into your [[terminal]]&lt;br /&gt;
&amp;lt;code&amp;gt;npm install -g tronbox&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Initialize TronBox (this can take some time)&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox init&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring TronBox ===&lt;br /&gt;
We will need to copy your private key from our Tron wallet and place it in a .env file. Go to your TronLink extension and click 'Export' and copy your private key.&lt;br /&gt;
&lt;br /&gt;
Next create a '.env' file and paste in the following code with your private key. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano .env&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;export PRIVATE_KEY_SHASTA=your_private_key&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we will have to change the version compiler in &amp;lt;code&amp;gt;tronbox.js&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano tronbox.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll down to where is says &amp;lt;code&amp;gt;// version: '0.5.4'&amp;lt;/code&amp;gt; and uncomment the line (remove the '//') and enter '0.4.24'. Tronbox only supports the following Solidity versions: 0.4.24, 0.4.25, 0.5.4, 0.5.8.&lt;br /&gt;
&lt;br /&gt;
* When you are done press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
== Modify our token's code==&lt;br /&gt;
Smart contracts on Tron are built using Solidity, just like on Ethereum. So we will use a modified version of a ERC20 token code created by [https://github.com/ConsenSys/Token-Factory TokenFactory] to create our TRC20 token.&lt;br /&gt;
&lt;br /&gt;
* Copy the following code into your favorite code editor. I will be using [https://atom.io/ Atom].&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
pragma solidity ^0.4.24;&lt;br /&gt;
&lt;br /&gt;
contract Token {&lt;br /&gt;
&lt;br /&gt;
    /// @return total amount of tokens&lt;br /&gt;
    function totalSupply() constant returns (uint256 supply) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address from which the balance will be retrieved&lt;br /&gt;
    /// @return The balance&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `msg.sender`&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from`&lt;br /&gt;
    /// @param _from The address of the sender&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice `msg.sender` approves `_addr` to spend `_value` tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @param _value The amount of wei to be approved for transfer&lt;br /&gt;
    /// @return Whether the approval was successful or not&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address of the account owning tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @return Amount of remaining tokens allowed to spent&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {}&lt;br /&gt;
&lt;br /&gt;
    event Transfer(address indexed _from, address indexed _to, uint256 _value);&lt;br /&gt;
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract StandardToken is Token {&lt;br /&gt;
&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[msg.sender] -= _value;&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            Transfer(msg.sender, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[_from] &amp;gt;= _value &amp;amp;&amp;amp; allowed[_from][msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            balances[_from] -= _value;&lt;br /&gt;
            allowed[_from][msg.sender] -= _value;&lt;br /&gt;
            Transfer(_from, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {&lt;br /&gt;
        return balances[_owner];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {&lt;br /&gt;
      return allowed[_owner][_spender];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    mapping (address =&amp;gt; uint256) balances;&lt;br /&gt;
    mapping (address =&amp;gt; mapping (address =&amp;gt; uint256)) allowed;&lt;br /&gt;
    uint256 public totalSupply;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract CoinWiki is StandardToken {&lt;br /&gt;
&lt;br /&gt;
    function () {&lt;br /&gt;
        //if ether is sent to this address, send it back.&lt;br /&gt;
        throw;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    string public name;                      &lt;br /&gt;
    uint8 public decimals;                 &lt;br /&gt;
    string public symbol;                    &lt;br /&gt;
    string public version = 'H1.0';       &lt;br /&gt;
&lt;br /&gt;
    function CoinWiki(&lt;br /&gt;
        ) {&lt;br /&gt;
        balances[msg.sender] = 160000000000000000000000000;               // Give the creator all initial tokens (100000 for example)&lt;br /&gt;
        totalSupply = 160000000000000000000000000;                                 // Update total supply (100000 for example)&lt;br /&gt;
        name = &amp;quot;CoinWiki Token&amp;quot;;                                                                         // Set the name for display purposes&lt;br /&gt;
        decimals = 18;                                                                                            // Amount of decimals for display purposes&lt;br /&gt;
        symbol = &amp;quot;CWT&amp;quot;;                                                                                       // Set the symbol for display purposes&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Approves and then calls the receiving contract&lt;br /&gt;
    function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
&lt;br /&gt;
        if(!_spender.call(bytes4(bytes32(sha3(&amp;quot;receiveApproval(address,uint256,address,bytes)&amp;quot;))), msg.sender, _value, this, _extraData)) { throw; }&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Change your token's supply on line 99 and 100&lt;br /&gt;
* Name your token on line 101&lt;br /&gt;
* Set your token's decimal on line 102 (Most tokens have 18 decimal places but you can have any number you like)&lt;br /&gt;
* Change your token's symbol on line 103&lt;br /&gt;
* Change the contract name on line 85 and the function name on line 97 to whatever you like (I just used my token's name)&lt;br /&gt;
&lt;br /&gt;
Now we are going to add our code to TronBox. &lt;br /&gt;
* Enter contracts directory&lt;br /&gt;
&amp;lt;code&amp;gt;cd tronbox/contracts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make new file for our token and paste in the modified code from your text editor. Name the file like so: &amp;lt;name_of_token&amp;gt;.sol&lt;br /&gt;
&amp;lt;code&amp;gt;nano CoinWiki.sol&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Modify Migrations ==&lt;br /&gt;
&lt;br /&gt;
* Modify '2_deploy_contracts.js' to match your token&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano migrations/2_deploy_contracts.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Uncommit both lines that have commits and replace all instances of 'MyContract' with the name of your contract&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to exit and save your file&lt;br /&gt;
&lt;br /&gt;
== Compile and Deploy your Token ==&lt;br /&gt;
Input the following code into your terminal to compile and deploy your smart contract to the Tron testnet. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox compile --compile-all&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox migrate --reset --network shasta&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1055</id>
		<title>How to create your own TRC20 token on Tron</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1055"/>
				<updated>2019-12-08T19:23:03Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: /* Modify Migrations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TRON is a decentralized blockchain content delivery platform to allow creators to publish and own their uploaded content. TRON originally existed as an [[ERC20]] token (TRX) operating on [[Ethereum]]'s blockchain but now exists as its own blockchain. [[Tron | TRON]] has its own set of token standards called [[TRC10]] and [[TRC20]]. In this guide I will walk you through creating your own TRC20 token.  &lt;br /&gt;
&lt;br /&gt;
== Download TronLink ==&lt;br /&gt;
* [[TronLink]] is a browser based extension for interacting with the TRON blockchain. It is available for chrome based browsers like Google Chrome and Brave. Add the extension to your browser by clicking the 'Add to Chrome' button. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlink.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the extension is added, click on it in the upper right hand corner. You will then be walked through some steps to create your wallet. First you are going to create a password then press 'Continue'. Then click on 'Create Wallet' like so:&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkpass.png|250px]]&lt;br /&gt;
[[File: Tronlinkcreate.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Now name your wallet and press 'Continue'. Next copy the mnemonic phrase to a safe place and press 'Continue'. The last step is to confirm the mnemonic phrase by selecting the words in order and press 'Confirm' to finish. You have now created a wallet!&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkwallet.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get test TRX coins ==&lt;br /&gt;
* Click the 'Settings' tab in TronLink and select 'Shasta Testnet' in the 'Node selection' box. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinktest.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next go [https://www.trongrid.io/shasta/#request here] and paste in your Tron address and click 'Submit'. 10,000 text TRX will then be deposited to your address.&lt;br /&gt;
&lt;br /&gt;
== Install TronBox ==&lt;br /&gt;
We will use [[TRON-BOX | TronBox]] to deploy our [[smart contracts | smart contract]] onto Tron's blockchain.&lt;br /&gt;
* Paste the following lines of code into your [[terminal]]&lt;br /&gt;
&amp;lt;code&amp;gt;npm install -g tronbox&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Initialize TronBox (this can take some time)&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox init&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring TronBox ===&lt;br /&gt;
We will need to copy your private key from our Tron wallet and place it in a .env file. Go to your TronLink extension and click 'Export' and copy your private key.&lt;br /&gt;
&lt;br /&gt;
Next create a '.env' file and paste in the following code with your private key. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano .env&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;export PRIVATE_KEY_SHASTA=your_private_key&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we will have to change the version compiler in &amp;lt;code&amp;gt;tronbox.js&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano tronbox.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll down to where is says &amp;lt;code&amp;gt;// version: '0.5.4'&amp;lt;/code&amp;gt; and uncomment the line (remove the '//') and enter '0.4.24'. Tronbox only supports the following Solidity versions: 0.4.24, 0.4.25, 0.5.4, 0.5.8.&lt;br /&gt;
&lt;br /&gt;
* When you are done press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
== Modify our token's code==&lt;br /&gt;
Smart contracts on Tron are built using Solidity, just like on Ethereum. So we will use a modified version of a ERC20 token code created by [https://github.com/ConsenSys/Token-Factory TokenFactory] to create our TRC20 token.&lt;br /&gt;
&lt;br /&gt;
* Copy the following code into your favorite code editor. I will be using [https://atom.io/ Atom].&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
pragma solidity ^0.4.24;&lt;br /&gt;
&lt;br /&gt;
contract Token {&lt;br /&gt;
&lt;br /&gt;
    /// @return total amount of tokens&lt;br /&gt;
    function totalSupply() constant returns (uint256 supply) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address from which the balance will be retrieved&lt;br /&gt;
    /// @return The balance&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `msg.sender`&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from`&lt;br /&gt;
    /// @param _from The address of the sender&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice `msg.sender` approves `_addr` to spend `_value` tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @param _value The amount of wei to be approved for transfer&lt;br /&gt;
    /// @return Whether the approval was successful or not&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address of the account owning tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @return Amount of remaining tokens allowed to spent&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {}&lt;br /&gt;
&lt;br /&gt;
    event Transfer(address indexed _from, address indexed _to, uint256 _value);&lt;br /&gt;
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract StandardToken is Token {&lt;br /&gt;
&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[msg.sender] -= _value;&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            Transfer(msg.sender, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[_from] &amp;gt;= _value &amp;amp;&amp;amp; allowed[_from][msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            balances[_from] -= _value;&lt;br /&gt;
            allowed[_from][msg.sender] -= _value;&lt;br /&gt;
            Transfer(_from, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {&lt;br /&gt;
        return balances[_owner];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {&lt;br /&gt;
      return allowed[_owner][_spender];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    mapping (address =&amp;gt; uint256) balances;&lt;br /&gt;
    mapping (address =&amp;gt; mapping (address =&amp;gt; uint256)) allowed;&lt;br /&gt;
    uint256 public totalSupply;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract CoinWiki is StandardToken {&lt;br /&gt;
&lt;br /&gt;
    function () {&lt;br /&gt;
        //if ether is sent to this address, send it back.&lt;br /&gt;
        throw;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    string public name;                      &lt;br /&gt;
    uint8 public decimals;                 &lt;br /&gt;
    string public symbol;                    &lt;br /&gt;
    string public version = 'H1.0';       &lt;br /&gt;
&lt;br /&gt;
    function CoinWiki(&lt;br /&gt;
        ) {&lt;br /&gt;
        balances[msg.sender] = 160000000000000000000000000;               // Give the creator all initial tokens (100000 for example)&lt;br /&gt;
        totalSupply = 160000000000000000000000000;                                 // Update total supply (100000 for example)&lt;br /&gt;
        name = &amp;quot;CoinWiki Token&amp;quot;;                                                                         // Set the name for display purposes&lt;br /&gt;
        decimals = 18;                                                                                            // Amount of decimals for display purposes&lt;br /&gt;
        symbol = &amp;quot;CWT&amp;quot;;                                                                                       // Set the symbol for display purposes&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Approves and then calls the receiving contract&lt;br /&gt;
    function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
&lt;br /&gt;
        if(!_spender.call(bytes4(bytes32(sha3(&amp;quot;receiveApproval(address,uint256,address,bytes)&amp;quot;))), msg.sender, _value, this, _extraData)) { throw; }&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Change your token's supply on line 99 and 100&lt;br /&gt;
* Name your token on line 101&lt;br /&gt;
* Set your token's decimal on line 102 (Most tokens have 18 decimal places but you can have any number you like)&lt;br /&gt;
* Change your token's symbol on line 103&lt;br /&gt;
* Change the contract name on line 85 and the function name on line 97 to whatever you like (I just used my token's name)&lt;br /&gt;
&lt;br /&gt;
Now we are going to add our code to TronBox. &lt;br /&gt;
* Enter contracts directory&lt;br /&gt;
&amp;lt;code&amp;gt;cd tronbox/contracts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make new file for our token and paste in the modified code from your text editor. Name the file like so: &amp;lt;name_of_token&amp;gt;.sol&lt;br /&gt;
&amp;lt;code&amp;gt;nano CoinWiki.sol&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Modify Migrations ==&lt;br /&gt;
&lt;br /&gt;
* Modify '2_deploy_contracts.js' to match your token&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano migrations/2_deploy_contracts.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Uncommit both lines that have commits and replace all instances of 'MyContract' with the name of your contract&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to exit and save your file&lt;br /&gt;
&lt;br /&gt;
== Compile and Deploy your Token ==&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox compile --compile-all&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox migrate --reset --network development&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1054</id>
		<title>How to create your own TRC20 token on Tron</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1054"/>
				<updated>2019-12-08T19:18:46Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: /* Configuring TronBox */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TRON is a decentralized blockchain content delivery platform to allow creators to publish and own their uploaded content. TRON originally existed as an [[ERC20]] token (TRX) operating on [[Ethereum]]'s blockchain but now exists as its own blockchain. [[Tron | TRON]] has its own set of token standards called [[TRC10]] and [[TRC20]]. In this guide I will walk you through creating your own TRC20 token.  &lt;br /&gt;
&lt;br /&gt;
== Download TronLink ==&lt;br /&gt;
* [[TronLink]] is a browser based extension for interacting with the TRON blockchain. It is available for chrome based browsers like Google Chrome and Brave. Add the extension to your browser by clicking the 'Add to Chrome' button. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlink.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the extension is added, click on it in the upper right hand corner. You will then be walked through some steps to create your wallet. First you are going to create a password then press 'Continue'. Then click on 'Create Wallet' like so:&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkpass.png|250px]]&lt;br /&gt;
[[File: Tronlinkcreate.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Now name your wallet and press 'Continue'. Next copy the mnemonic phrase to a safe place and press 'Continue'. The last step is to confirm the mnemonic phrase by selecting the words in order and press 'Confirm' to finish. You have now created a wallet!&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkwallet.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get test TRX coins ==&lt;br /&gt;
* Click the 'Settings' tab in TronLink and select 'Shasta Testnet' in the 'Node selection' box. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinktest.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next go [https://www.trongrid.io/shasta/#request here] and paste in your Tron address and click 'Submit'. 10,000 text TRX will then be deposited to your address.&lt;br /&gt;
&lt;br /&gt;
== Install TronBox ==&lt;br /&gt;
We will use [[TRON-BOX | TronBox]] to deploy our [[smart contracts | smart contract]] onto Tron's blockchain.&lt;br /&gt;
* Paste the following lines of code into your [[terminal]]&lt;br /&gt;
&amp;lt;code&amp;gt;npm install -g tronbox&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Initialize TronBox (this can take some time)&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox init&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring TronBox ===&lt;br /&gt;
We will need to copy your private key from our Tron wallet and place it in a .env file. Go to your TronLink extension and click 'Export' and copy your private key.&lt;br /&gt;
&lt;br /&gt;
Next create a '.env' file and paste in the following code with your private key. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano .env&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;export PRIVATE_KEY_SHASTA=your_private_key&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we will have to change the version compiler in &amp;lt;code&amp;gt;tronbox.js&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano tronbox.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll down to where is says &amp;lt;code&amp;gt;// version: '0.5.4'&amp;lt;/code&amp;gt; and uncomment the line (remove the '//') and enter '0.4.24'. Tronbox only supports the following Solidity versions: 0.4.24, 0.4.25, 0.5.4, 0.5.8.&lt;br /&gt;
&lt;br /&gt;
* When you are done press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
== Modify our token's code==&lt;br /&gt;
Smart contracts on Tron are built using Solidity, just like on Ethereum. So we will use a modified version of a ERC20 token code created by [https://github.com/ConsenSys/Token-Factory TokenFactory] to create our TRC20 token.&lt;br /&gt;
&lt;br /&gt;
* Copy the following code into your favorite code editor. I will be using [https://atom.io/ Atom].&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
pragma solidity ^0.4.24;&lt;br /&gt;
&lt;br /&gt;
contract Token {&lt;br /&gt;
&lt;br /&gt;
    /// @return total amount of tokens&lt;br /&gt;
    function totalSupply() constant returns (uint256 supply) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address from which the balance will be retrieved&lt;br /&gt;
    /// @return The balance&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `msg.sender`&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from`&lt;br /&gt;
    /// @param _from The address of the sender&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice `msg.sender` approves `_addr` to spend `_value` tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @param _value The amount of wei to be approved for transfer&lt;br /&gt;
    /// @return Whether the approval was successful or not&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address of the account owning tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @return Amount of remaining tokens allowed to spent&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {}&lt;br /&gt;
&lt;br /&gt;
    event Transfer(address indexed _from, address indexed _to, uint256 _value);&lt;br /&gt;
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract StandardToken is Token {&lt;br /&gt;
&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[msg.sender] -= _value;&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            Transfer(msg.sender, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[_from] &amp;gt;= _value &amp;amp;&amp;amp; allowed[_from][msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            balances[_from] -= _value;&lt;br /&gt;
            allowed[_from][msg.sender] -= _value;&lt;br /&gt;
            Transfer(_from, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {&lt;br /&gt;
        return balances[_owner];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {&lt;br /&gt;
      return allowed[_owner][_spender];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    mapping (address =&amp;gt; uint256) balances;&lt;br /&gt;
    mapping (address =&amp;gt; mapping (address =&amp;gt; uint256)) allowed;&lt;br /&gt;
    uint256 public totalSupply;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract CoinWiki is StandardToken {&lt;br /&gt;
&lt;br /&gt;
    function () {&lt;br /&gt;
        //if ether is sent to this address, send it back.&lt;br /&gt;
        throw;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    string public name;                      &lt;br /&gt;
    uint8 public decimals;                 &lt;br /&gt;
    string public symbol;                    &lt;br /&gt;
    string public version = 'H1.0';       &lt;br /&gt;
&lt;br /&gt;
    function CoinWiki(&lt;br /&gt;
        ) {&lt;br /&gt;
        balances[msg.sender] = 160000000000000000000000000;               // Give the creator all initial tokens (100000 for example)&lt;br /&gt;
        totalSupply = 160000000000000000000000000;                                 // Update total supply (100000 for example)&lt;br /&gt;
        name = &amp;quot;CoinWiki Token&amp;quot;;                                                                         // Set the name for display purposes&lt;br /&gt;
        decimals = 18;                                                                                            // Amount of decimals for display purposes&lt;br /&gt;
        symbol = &amp;quot;CWT&amp;quot;;                                                                                       // Set the symbol for display purposes&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Approves and then calls the receiving contract&lt;br /&gt;
    function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
&lt;br /&gt;
        if(!_spender.call(bytes4(bytes32(sha3(&amp;quot;receiveApproval(address,uint256,address,bytes)&amp;quot;))), msg.sender, _value, this, _extraData)) { throw; }&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Change your token's supply on line 99 and 100&lt;br /&gt;
* Name your token on line 101&lt;br /&gt;
* Set your token's decimal on line 102 (Most tokens have 18 decimal places but you can have any number you like)&lt;br /&gt;
* Change your token's symbol on line 103&lt;br /&gt;
* Change the contract name on line 85 and the function name on line 97 to whatever you like (I just used my token's name)&lt;br /&gt;
&lt;br /&gt;
Now we are going to add our code to TronBox. &lt;br /&gt;
* Enter contracts directory&lt;br /&gt;
&amp;lt;code&amp;gt;cd tronbox/contracts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make new file for our token and paste in the modified code from your text editor. Name the file like so: &amp;lt;name_of_token&amp;gt;.sol&lt;br /&gt;
&amp;lt;code&amp;gt;nano CoinWiki.sol&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Modify Migrations ==&lt;br /&gt;
&lt;br /&gt;
* Modify '2_deploy_contracts.js' to match your token&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano migrations/2_deploy_contracts.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Replace 'MyContract' with the name of your contract like so:&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Compile and Deploy your Token ==&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox compile --compile-all&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox migrate --reset --network development&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1053</id>
		<title>How to create your own TRC20 token on Tron</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1053"/>
				<updated>2019-12-08T19:09:48Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: /* Configuring TronBox */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TRON is a decentralized blockchain content delivery platform to allow creators to publish and own their uploaded content. TRON originally existed as an [[ERC20]] token (TRX) operating on [[Ethereum]]'s blockchain but now exists as its own blockchain. [[Tron | TRON]] has its own set of token standards called [[TRC10]] and [[TRC20]]. In this guide I will walk you through creating your own TRC20 token.  &lt;br /&gt;
&lt;br /&gt;
== Download TronLink ==&lt;br /&gt;
* [[TronLink]] is a browser based extension for interacting with the TRON blockchain. It is available for chrome based browsers like Google Chrome and Brave. Add the extension to your browser by clicking the 'Add to Chrome' button. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlink.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the extension is added, click on it in the upper right hand corner. You will then be walked through some steps to create your wallet. First you are going to create a password then press 'Continue'. Then click on 'Create Wallet' like so:&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkpass.png|250px]]&lt;br /&gt;
[[File: Tronlinkcreate.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Now name your wallet and press 'Continue'. Next copy the mnemonic phrase to a safe place and press 'Continue'. The last step is to confirm the mnemonic phrase by selecting the words in order and press 'Confirm' to finish. You have now created a wallet!&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkwallet.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get test TRX coins ==&lt;br /&gt;
* Click the 'Settings' tab in TronLink and select 'Shasta Testnet' in the 'Node selection' box. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinktest.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next go [https://www.trongrid.io/shasta/#request here] and paste in your Tron address and click 'Submit'. 10,000 text TRX will then be deposited to your address.&lt;br /&gt;
&lt;br /&gt;
== Install TronBox ==&lt;br /&gt;
We will use [[TRON-BOX | TronBox]] to deploy our [[smart contracts | smart contract]] onto Tron's blockchain.&lt;br /&gt;
* Paste the following lines of code into your [[terminal]]&lt;br /&gt;
&amp;lt;code&amp;gt;npm install -g tronbox&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Initialize TronBox (this can take some time)&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox init&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring TronBox ===&lt;br /&gt;
We will need to copy your private key from our Tron wallet and place it in a .env file. Go to your TronLink extension and click 'Export' and copy your private key.&lt;br /&gt;
&lt;br /&gt;
Next create a '.env' file and paste in the following code with your private key. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano .env&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;export PRIVATE_KEY_SHASTA=your_private_key&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
== Modify our token's code==&lt;br /&gt;
Smart contracts on Tron are built using Solidity, just like on Ethereum. So we will use a modified version of a ERC20 token code created by [https://github.com/ConsenSys/Token-Factory TokenFactory] to create our TRC20 token.&lt;br /&gt;
&lt;br /&gt;
* Copy the following code into your favorite code editor. I will be using [https://atom.io/ Atom].&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
pragma solidity ^0.4.24;&lt;br /&gt;
&lt;br /&gt;
contract Token {&lt;br /&gt;
&lt;br /&gt;
    /// @return total amount of tokens&lt;br /&gt;
    function totalSupply() constant returns (uint256 supply) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address from which the balance will be retrieved&lt;br /&gt;
    /// @return The balance&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `msg.sender`&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from`&lt;br /&gt;
    /// @param _from The address of the sender&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice `msg.sender` approves `_addr` to spend `_value` tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @param _value The amount of wei to be approved for transfer&lt;br /&gt;
    /// @return Whether the approval was successful or not&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address of the account owning tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @return Amount of remaining tokens allowed to spent&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {}&lt;br /&gt;
&lt;br /&gt;
    event Transfer(address indexed _from, address indexed _to, uint256 _value);&lt;br /&gt;
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract StandardToken is Token {&lt;br /&gt;
&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[msg.sender] -= _value;&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            Transfer(msg.sender, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[_from] &amp;gt;= _value &amp;amp;&amp;amp; allowed[_from][msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            balances[_from] -= _value;&lt;br /&gt;
            allowed[_from][msg.sender] -= _value;&lt;br /&gt;
            Transfer(_from, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {&lt;br /&gt;
        return balances[_owner];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {&lt;br /&gt;
      return allowed[_owner][_spender];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    mapping (address =&amp;gt; uint256) balances;&lt;br /&gt;
    mapping (address =&amp;gt; mapping (address =&amp;gt; uint256)) allowed;&lt;br /&gt;
    uint256 public totalSupply;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract CoinWiki is StandardToken {&lt;br /&gt;
&lt;br /&gt;
    function () {&lt;br /&gt;
        //if ether is sent to this address, send it back.&lt;br /&gt;
        throw;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    string public name;                      &lt;br /&gt;
    uint8 public decimals;                 &lt;br /&gt;
    string public symbol;                    &lt;br /&gt;
    string public version = 'H1.0';       &lt;br /&gt;
&lt;br /&gt;
    function CoinWiki(&lt;br /&gt;
        ) {&lt;br /&gt;
        balances[msg.sender] = 160000000000000000000000000;               // Give the creator all initial tokens (100000 for example)&lt;br /&gt;
        totalSupply = 160000000000000000000000000;                                 // Update total supply (100000 for example)&lt;br /&gt;
        name = &amp;quot;CoinWiki Token&amp;quot;;                                                                         // Set the name for display purposes&lt;br /&gt;
        decimals = 18;                                                                                            // Amount of decimals for display purposes&lt;br /&gt;
        symbol = &amp;quot;CWT&amp;quot;;                                                                                       // Set the symbol for display purposes&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Approves and then calls the receiving contract&lt;br /&gt;
    function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
&lt;br /&gt;
        if(!_spender.call(bytes4(bytes32(sha3(&amp;quot;receiveApproval(address,uint256,address,bytes)&amp;quot;))), msg.sender, _value, this, _extraData)) { throw; }&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Change your token's supply on line 99 and 100&lt;br /&gt;
* Name your token on line 101&lt;br /&gt;
* Set your token's decimal on line 102 (Most tokens have 18 decimal places but you can have any number you like)&lt;br /&gt;
* Change your token's symbol on line 103&lt;br /&gt;
* Change the contract name on line 85 and the function name on line 97 to whatever you like (I just used my token's name)&lt;br /&gt;
&lt;br /&gt;
Now we are going to add our code to TronBox. &lt;br /&gt;
* Enter contracts directory&lt;br /&gt;
&amp;lt;code&amp;gt;cd tronbox/contracts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make new file for our token and paste in the modified code from your text editor. Name the file like so: &amp;lt;name_of_token&amp;gt;.sol&lt;br /&gt;
&amp;lt;code&amp;gt;nano CoinWiki.sol&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Modify Migrations ==&lt;br /&gt;
&lt;br /&gt;
* Modify '2_deploy_contracts.js' to match your token&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano migrations/2_deploy_contracts.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Replace 'MyContract' with the name of your contract like so:&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Compile and Deploy your Token ==&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox compile --compile-all&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox migrate --reset --network development&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1052</id>
		<title>How to create your own TRC20 token on Tron</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1052"/>
				<updated>2019-12-08T19:08:52Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: /* Modify Migrations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TRON is a decentralized blockchain content delivery platform to allow creators to publish and own their uploaded content. TRON originally existed as an [[ERC20]] token (TRX) operating on [[Ethereum]]'s blockchain but now exists as its own blockchain. [[Tron | TRON]] has its own set of token standards called [[TRC10]] and [[TRC20]]. In this guide I will walk you through creating your own TRC20 token.  &lt;br /&gt;
&lt;br /&gt;
== Download TronLink ==&lt;br /&gt;
* [[TronLink]] is a browser based extension for interacting with the TRON blockchain. It is available for chrome based browsers like Google Chrome and Brave. Add the extension to your browser by clicking the 'Add to Chrome' button. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlink.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the extension is added, click on it in the upper right hand corner. You will then be walked through some steps to create your wallet. First you are going to create a password then press 'Continue'. Then click on 'Create Wallet' like so:&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkpass.png|250px]]&lt;br /&gt;
[[File: Tronlinkcreate.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Now name your wallet and press 'Continue'. Next copy the mnemonic phrase to a safe place and press 'Continue'. The last step is to confirm the mnemonic phrase by selecting the words in order and press 'Confirm' to finish. You have now created a wallet!&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkwallet.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get test TRX coins ==&lt;br /&gt;
* Click the 'Settings' tab in TronLink and select 'Shasta Testnet' in the 'Node selection' box. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinktest.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next go [https://www.trongrid.io/shasta/#request here] and paste in your Tron address and click 'Submit'. 10,000 text TRX will then be deposited to your address.&lt;br /&gt;
&lt;br /&gt;
== Install TronBox ==&lt;br /&gt;
We will use [[TRON-BOX | TronBox]] to deploy our [[smart contracts | smart contract]] onto Tron's blockchain.&lt;br /&gt;
* Paste the following lines of code into your [[terminal]]&lt;br /&gt;
&amp;lt;code&amp;gt;npm install -g tronbox&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Initialize TronBox (this can take some time)&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox init&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring TronBox ===&lt;br /&gt;
We will need to copy your private key from our Tron wallet and place it in a .env file. Go to your TronLink extension and click 'Export' and copy your private key.&lt;br /&gt;
&lt;br /&gt;
Next create a '.env' file and paste in the following code with your private key. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano .env&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;export PRIVATE_KEY_SHASTA =your_private_key&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
== Modify our token's code==&lt;br /&gt;
Smart contracts on Tron are built using Solidity, just like on Ethereum. So we will use a modified version of a ERC20 token code created by [https://github.com/ConsenSys/Token-Factory TokenFactory] to create our TRC20 token.&lt;br /&gt;
&lt;br /&gt;
* Copy the following code into your favorite code editor. I will be using [https://atom.io/ Atom].&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
pragma solidity ^0.4.24;&lt;br /&gt;
&lt;br /&gt;
contract Token {&lt;br /&gt;
&lt;br /&gt;
    /// @return total amount of tokens&lt;br /&gt;
    function totalSupply() constant returns (uint256 supply) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address from which the balance will be retrieved&lt;br /&gt;
    /// @return The balance&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `msg.sender`&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from`&lt;br /&gt;
    /// @param _from The address of the sender&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice `msg.sender` approves `_addr` to spend `_value` tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @param _value The amount of wei to be approved for transfer&lt;br /&gt;
    /// @return Whether the approval was successful or not&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address of the account owning tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @return Amount of remaining tokens allowed to spent&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {}&lt;br /&gt;
&lt;br /&gt;
    event Transfer(address indexed _from, address indexed _to, uint256 _value);&lt;br /&gt;
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract StandardToken is Token {&lt;br /&gt;
&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[msg.sender] -= _value;&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            Transfer(msg.sender, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[_from] &amp;gt;= _value &amp;amp;&amp;amp; allowed[_from][msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            balances[_from] -= _value;&lt;br /&gt;
            allowed[_from][msg.sender] -= _value;&lt;br /&gt;
            Transfer(_from, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {&lt;br /&gt;
        return balances[_owner];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {&lt;br /&gt;
      return allowed[_owner][_spender];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    mapping (address =&amp;gt; uint256) balances;&lt;br /&gt;
    mapping (address =&amp;gt; mapping (address =&amp;gt; uint256)) allowed;&lt;br /&gt;
    uint256 public totalSupply;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract CoinWiki is StandardToken {&lt;br /&gt;
&lt;br /&gt;
    function () {&lt;br /&gt;
        //if ether is sent to this address, send it back.&lt;br /&gt;
        throw;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    string public name;                      &lt;br /&gt;
    uint8 public decimals;                 &lt;br /&gt;
    string public symbol;                    &lt;br /&gt;
    string public version = 'H1.0';       &lt;br /&gt;
&lt;br /&gt;
    function CoinWiki(&lt;br /&gt;
        ) {&lt;br /&gt;
        balances[msg.sender] = 160000000000000000000000000;               // Give the creator all initial tokens (100000 for example)&lt;br /&gt;
        totalSupply = 160000000000000000000000000;                                 // Update total supply (100000 for example)&lt;br /&gt;
        name = &amp;quot;CoinWiki Token&amp;quot;;                                                                         // Set the name for display purposes&lt;br /&gt;
        decimals = 18;                                                                                            // Amount of decimals for display purposes&lt;br /&gt;
        symbol = &amp;quot;CWT&amp;quot;;                                                                                       // Set the symbol for display purposes&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Approves and then calls the receiving contract&lt;br /&gt;
    function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
&lt;br /&gt;
        if(!_spender.call(bytes4(bytes32(sha3(&amp;quot;receiveApproval(address,uint256,address,bytes)&amp;quot;))), msg.sender, _value, this, _extraData)) { throw; }&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Change your token's supply on line 99 and 100&lt;br /&gt;
* Name your token on line 101&lt;br /&gt;
* Set your token's decimal on line 102 (Most tokens have 18 decimal places but you can have any number you like)&lt;br /&gt;
* Change your token's symbol on line 103&lt;br /&gt;
* Change the contract name on line 85 and the function name on line 97 to whatever you like (I just used my token's name)&lt;br /&gt;
&lt;br /&gt;
Now we are going to add our code to TronBox. &lt;br /&gt;
* Enter contracts directory&lt;br /&gt;
&amp;lt;code&amp;gt;cd tronbox/contracts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make new file for our token and paste in the modified code from your text editor. Name the file like so: &amp;lt;name_of_token&amp;gt;.sol&lt;br /&gt;
&amp;lt;code&amp;gt;nano CoinWiki.sol&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Modify Migrations ==&lt;br /&gt;
&lt;br /&gt;
* Modify '2_deploy_contracts.js' to match your token&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano migrations/2_deploy_contracts.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Replace 'MyContract' with the name of your contract like so:&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Compile and Deploy your Token ==&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox compile --compile-all&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox migrate --reset --network development&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1051</id>
		<title>How to create your own TRC20 token on Tron</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1051"/>
				<updated>2019-12-08T19:08:05Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: /* Modify Migrations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TRON is a decentralized blockchain content delivery platform to allow creators to publish and own their uploaded content. TRON originally existed as an [[ERC20]] token (TRX) operating on [[Ethereum]]'s blockchain but now exists as its own blockchain. [[Tron | TRON]] has its own set of token standards called [[TRC10]] and [[TRC20]]. In this guide I will walk you through creating your own TRC20 token.  &lt;br /&gt;
&lt;br /&gt;
== Download TronLink ==&lt;br /&gt;
* [[TronLink]] is a browser based extension for interacting with the TRON blockchain. It is available for chrome based browsers like Google Chrome and Brave. Add the extension to your browser by clicking the 'Add to Chrome' button. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlink.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the extension is added, click on it in the upper right hand corner. You will then be walked through some steps to create your wallet. First you are going to create a password then press 'Continue'. Then click on 'Create Wallet' like so:&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkpass.png|250px]]&lt;br /&gt;
[[File: Tronlinkcreate.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Now name your wallet and press 'Continue'. Next copy the mnemonic phrase to a safe place and press 'Continue'. The last step is to confirm the mnemonic phrase by selecting the words in order and press 'Confirm' to finish. You have now created a wallet!&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkwallet.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get test TRX coins ==&lt;br /&gt;
* Click the 'Settings' tab in TronLink and select 'Shasta Testnet' in the 'Node selection' box. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinktest.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next go [https://www.trongrid.io/shasta/#request here] and paste in your Tron address and click 'Submit'. 10,000 text TRX will then be deposited to your address.&lt;br /&gt;
&lt;br /&gt;
== Install TronBox ==&lt;br /&gt;
We will use [[TRON-BOX | TronBox]] to deploy our [[smart contracts | smart contract]] onto Tron's blockchain.&lt;br /&gt;
* Paste the following lines of code into your [[terminal]]&lt;br /&gt;
&amp;lt;code&amp;gt;npm install -g tronbox&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Initialize TronBox (this can take some time)&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox init&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring TronBox ===&lt;br /&gt;
We will need to copy your private key from our Tron wallet and place it in a .env file. Go to your TronLink extension and click 'Export' and copy your private key.&lt;br /&gt;
&lt;br /&gt;
Next create a '.env' file and paste in the following code with your private key. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano .env&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;export PRIVATE_KEY_SHASTA =your_private_key&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
== Modify our token's code==&lt;br /&gt;
Smart contracts on Tron are built using Solidity, just like on Ethereum. So we will use a modified version of a ERC20 token code created by [https://github.com/ConsenSys/Token-Factory TokenFactory] to create our TRC20 token.&lt;br /&gt;
&lt;br /&gt;
* Copy the following code into your favorite code editor. I will be using [https://atom.io/ Atom].&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
pragma solidity ^0.4.24;&lt;br /&gt;
&lt;br /&gt;
contract Token {&lt;br /&gt;
&lt;br /&gt;
    /// @return total amount of tokens&lt;br /&gt;
    function totalSupply() constant returns (uint256 supply) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address from which the balance will be retrieved&lt;br /&gt;
    /// @return The balance&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `msg.sender`&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from`&lt;br /&gt;
    /// @param _from The address of the sender&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice `msg.sender` approves `_addr` to spend `_value` tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @param _value The amount of wei to be approved for transfer&lt;br /&gt;
    /// @return Whether the approval was successful or not&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address of the account owning tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @return Amount of remaining tokens allowed to spent&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {}&lt;br /&gt;
&lt;br /&gt;
    event Transfer(address indexed _from, address indexed _to, uint256 _value);&lt;br /&gt;
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract StandardToken is Token {&lt;br /&gt;
&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[msg.sender] -= _value;&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            Transfer(msg.sender, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[_from] &amp;gt;= _value &amp;amp;&amp;amp; allowed[_from][msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            balances[_from] -= _value;&lt;br /&gt;
            allowed[_from][msg.sender] -= _value;&lt;br /&gt;
            Transfer(_from, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {&lt;br /&gt;
        return balances[_owner];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {&lt;br /&gt;
      return allowed[_owner][_spender];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    mapping (address =&amp;gt; uint256) balances;&lt;br /&gt;
    mapping (address =&amp;gt; mapping (address =&amp;gt; uint256)) allowed;&lt;br /&gt;
    uint256 public totalSupply;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract CoinWiki is StandardToken {&lt;br /&gt;
&lt;br /&gt;
    function () {&lt;br /&gt;
        //if ether is sent to this address, send it back.&lt;br /&gt;
        throw;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    string public name;                      &lt;br /&gt;
    uint8 public decimals;                 &lt;br /&gt;
    string public symbol;                    &lt;br /&gt;
    string public version = 'H1.0';       &lt;br /&gt;
&lt;br /&gt;
    function CoinWiki(&lt;br /&gt;
        ) {&lt;br /&gt;
        balances[msg.sender] = 160000000000000000000000000;               // Give the creator all initial tokens (100000 for example)&lt;br /&gt;
        totalSupply = 160000000000000000000000000;                                 // Update total supply (100000 for example)&lt;br /&gt;
        name = &amp;quot;CoinWiki Token&amp;quot;;                                                                         // Set the name for display purposes&lt;br /&gt;
        decimals = 18;                                                                                            // Amount of decimals for display purposes&lt;br /&gt;
        symbol = &amp;quot;CWT&amp;quot;;                                                                                       // Set the symbol for display purposes&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Approves and then calls the receiving contract&lt;br /&gt;
    function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
&lt;br /&gt;
        if(!_spender.call(bytes4(bytes32(sha3(&amp;quot;receiveApproval(address,uint256,address,bytes)&amp;quot;))), msg.sender, _value, this, _extraData)) { throw; }&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Change your token's supply on line 99 and 100&lt;br /&gt;
* Name your token on line 101&lt;br /&gt;
* Set your token's decimal on line 102 (Most tokens have 18 decimal places but you can have any number you like)&lt;br /&gt;
* Change your token's symbol on line 103&lt;br /&gt;
* Change the contract name on line 85 and the function name on line 97 to whatever you like (I just used my token's name)&lt;br /&gt;
&lt;br /&gt;
Now we are going to add our code to TronBox. &lt;br /&gt;
* Enter contracts directory&lt;br /&gt;
&amp;lt;code&amp;gt;cd tronbox/contracts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make new file for our token and paste in the modified code from your text editor. Name the file like so: &amp;lt;name_of_token&amp;gt;.sol&lt;br /&gt;
&amp;lt;code&amp;gt;nano CoinWiki.sol&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Modify Migrations ==&lt;br /&gt;
&lt;br /&gt;
* Modify '2_deploy_contracts.js' to match your token&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano migrations/2_deploy_contracts.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Tronbox-deploy.png|left|300px]]&lt;br /&gt;
&lt;br /&gt;
* Replace 'MyContract' with the name of your contract like so:&lt;br /&gt;
&lt;br /&gt;
[[File:Tronbox-deploy-modify.png|left|300px]]&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Compile and Deploy your Token ==&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox compile --compile-all&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox migrate --reset --network development&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=ICO&amp;diff=1050</id>
		<title>ICO</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=ICO&amp;diff=1050"/>
				<updated>2019-09-14T00:20:25Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An initial coin offering (ICO) is a way to raise funds for development of a new [[cryptocurrency]]. The creators generally sells its premined coins to investors for [[Bitcoin]], [[Ethereum]], or [[Fiat Currency|fiat currencies]].&amp;lt;ref&amp;gt;https://www.nasdaq.com/article/what-is-an-ico-cm830484&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
* [https://tokenmarket.net/ico-calendar TokenMarket.net ICO Calendar]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1049</id>
		<title>How to create your own TRC20 token on Tron</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1049"/>
				<updated>2019-08-20T17:45:34Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: /* Modify Migrations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TRON is a decentralized blockchain content delivery platform to allow creators to publish and own their uploaded content. TRON originally existed as an [[ERC20]] token (TRX) operating on [[Ethereum]]'s blockchain but now exists as its own blockchain. [[Tron | TRON]] has its own set of token standards called [[TRC10]] and [[TRC20]]. In this guide I will walk you through creating your own TRC20 token.  &lt;br /&gt;
&lt;br /&gt;
== Download TronLink ==&lt;br /&gt;
* [[TronLink]] is a browser based extension for interacting with the TRON blockchain. It is available for chrome based browsers like Google Chrome and Brave. Add the extension to your browser by clicking the 'Add to Chrome' button. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlink.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the extension is added, click on it in the upper right hand corner. You will then be walked through some steps to create your wallet. First you are going to create a password then press 'Continue'. Then click on 'Create Wallet' like so:&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkpass.png|250px]]&lt;br /&gt;
[[File: Tronlinkcreate.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Now name your wallet and press 'Continue'. Next copy the mnemonic phrase to a safe place and press 'Continue'. The last step is to confirm the mnemonic phrase by selecting the words in order and press 'Confirm' to finish. You have now created a wallet!&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkwallet.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get test TRX coins ==&lt;br /&gt;
* Click the 'Settings' tab in TronLink and select 'Shasta Testnet' in the 'Node selection' box. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinktest.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next go [https://www.trongrid.io/shasta/#request here] and paste in your Tron address and click 'Submit'. 10,000 text TRX will then be deposited to your address.&lt;br /&gt;
&lt;br /&gt;
== Install TronBox ==&lt;br /&gt;
We will use [[TRON-BOX | TronBox]] to deploy our [[smart contracts | smart contract]] onto Tron's blockchain.&lt;br /&gt;
* Paste the following lines of code into your [[terminal]]&lt;br /&gt;
&amp;lt;code&amp;gt;npm install -g tronbox&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Initialize TronBox (this can take some time)&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox init&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring TronBox ===&lt;br /&gt;
We will need to copy your private key from our Tron wallet and place it in a .env file. Go to your TronLink extension and click 'Export' and copy your private key.&lt;br /&gt;
&lt;br /&gt;
Next create a '.env' file and paste in the following code with your private key. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano .env&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;export PRIVATE_KEY_SHASTA =your_private_key&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
== Modify our token's code==&lt;br /&gt;
Smart contracts on Tron are built using Solidity, just like on Ethereum. So we will use a modified version of a ERC20 token code created by [https://github.com/ConsenSys/Token-Factory TokenFactory] to create our TRC20 token.&lt;br /&gt;
&lt;br /&gt;
* Copy the following code into your favorite code editor. I will be using [https://atom.io/ Atom].&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
pragma solidity ^0.4.24;&lt;br /&gt;
&lt;br /&gt;
contract Token {&lt;br /&gt;
&lt;br /&gt;
    /// @return total amount of tokens&lt;br /&gt;
    function totalSupply() constant returns (uint256 supply) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address from which the balance will be retrieved&lt;br /&gt;
    /// @return The balance&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `msg.sender`&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from`&lt;br /&gt;
    /// @param _from The address of the sender&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice `msg.sender` approves `_addr` to spend `_value` tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @param _value The amount of wei to be approved for transfer&lt;br /&gt;
    /// @return Whether the approval was successful or not&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address of the account owning tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @return Amount of remaining tokens allowed to spent&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {}&lt;br /&gt;
&lt;br /&gt;
    event Transfer(address indexed _from, address indexed _to, uint256 _value);&lt;br /&gt;
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract StandardToken is Token {&lt;br /&gt;
&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[msg.sender] -= _value;&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            Transfer(msg.sender, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[_from] &amp;gt;= _value &amp;amp;&amp;amp; allowed[_from][msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            balances[_from] -= _value;&lt;br /&gt;
            allowed[_from][msg.sender] -= _value;&lt;br /&gt;
            Transfer(_from, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {&lt;br /&gt;
        return balances[_owner];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {&lt;br /&gt;
      return allowed[_owner][_spender];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    mapping (address =&amp;gt; uint256) balances;&lt;br /&gt;
    mapping (address =&amp;gt; mapping (address =&amp;gt; uint256)) allowed;&lt;br /&gt;
    uint256 public totalSupply;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract CoinWiki is StandardToken {&lt;br /&gt;
&lt;br /&gt;
    function () {&lt;br /&gt;
        //if ether is sent to this address, send it back.&lt;br /&gt;
        throw;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    string public name;                      &lt;br /&gt;
    uint8 public decimals;                 &lt;br /&gt;
    string public symbol;                    &lt;br /&gt;
    string public version = 'H1.0';       &lt;br /&gt;
&lt;br /&gt;
    function CoinWiki(&lt;br /&gt;
        ) {&lt;br /&gt;
        balances[msg.sender] = 160000000000000000000000000;               // Give the creator all initial tokens (100000 for example)&lt;br /&gt;
        totalSupply = 160000000000000000000000000;                                 // Update total supply (100000 for example)&lt;br /&gt;
        name = &amp;quot;CoinWiki Token&amp;quot;;                                                                         // Set the name for display purposes&lt;br /&gt;
        decimals = 18;                                                                                            // Amount of decimals for display purposes&lt;br /&gt;
        symbol = &amp;quot;CWT&amp;quot;;                                                                                       // Set the symbol for display purposes&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Approves and then calls the receiving contract&lt;br /&gt;
    function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
&lt;br /&gt;
        if(!_spender.call(bytes4(bytes32(sha3(&amp;quot;receiveApproval(address,uint256,address,bytes)&amp;quot;))), msg.sender, _value, this, _extraData)) { throw; }&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Change your token's supply on line 99 and 100&lt;br /&gt;
* Name your token on line 101&lt;br /&gt;
* Set your token's decimal on line 102 (Most tokens have 18 decimal places but you can have any number you like)&lt;br /&gt;
* Change your token's symbol on line 103&lt;br /&gt;
* Change the contract name on line 85 and the function name on line 97 to whatever you like (I just used my token's name)&lt;br /&gt;
&lt;br /&gt;
Now we are going to add our code to TronBox. &lt;br /&gt;
* Enter contracts directory&lt;br /&gt;
&amp;lt;code&amp;gt;cd tronbox/contracts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make new file for our token and paste in the modified code from your text editor. Name the file like so: &amp;lt;name_of_token&amp;gt;.sol&lt;br /&gt;
&amp;lt;code&amp;gt;nano CoinWiki.sol&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Modify Migrations ==&lt;br /&gt;
&lt;br /&gt;
* Modify '2_deploy_contracts.js' to match your token&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano migrations/2_deploy_contracts.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Tronbox-deploy.png|left|300px]]&lt;br /&gt;
&lt;br /&gt;
* Replace 'MyContract' with the name of your contract like so:&lt;br /&gt;
[[File:Tronbox-deploy-modify.png|left|300px]]&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Compile and Deploy your Token ==&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox compile --compile-all&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox migrate --reset --network development&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1048</id>
		<title>How to create your own TRC20 token on Tron</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=How_to_create_your_own_TRC20_token_on_Tron&amp;diff=1048"/>
				<updated>2019-08-20T17:44:12Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: /* Modify Migrations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TRON is a decentralized blockchain content delivery platform to allow creators to publish and own their uploaded content. TRON originally existed as an [[ERC20]] token (TRX) operating on [[Ethereum]]'s blockchain but now exists as its own blockchain. [[Tron | TRON]] has its own set of token standards called [[TRC10]] and [[TRC20]]. In this guide I will walk you through creating your own TRC20 token.  &lt;br /&gt;
&lt;br /&gt;
== Download TronLink ==&lt;br /&gt;
* [[TronLink]] is a browser based extension for interacting with the TRON blockchain. It is available for chrome based browsers like Google Chrome and Brave. Add the extension to your browser by clicking the 'Add to Chrome' button. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlink.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the extension is added, click on it in the upper right hand corner. You will then be walked through some steps to create your wallet. First you are going to create a password then press 'Continue'. Then click on 'Create Wallet' like so:&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkpass.png|250px]]&lt;br /&gt;
[[File: Tronlinkcreate.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Now name your wallet and press 'Continue'. Next copy the mnemonic phrase to a safe place and press 'Continue'. The last step is to confirm the mnemonic phrase by selecting the words in order and press 'Confirm' to finish. You have now created a wallet!&lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinkwallet.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get test TRX coins ==&lt;br /&gt;
* Click the 'Settings' tab in TronLink and select 'Shasta Testnet' in the 'Node selection' box. &lt;br /&gt;
&lt;br /&gt;
[[File: Tronlinktest.png|250px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next go [https://www.trongrid.io/shasta/#request here] and paste in your Tron address and click 'Submit'. 10,000 text TRX will then be deposited to your address.&lt;br /&gt;
&lt;br /&gt;
== Install TronBox ==&lt;br /&gt;
We will use [[TRON-BOX | TronBox]] to deploy our [[smart contracts | smart contract]] onto Tron's blockchain.&lt;br /&gt;
* Paste the following lines of code into your [[terminal]]&lt;br /&gt;
&amp;lt;code&amp;gt;npm install -g tronbox&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Initialize TronBox (this can take some time)&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox init&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring TronBox ===&lt;br /&gt;
We will need to copy your private key from our Tron wallet and place it in a .env file. Go to your TronLink extension and click 'Export' and copy your private key.&lt;br /&gt;
&lt;br /&gt;
Next create a '.env' file and paste in the following code with your private key. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano .env&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;export PRIVATE_KEY_SHASTA =your_private_key&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save.&lt;br /&gt;
&lt;br /&gt;
== Modify our token's code==&lt;br /&gt;
Smart contracts on Tron are built using Solidity, just like on Ethereum. So we will use a modified version of a ERC20 token code created by [https://github.com/ConsenSys/Token-Factory TokenFactory] to create our TRC20 token.&lt;br /&gt;
&lt;br /&gt;
* Copy the following code into your favorite code editor. I will be using [https://atom.io/ Atom].&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
pragma solidity ^0.4.24;&lt;br /&gt;
&lt;br /&gt;
contract Token {&lt;br /&gt;
&lt;br /&gt;
    /// @return total amount of tokens&lt;br /&gt;
    function totalSupply() constant returns (uint256 supply) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address from which the balance will be retrieved&lt;br /&gt;
    /// @return The balance&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `msg.sender`&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from`&lt;br /&gt;
    /// @param _from The address of the sender&lt;br /&gt;
    /// @param _to The address of the recipient&lt;br /&gt;
    /// @param _value The amount of token to be transferred&lt;br /&gt;
    /// @return Whether the transfer was successful or not&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @notice `msg.sender` approves `_addr` to spend `_value` tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @param _value The amount of wei to be approved for transfer&lt;br /&gt;
    /// @return Whether the approval was successful or not&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {}&lt;br /&gt;
&lt;br /&gt;
    /// @param _owner The address of the account owning tokens&lt;br /&gt;
    /// @param _spender The address of the account able to transfer the tokens&lt;br /&gt;
    /// @return Amount of remaining tokens allowed to spent&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {}&lt;br /&gt;
&lt;br /&gt;
    event Transfer(address indexed _from, address indexed _to, uint256 _value);&lt;br /&gt;
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract StandardToken is Token {&lt;br /&gt;
&lt;br /&gt;
    function transfer(address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[msg.sender] -= _value;&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            Transfer(msg.sender, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {&lt;br /&gt;
&lt;br /&gt;
        if (balances[_from] &amp;gt;= _value &amp;amp;&amp;amp; allowed[_from][msg.sender] &amp;gt;= _value &amp;amp;&amp;amp; _value &amp;gt; 0) {&lt;br /&gt;
            balances[_to] += _value;&lt;br /&gt;
            balances[_from] -= _value;&lt;br /&gt;
            allowed[_from][msg.sender] -= _value;&lt;br /&gt;
            Transfer(_from, _to, _value);&lt;br /&gt;
            return true;&lt;br /&gt;
        } else { return false; }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function balanceOf(address _owner) constant returns (uint256 balance) {&lt;br /&gt;
        return balances[_owner];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function approve(address _spender, uint256 _value) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {&lt;br /&gt;
      return allowed[_owner][_spender];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    mapping (address =&amp;gt; uint256) balances;&lt;br /&gt;
    mapping (address =&amp;gt; mapping (address =&amp;gt; uint256)) allowed;&lt;br /&gt;
    uint256 public totalSupply;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
contract CoinWiki is StandardToken {&lt;br /&gt;
&lt;br /&gt;
    function () {&lt;br /&gt;
        //if ether is sent to this address, send it back.&lt;br /&gt;
        throw;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    string public name;                      &lt;br /&gt;
    uint8 public decimals;                 &lt;br /&gt;
    string public symbol;                    &lt;br /&gt;
    string public version = 'H1.0';       &lt;br /&gt;
&lt;br /&gt;
    function CoinWiki(&lt;br /&gt;
        ) {&lt;br /&gt;
        balances[msg.sender] = 160000000000000000000000000;               // Give the creator all initial tokens (100000 for example)&lt;br /&gt;
        totalSupply = 160000000000000000000000000;                                 // Update total supply (100000 for example)&lt;br /&gt;
        name = &amp;quot;CoinWiki Token&amp;quot;;                                                                         // Set the name for display purposes&lt;br /&gt;
        decimals = 18;                                                                                            // Amount of decimals for display purposes&lt;br /&gt;
        symbol = &amp;quot;CWT&amp;quot;;                                                                                       // Set the symbol for display purposes&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Approves and then calls the receiving contract&lt;br /&gt;
    function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns (bool success) {&lt;br /&gt;
        allowed[msg.sender][_spender] = _value;&lt;br /&gt;
        Approval(msg.sender, _spender, _value);&lt;br /&gt;
&lt;br /&gt;
        if(!_spender.call(bytes4(bytes32(sha3(&amp;quot;receiveApproval(address,uint256,address,bytes)&amp;quot;))), msg.sender, _value, this, _extraData)) { throw; }&lt;br /&gt;
        return true;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Change your token's supply on line 99 and 100&lt;br /&gt;
* Name your token on line 101&lt;br /&gt;
* Set your token's decimal on line 102 (Most tokens have 18 decimal places but you can have any number you like)&lt;br /&gt;
* Change your token's symbol on line 103&lt;br /&gt;
* Change the contract name on line 85 and the function name on line 97 to whatever you like (I just used my token's name)&lt;br /&gt;
&lt;br /&gt;
Now we are going to add our code to TronBox. &lt;br /&gt;
* Enter contracts directory&lt;br /&gt;
&amp;lt;code&amp;gt;cd tronbox/contracts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make new file for our token and paste in the modified code from your text editor. Name the file like so: &amp;lt;name_of_token&amp;gt;.sol&lt;br /&gt;
&amp;lt;code&amp;gt;nano CoinWiki.sol&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Modify Migrations ==&lt;br /&gt;
&lt;br /&gt;
* Modify '2_deploy_contracts.js' to match your token&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nano migrations/2_deploy_contracts.js&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[File:Tronbox-deploy.png|left|300px]&lt;br /&gt;
&lt;br /&gt;
* Replace 'MyContract' with the name of your contract like so:&lt;br /&gt;
[File:Tronbox-deploy-modify.png|left|300px]&lt;br /&gt;
&lt;br /&gt;
* Press 'control x',  then 'y', and then 'enter' to save your file&lt;br /&gt;
&lt;br /&gt;
== Compile and Deploy your Token ==&lt;br /&gt;
&amp;lt;code&amp;gt;cd ..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox compile --compile-all&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tronbox migrate --reset --network development&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=File:Tronbox-deploy-modify.png&amp;diff=1047</id>
		<title>File:Tronbox-deploy-modify.png</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=File:Tronbox-deploy-modify.png&amp;diff=1047"/>
				<updated>2019-08-20T17:43:33Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	<entry>
		<id>https://coin.wiki/index.php?title=File:Tronbox-deploy.png&amp;diff=1046</id>
		<title>File:Tronbox-deploy.png</title>
		<link rel="alternate" type="text/html" href="https://coin.wiki/index.php?title=File:Tronbox-deploy.png&amp;diff=1046"/>
				<updated>2019-08-20T17:39:33Z</updated>
		
		<summary type="html">&lt;p&gt;QuintonP: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>QuintonP</name></author>	</entry>

	</feed>