ethereum-ico-examples's People
Forkers
manniru mo-op jonnydubowsky miss-hyung thoms994 deepak20c virgincoin innookeke arielvdl jensoncollins chenggong0602 toure5013 mygirl8893 pigeon-blockchain odogroup yyb930803 promise-csharp phaethonpsichis subash68 c4ei pyfundation ttamna mduongvandinh rendaxia00ethereum-ico-examples's Issues
Setup continuous integration
Uncaught (in promise) Error: Returned error: VM Exception while processing transaction: revert
When I buyTokes in browser of dapp, get error .
Uncaught (in promise) Error: Returned error: VM Exception while processing transaction: revert
Setup code coverage
Update README with project description
how to fix “insufficient funds for gas * price + value”?
I am using Windows 10 Home x64
I also posted the same question at Stackoverflow:
https://stackoverflow.com/questions/53312840/how-to-fix-insufficient-funds-for-gas-price-value
This is my truffle.js
:
ropsten: { provider: new HDWalletProvider(mnemonic, "https://ropsten.infura.io/"+infura_apikey), network_id: 3, gas: 4000000 },
when I truffle migrate --network ropsten
:
it triggers this error:
Running migration: 1_initial-migration.js Deploying Migrations... Error encountered, bailing. Network state unknown. Review successful transactions manually. insufficient funds for gas * price + value
Blog post(s)
Create README with small documentation/explanation that will be extended by the blogpost
ICO 3 - complex distribution
Token migration:
- Deploy n token vesting contracts
- Deploy token
- Transfer tokens to vesting contracts
- Deploy Crowdsale
- Transfer remaning tokens to crowdsale
ICO 1 - buy token frontend
Setup linter
Error encountered, bailing. Network state unknown. Review successful transactions manually. replacement transaction underpriced
`sh-3.2# truffle migrate --network ropsten
Using network 'ropsten'.
Running migration: 4_multi-beneficiary-token-vesting.js
Running step...
Replacing SimpleToken...
... 0xc62f6eedb5e3da6663766ac2d0e8b53075e912b500e33e0dfd7affacd869c496
SimpleToken: 0xd2d686b16e0a98a3ef1cbb7d43b3e0960250e139
Deploying MultiBeneficiaryTokenVesting...
... 0x23b5025fe52df23aec97bc3009cefb2eb3725d51d48741b63b79952a04642b78
MultiBeneficiaryTokenVesting: 0x951db468c290f0651ac105062e2f3e4618b379de
... 0xa64ca323a5b42164cc2ebf78e1dea594a414f206d4c46ad6f70e0cac9fdf4ada
Deploying GenericCrowdsale...
... 0xc681a75dfe274109e5f895322d7cb9daa4291428d19d0687f8cfe970e3a2f877
Error encountered, bailing. Network state unknown. Review successful transactions manually.
replacement transaction underpriced`
`ropsten: {
provider: new HDWalletProvider(MNEMONIC, "https://ropsten.infura.io/R34FZKF26EAVJSIX9UKMBQVP7A5493Z18M"),
network_id: 3,
// from: "0xEf4a847BDE8341336bFB97FbDc1B642B9bCA242C",
gas: 4800000
},`
ICO 1 - generic
ICO 2 - presale and multiple rounds
Setup ESLint
I got Error revert SafeMath: subtraction overflow while migration
I am using the following
Truffle v5.0.22 (core: 5.0.22)
Solidity - 0.5.0 (solc-js)
Node v10.16.0
Web3.js v1.0.0-beta.37
openzeppelin-solidity 2.3
while migrating the 2_generic-crowdsale.js I got following error
Transfering Token... Error: Error: Error: Returned error: VM Exception while processing transaction: revert SafeMath: subtraction overflow -- Reason given: SafeMath: subtraction overflow. at Object.run (/usr/lib/node_modules/truffle/build/webpack:/packages/truffle-migrate/index.js:92:1) at process._tickCallback (internal/process/next_tick.js:68:7) Truffle v5.0.22 (core: 5.0.22) Node v10.16.0
Here I am calling the transfer method by converting the amount in string otherwise got the "Error: invalid number value (arg="amount", coderType="uint256", value=2e+25)" erro.
await token.transfer(GenericCrowdsale.address, "20000000000000000000000000", {from: owner});
Init project
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.