Welcome to Crypto

do I have to create a token to use a smart contract using Ethereum? - Ethereum Stack Exchange

2025.01.09 10:19


Skip to main content

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company, and our products

current community

Ethereum help chat Ethereum Meta

your communities

Sign up or log in to customize your list.

more stack exchange communities

company blog Log in Sign up Home Questions Tags Users Jobs Companies Unanswered Teams

Ask questions, find answers and collaborate at work with Stack Overflow for Teams.

Try Teams for free Explore Teams Teams

Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

do I have to create a token to use a smart contract using Ethereum?

Ask Question Asked 7 years ago Modified 6 years, 7 months ago Viewed 577 times 0

If I want to use a smart contract, do I have to create a new currency/token, or can I do them using ethers?

If I can use ethers, what will be the consequences on the data stored and encapturing the execution of those smart contracts?

Thanks

contract-development tokens Share Improve this question Follow edited Jan 3, 2018 at 15:40 GeneralKenobi asked Jan 3, 2018 at 15:22 GeneralKenobi GeneralKenobi 1 1 1 bronze badge Add a comment |

2 Answers 2

Sorted by: Reset to default Highest score (default) Date modified (newest first) Date created (oldest first) 1

No need to create a token. That's just one potential use of a smart contract.

All Ethereum transactions are paid for with ether.

I can't understand what "what will be the consequences on the data stored and encapturing the execution of those smart contracts?" means. If you have more (specific) questions, please ask them.

Share Improve this answer Follow answered Jan 3, 2018 at 16:01 user19510 user19510 28.1k 2 2 gold badges 32 32 silver badges 49 49 bronze badges 2 Thanks for your help! my question relates to the following: If I would like to create a blockchain based provenance of some objects, where changes to the provenance happens only when registered by smart contracts, what will be the differences in reconstructing whole chain (or reconstructing the provenance of one object) if I use either ether or my own token. Or in other words, will creating my own token give me any advantages in managing my chain. – GeneralKenobi Commented Jan 3, 2018 at 16:13 I don t see how you even would use a token for this, let alone how that would differ from not using a token. What would the token be for? When would tokens be transferred? – user19510 Commented Jan 3, 2018 at 16:14 Add a comment | 1

As @smarx said, there's no need to create a token. I think people and companies create tokens because people seem to like earning/buying virtual points.

You can think of a smart contract like a computer software , which is executed not on a single computer or server, but by every ethereum node in the network. These smart contracts are written in such a way that for a certain state of the blockchain, the code has the same output.

So your smart contract can contain almost any business logic you need . The smart contracts for the tokens have a rather simple business logic coded into them: issue a certain number of tokens, keep track of what address what balance it holds, offer the possibility to transfer this balance between 2 addresses and that's kind of it.

Share Improve this answer Follow answered Jun 5, 2018 at 7:47 Tudor Constantin Tudor Constantin 2,635 1 1 gold badge 10 10 silver badges 15 15 bronze badges Add a comment |

Not the answer you're looking for? Browse other questions tagged contract-development tokens or ask your own question .

The Overflow Blog WBIT #2: Memories of persistence and the state of state Failing fast at scale: Rapid prototyping at Intuit Featured on Meta The December 2024 Community Asks Sprint has been moved to March 2025 (and

Related

0 How does a token know which smart contract to call? 2 Is it possible to add more tokens to already deployed contract 2 Why should I use an ERC-721 token to store data instead of a Smart Contract 0 How to create smart contracts and tokens without using any cryptocurency? 0 How can I use Ethereum smart contracts with another crypto currency? 2 How to send ERC20 token from smart contract in Solidity? 0 Is it possible to work with stable coin currency in Ethereum smart contracts using solidity? 0 Best practice to create custom ERC20 token 1 How to create a smart contract factory that inherits its token?

Hot Network Questions

Why was Jesus taken to Egypt when it was forbidden by God for Jews to re-enter Egypt? Will the first Mars mission force the space laundry question? Can you reconstruct Poynting's vector from only the electric field? How often are PhD defenses in France rejected? What sense does it make to use a Vault? What do you call the equivalent of Cardinal directions in a hex-grid? When do the splitting fields of two cubic polynomials coincide? Is there a way to confirm your Alipay works before arriving in China? Why is pattern recognition not racism? How many ways to distribute 100 points among 6 people increasing with alphabetical order? After Joseph was accused of seducing Potiphar's wife, why was he sentenced to jail (for over 2 years) rather than executed? How can I apply an array formula to each value returned by another array formula? SMD resistor 188 measuring 1.5k Ohm How big would a bird have to be to carry a human if gravity were halved? How to improve that plot of the logarithm of a Blaschke product in the unit disk? How are companies paid for offering the 'Deutschlandticket'? Please help with identify SF movie from the 1980s/1990s with a woman being put into a transparent iron maiden Confidence tricksters try to sell worthless civil war bonds Were any Eastern Orthodox saints gifted with invisibility? Is a cold roof meant to cause draughts into the living space? Is there a printer for post it notes? Did the term irrational number initially have any derogatory intent? If a monster has multiple legendary actions to move up to their speed, can they use them to move their speed every single turn they use the action? Should I REALLY keep all my credit cards totally paid off every month? more hot questions Question feed

Subscribe to RSS

Question feed

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

Ethereum
Tour Help Chat Contact Feedback
Company
Stack Overflow Teams Advertising Talent About Press Legal Privacy Policy Terms of Service Cookie Settings Cookie Policy
Stack Exchange Network
Technology Culture & recreation Life & arts Science Professional Business API Data Blog Facebook Twitter LinkedIn Instagram

Site design / logo © 2025 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2025.1.7.20880



Vivamus fermentum nibh