dapp_token's People
Forkers
cjsky666 akshatjain2005 user135711 dasanjan1296 rohitooo reactardev 1c7 manavshrivastavagit vikiszabo ymaghzaz mondyfy warain bintangblue fissehateju athiwatp smitpancholi tayoagboola natehubbit roccisacer yassh88 starpegasus papakofi13 crypto0sy80 winstonzj arthurmsouza viannaandrebr sanqima pthunborg artzbr anton-karlovskiy fantribut djkskqyr3 seekwrldtea srollins25 ginnyseah iswaryasankar songxiliu lkn4wrk kryptonx36 romansolomatin fentona msgpo a-ceo-spades kingricharvd animismodapp_token's Issues
Functions are not allowed to have the same name as the contract?
I am getting the following error message when entering > truffle test
SyntaxError: Functions are not allowed to have the same name as the contract. If you intend this to be a constructor, use "constructor(...) { ... }" to define it.
function DappToken (uint256 _initialSupply) public {
^ (Relevant source part starts here and spans across multiple lines).
rpc payload error
Warning! Error encountered during contract execution [Reverted]
Hi,dear
I have watched your video on YouTube,very amazing !
I clone dapp_token project and deploy this Dapp on my local testnet( ganache-cli ) and kovan testnet.
Everything is ok,but when i used account2 to buyTokens on website,an error occured during contract execution.
I try it again and again ,that error has always appeared(local ganache-cli and kovan testnet)
the tx url is : https://kovan.etherscan.io/tx/0x4bb9708302f4b1f14450e2184fce32dd207f55ff6e9f647618dbb3b35dcc7404
Input Data:
Function: buyTokens(uint256 _index) ***
MethodID: 0x3610724e
[0]: 0000000000000000000000000000000000000000000000000000000000000064
I don't know how to solve this problem,looking forward to your reply @gwmccubbin
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.