Questions tagged [crowdsale]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
33 views

Important Question: ICO, How are the “Roadmaps” of “Contracts”

I would really like to know this if there's someone willing to support this quite easy, but great to know, before doing anything wrong about the road to ICO. Question: How's the road to do on the ...
0
votes
1answer
229 views

Remix: Bytecode isn't working, when deploying it with myetherwallet

The bytecode from Remix isn't just working, it isn't deploying the contract. As far what I've known, there's something to do with the code that I've to minimize. Is there something that I has to do? I ...
0
votes
1answer
51 views

Why get payments to my ERC20-Contract cancelled?

I have deployed my first coin, a ERC20 contract, on Rinkeby. But when I send ether to the contracts address, the transactions get cancelled with a state called "fail". Code: pragma solidity ^0.4.10; ...
1
vote
3answers
259 views

How do ICOs with token price linked to fiat currency prices work?

So when I see most Crowdsale contracts the price is set to x ETH and you receive the tokens based on that, if ETH price is down you get more tokens/$ and when ETH price is up, you get less/$. That's ...
0
votes
1answer
219 views

What are the safest wallets for receiving and storing Ether from an ICO? [duplicate]

Is it safe to use something like MyEtherWallet to set up a wallet and use that address in your crowdsale contract to receive funds from an ICO (thousands of ether)? If not, what is the recommended ...
1
vote
1answer
142 views

Tokensale whitelist UI

I am trying to design UI for a tokensale smart contract where all participants must be whitelisted before purchasing tokens. The participants submit their address via the UI form, but only the ...
0
votes
1answer
825 views

Transfer ownership of a contract in the constructor

I'm trying to create a contract, and set its owner at the same time contract ERC721CrowdSale is Ownable { ... }//contract is in the same file and has access to methods contract CS_Creator is Ownable{...
2
votes
2answers
878 views

What is the difference between ICO and Crowdsale?

I'm confused a bit between ICO and Crowfunding sale. ICO also used to collect funds from investors like Crowdsale. Ethereum provide both options run an ICO or Crowdsale, then what is the difference ...
0
votes
2answers
285 views

Crowdsale with time based bonus

I'm working with the OpenZeppelin solidity framework to run a crowdsale script, but would like to ask, is there is an existing open source solution for implementing time-based bonus payouts?
1
vote
1answer
89 views

Set Wallet Address to Crowdsale Address

