Giter Site home page Giter Site logo

dapp_token's People

Contributors

gwmccubbin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dapp_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

screenshot 29
please help me with this i am getting payload error. how can i change the account address to which we are transferring ethers

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.