I am using an openZepplin crowdsale contract which has the following constructor contract myContract is Crowdsale { function myContract ( uint256 _rate, address _wallet, ...
0
votes
2answers
46 views

How tokens in Crowdfunding gain their value?

From my understanding, if the crowdfunding is successful, all of the gathered ether is sent into the ICO wallet, meaning the contract is left without any ether. Doesn't that mean the token becomes ...
1
vote
1answer
436 views

Airdrop cost optimization

I am planning an airdrop of an ERC20 mintable token created through a crowdsale contract based on Open Zeppelin. Now what I am wondering, is what would be the cost effective way of adding an airdrop ...
0
votes
2answers
325 views

How to give opening and closing time for contract in remix

I have implemented a timed crowdsale contract and it's constructor is like this: function NeoCrowdsale(uint256 _openingTime, uint256 _closingTime) public { require(_openingTime >= now); ...
-1
votes
2answers
94 views

Help on crowd sale contract

For a crowd sale contract can we use the etherscan API to identify the contributors and distribute the tokens, Also it will be great if someone can provide a sample contract to do the automatic ...
1
vote
1answer
243 views

ICO Token sale payment process

How can one start selling their coins on their custom website for ETH and Bitcoin? I was checking bunnytoken.com, they have very simple payment process script, which includes referral solution. ...
0
votes
1answer
225 views

what is meant by minted crowdsales?

I am new to ethereum smart contracts, I was going through minted crowdsale code for learning but couldn't figured out its use case or what is its purpose, precisely what does it mean? Any answer ...
4
votes
2answers
303 views

zeppelin-solidity Crowdsales Contract Not Working

I grab the smart contract example code from Zeppelin-Solidity GitHub https://github.com/OpenZeppelin/zeppelin-solidity I create and deploy the SimpleToken using EXACTLY the same code from the ...
0
votes
1answer
216 views

Buying tokens with OpenZepplin crowdsale

I am running into a very strange bug while interacting with my OpenZepplin crowdsale. Here is my repo for context https://github.com/GenusDev/crossfit-coin-backend Here is what I have working so far:...
0
votes
2answers
80 views

Adding mincap in the crowdsale code and returning the funds on not reaching the goal

I have generated a crowdsale contract and i want to add mincap to the crowdsale so that after reaching the mincap and not achieving the goal, the crowdsale will return all the funds to the investors. ...
0
votes
1answer
120 views

Question regarding ether cost of each token in crowdsale contract on ethereum.org

Is someone please able to clarify if I wanted 1000 tokens to be issued for 1 ether then what would I enter the price value in the contract. function Crowdsale( address ifSuccessfulSendTo, ...
0
votes
3answers
331 views

What is the right approach to implement payable fallback function in crowdsale contract?

I am implementing crowdsale smart contract to accept ether and invoke ERC20 smart contract to assign tokens count calculated depending on the amount of ether invested. I heard that just implementing ...
1
vote
2answers
443 views

How to allow only the owner to transfer ERC20 tokens during crowdsale?

I recently came accross an ICO that used temp wallets. The tokens were sent to the investors manually which means that not everyone received their tokens at the same time. Until everyone received ...
0
votes
2answers
124 views

How do I make sure that no one else deploy crowdsale on my token except me?

I have ERC20 fixed amount token, And I want to deploy pre-ICO crowdsale and later ICO crowdsale contracts. How do I make sure that no one else deploy crowdsale on my token except me?
0
votes
1answer
46 views

Crowdsale Contract Merged into Token Contract

Is it safe to have the Crowdsale and Token contract combined as one contract instead of two separate ones? Are there any drawbacks/advantages of doing this?
1
vote
0answers
159 views

check msg.data in crowdsale contract, but the msg.data.length is zero

pragma solidity ^0.4.18; import 'zeppelin-solidity/contracts/math/SafeMath.sol'; import 'zeppelin-solidity/contracts/token/ERC20/ERC20.sol'; import '../util/BytesLib.sol'; contract Crowdsale { ...
0
votes
1answer
96 views

unsold token in a crowdsale ethereum

I'm new in the solidity coding. I'm trying to retrieve the unsold tokens from a crowdsale contract. I add the command tokenReward.transfer(beneficiary, amountRaised); pragma solidity ^0.4.20; ...
0
votes
1answer
30 views

Crowdsale creation using ethereum site

I been trying to create a crowdsale using this as (reference)[https://www.ethereum.org/crowdsale]. I have a doubt in this process (though I have tried it on test network multiple times but no success ...
1
vote
2answers
381 views

ICO crowdsale without smart contract

I see that there are some ICO who collect ETH without smart contract and would like to know the negatives and positives for such decision. Thank you
0
votes
1answer
259 views

How can users call the functions of an ERC20 token that was created by another contract (within a crowdsale contract)?

Using Ethereum wallet if I create a token and deploy it I can then interact with it and use the functions of that token (e.g. transfering tokens). However, if I deploy a crowdsale contract and that ...
0
votes
1answer
597 views

Transaction Error. Exception thrown in contract code. REVERT opcode when sending ETH to crowdsale

I wanted to follow the tutorial - https://blog.zeppelin.solutions/how-to-create-token-and-initial-coin-offering-contracts-using-truffle-openzeppelin-1b7a5dae99b6 - but there was a new release - https:/...
1
vote
0answers
209 views

Token creation and crowdsale

I'm trying to create a token and a crowdsale on Rinkeby I managed to create both but when I want to send ethereum to the crowdsale I get an error: if you submit it may consume all the gas you ...
0
votes
2answers
28 views

how to get how much eth adress put into crowdsale contract?

I want to write function to get how much eth address put into smart contract, how do I do that? im making erc20 token. edit: I meant that I want to get how much specific investor invested eth, ...
2
votes
1answer
213 views

Accepting bitcoin during crowdsale and making refund if soft cap not reached [closed]

I'm gonna make some api to allow my crowdsale to accept bitcoin, however I ran into a problem. Because I will make refunds if soft cap not reached. What the best way to refund everything that was ...
0
votes
1answer
28 views

Is there a way to let the user know why the contract transaction/function is failing?

For example, if a user is attempting to send below the minimum investment amount to a crowdsale contract, or if a user is sending above the maximum investment amount. Ethereum wallet just says "This ...
0
votes
1answer
182 views

Can't send ether to crowdsale contract (fail) + infinite gas bug on Remix

I'm a newbie trying to make a crowdsale contract in Ropsten (deployed a token contract very well before) but i meet some problems : I can't send ether to crowdsale contract, returning a fail status ...
0
votes
1answer
120 views

Creating new tokens tutorial [closed]

I am following this tutorial about creating new tokens: https://hashnode.com/post/the-2018-guide-to-writing-and-testing-real-world-crowdsale-contracts-cjcs8dfes00apmdwthw03c2jq it('one ETH should ...
2
votes
2answers
282 views

What is the most common 3rd party KYC provider to use for an ICO? [closed]

I am looking for some 3rd party KYC options to use for an ICO. What are the typical companies used by successful or respected ICOs? Also how do these companies work for KYC if the investor later ...
2
votes
1answer
812 views

What is an example of an ICO or Crowdsale that used the Open Zeppelin RefundVault contract?

I am trying to understand the RefundVault.sol contract from Open Zeppelin for implementing a soft cap that would refund investors if the cap is not reached. I am struggling t wrap my head around it, ...
1
vote
0answers
463 views

How to mint tokens before crowdsale

I want to make a crowdsale with pre-ICO and ICO, so people can swap tokens directly by sending to the smart-contract. The pre-Ico should have a certain rate for the swap and the ICO should have a ...
1
vote
0answers
69 views

My basic crowdsale smartcontract does not work

I am new to ethereum and blockchain, I want to create a crowdsale/ICO. I followed ethereum website basic instruction. When I tried to test from testnet a transaction from my own account it shows some ...
1
vote
1answer
196 views

Using a token deployed separately in zeppelin-solidity Crowdsale.sol contructor

How to bring already deployed token into zeppelin-solidity Crowdsale.sol contructor? The owner is the same. What should I use instead of the "Mintable _token" below? function Crowdsale(uint256 ...
1
vote
2answers
415 views

Get address of internal transaction using Ganache

I am deploying a Crowdsale contract locally, using truffle and ganache. The problem is, that the MintableToken is created during the deployment of the Crowdsale contract, using the ...
2
votes
3answers
279 views

why don't popular tokens have payable fallback

I'm referring to the source of of the most popular tokens on etherscan. It looks like they don't have any payable functions. How do they accept ether and transfer the tokens automatically when ...
0
votes
2answers
470 views

How do I implement a maximum investment limit in a crowdsale or ICO contract?

I have a crowdsale contract which creates tokens and assigns them to the crowdsale address. Investors can then send ether to the address and receive tokens from the crowdsale. In this case how can I ...
1
vote
1answer
3k views

How to fix “invalid argument 0: json: cannot unmarshal hex number with leading zero digits into Go struct field CallArgs.value of type *hexutil.Big”?

Using Remix and metamask, I have deployed a contract on the rinkeby network that contains a function that, when called will send unsold tokens to a specific address. The code for it is like this ...
0
votes
2answers
1k views

burn, freeze, unfreeze functions

I wonder what is the purpose of these functions? could you please provide me with some examples. function burn(uint256 _value) returns (bool success) { if (balanceOf[msg.sender] < _value) ...
0
votes
3answers
277 views

How can I code a crowdsale contract to send all unsold tokens to a specific address?

From my understanding of smart contracts it would seem that there is no way to set a specific function or action to trigger itself after a certain time, is this the case? Is the only way to allocate ...
1
vote
3answers
548 views

Using Openzeppelin's crowdsale contract as a base, how can I set the rate to be a decimal number?

For example if rate = 10 then for every wei the buyer gets 10 "token units" which are each 1*10^18 of a full token (as the default decimal for the erc20 token is 18). If I want the users in a ...
0
votes
3answers
1k views

How to make ERC20 tokens non-transferable until a certain date?

I want to create a token is not sellable or transferable until a specific date (so that only initial buyers can buy tokens, but they should not sell tokens until ICO is completed), what would be the ...
0
votes
1answer
132 views

crowdsale contract errors

Below is the script that i have written but i cannot run it, i get some messages( the order of the messages that I post is first the ones i get for the IERC20 and then for the AAAtoken), first is the ...