Author

Topic: [ANN] (QTUM) - A Scalable Smart Contract Platform w/ Proof of Stake - page 125. (Read 525459 times)

newbie
Activity: 7
Merit: 0
I was expecting the price to jump up with the launch on testnet, but it actually went down by 20-30%  Huh
full member
Activity: 266
Merit: 100
one of the most promising project in 2017.

Qtum is the first POS Smart Contact platform.
   Smiley

full member
Activity: 266
Merit: 100
The Qtum team is live in Moscow at the http://blockchainhack.ru/ hackathon!




Wish the participants good luck as they compete for 8500 Qtum tokens. This is live in Moscow July 1st-2nd

















that's great!

i want to get some Qtum token!

sr. member
Activity: 722
Merit: 259
The Qtum team is live in Moscow at the http://blockchainhack.ru/ hackathon!




Wish the participants good luck as they compete for 8500 Qtum tokens. This is live in Moscow July 1st-2nd















legendary
Activity: 1012
Merit: 1000
please, stop spam news via pm

report the spammer to the moderator.

someone is spamming...

There is a lot of PM coming from newbie accounts about the Qum project and this has made me come on this thread.OP why don't you ask these guys to stop spamming again and again?

Today again I receive your project spam message..It has become a day to day spamming of PMs.I will report the user now.
sr. member
Activity: 722
Merit: 259
Test Network Tokens:



There is now a Faucet for anyone who would like Qtum Test Network tokens. These tokens are for testing purposes only:











wow Qtum have a faucet now. That good news for us . But I dont use faucet because the payout is very little  and you need a lot of time before reach the minimum withdrawal amount. But I hope Qtum faucet is difference the payout is exact to your effort. Goodluck qtum I hope many projects will come to your team so the price will increase more. More QTUM more profit to come.

Thanks for the response! This faucet only pays in test network tokens, they're not main network tokens, so the payout is fairly generous. There's no waiting period for withdrawals, or other hoops to jump through.

On another note, we are experiencing a DDoS attack, it started a few hours after the spam messages were being sent on this forum and other Slack channels. We are working on it.



sr. member
Activity: 1624
Merit: 267
Test Network Tokens:



There is now a Faucet for anyone who would like Qtum Test Network tokens. These tokens are for testing purposes only:











wow Qtum have a faucet now. That good news for us . But I dont use faucet because the payout is very little  and you need a lot of time before reach the minimum withdrawal amount. But I hope Qtum faucet is difference the payout is exact to your effort. Goodluck qtum I hope many projects will come to your team so the price will increase more. More QTUM more profit to come.
full member
Activity: 266
Merit: 100
Will you please stop your minions from spamming my inbox!  Angry



please report to the moderator..

some silly people are just spam people's inbox.

but it has nothing to do with Qtum team

so many stupid people want to ruin a good project .

but it will not work.. Grin

sr. member
Activity: 722
Merit: 259
The Qtum Sparknet Faucet 
by Qtum earlz


I've made a smart contract for the Qtum Sparknet testnet. It functions as a basic faucet. It doesn't help if you don't already have some coins because gas is required to use it. However, if you need more coins you can use this faucet to retrieve 100 coins at a time. You can also use it to send coins to other addresses not owned by you.

Here is the contract code, it's very simple:

pragma solidity ^0.4.11;

contract QtumFaucet {
    uint constant COIN = 100000000;
    function deposit() public payable{
    }
    function withdraw() public{
        uint amount = 100 * COIN;
        if(this.balance < 100 * COIN){
            amount = this.balance;
        }
        if(!msg.sender.send(amount)){
            throw;
        }
    }
    function send(address a) public{
        uint amount = 100 * COIN;
        if(this.balance < 100 * COIN){
            amount = this.balance;
        }
        if(!a.send(amount)){
            throw;
        }
   }

   function() payable{}
}
This contract generates this ABI JSON file:

[{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"a","type":"address"}],"name":"send","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"deposit","outputs":[],"payable":true,"type":"function"},{"payable":true,"type":"fallback"}]
This contract is deployed to the sparknet at address f28aa77dd07ee8a1288ab6f41b23ebf6d605dc3e.

To initially fill this contract I will use "ethabi" like so:

ethabi encode function ~/faucet.json deposit
d0e30db0
I deposit 1000 tokens to the faucet now using sendtocontract:

./qtum-cli sendtocontract f28aa77dd07ee8a1288ab6f41b23ebf6d605dc3e d0e30db0 1000
After this transaction has confirmed we can actually withdraw some funds from the faucet contract. So, lets get an address:

./qtum-cli getaccountaddress x
QUvMQdxMxUuCQ7zLHvAcfmhFWyP9kkjr8C
So, we now use that to construct our ABI data using ethabi again:

ethabi encode function ~/faucet.json send -p QUvMQdxMxUuCQ7zLHvAcfmhFWyP9kkjr8C
error: Tokenizer(FromHex(Invalid character 'Q' at position 0))
Now we face a problem. Solidity doesn't actually use base58 addresses, it uses hex addresses like in Ethereum. This includes the ABI data as well. We must first convert our base58 address QUvMQdxMxUuCQ7zLHvAcfmhFWyP9kkjr8C to a hex address. A recent update to Qtum has added two RPC calls for this purpose: gethexaddress and fromhexaddress.

./qtum-cli gethexaddress QUvMQdxMxUuCQ7zLHvAcfmhFWyP9kkjr8C
5b3a45e69dbbd7b3a9db31a8c855040f35793929
What this does is actually takes the data encoded in the base58 address, validates that it is not corrupted and is the right size, and then will return that data as a hex string. This hex string is the address format that Solidity and thus the ABI uses. So, now we fix our mistake:

ethabi encode function ~/faucet.json send -p 5b3a45e69dbbd7b3a9db31a8c855040f35793929
3e58c58c0000000000000000000000005b3a45e69dbbd7b3a9db31a8c855040f35793929
Now we can use callcontract so that we know how much gas we need to send (or you can skip this if you're confident the default is enough)

./qtum-cli callcontract $FAUCET 3e58c58c0000000000000000000000005b3a45e69dbbd7b3a9db31a8c855040f35793929
{
  "address": "f28aa77dd07ee8a1288ab6f41b23ebf6d605dc3e",
  "executionResult": {
    "gasUsed": 55978,
    "excepted": "None",
    "newAddress": "f28aa77dd07ee8a1288ab6f41b23ebf6d605dc3e",
    "output": "",
    "codeDeposit": 0,
    "gasRefunded": 0,
    "depositSize": 0,
    "gasForDeposit": 0
  },
  "transactionReceipt": {
    "stateRoot": "4118b6d0685de70ef82c7905e7ab2d691470285b7c56506ffca9b1db21bcb278",
    "gasUsed": 55978,
    "bloom": "0000000000000000000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000",
    "log": [
    ]
  }
}
Under execution result, the gasUsed field is what we are interested in. It's always safer to send a little more gas than is needed to avoid out of gas exceptions. So, we will use 60,000 for the gas limit.

./qtum-cli sendtocontract $FAUCET 3e58c58c0000000000000000000000005b3a45e69dbbd7b3a9db31a8c855040f35793929 0 60000
{
  "txid": "cb7e8ef370a05665d5dd43d1134b8d0833d1c746d2d618162727c54e0f5a6ef5",
  "sender": "QWqFJB4EUhbBJpGnnnjaeR1mdUJdr6fWkV",
  "hash160": "703357de0cad939a528035cd319f849067fce2c7"
}
You can look at the results on the block explorer. Here is the contract execution. If we look at the block this transaction was included in, we see immediately after the execution transaction we have the Account Abstraction Layer generated transaction which actually sends 100 Qtum to our intended address, QUvMQdxMxUuCQ7zLHvAcfmhFWyP9kkjr8C. Further more, if we look at the coinstake transaction we can see our gas refund as the last output, an output of 0.0004022 Qtum sent to address QWqFJB4EUhbBJpGnnnjaeR1mdUJdr6fWkV.

And finally, in my wallet I also see the 100 tokens that were sent.

This contract is still alive and I'll monitor it and put more coins into it. So join in on the fun and deposit some coins and withdraw them. It's a pretty cool little contract that I made in about 10 minutes.
legendary
Activity: 1040
Merit: 1001
Will you please stop your minions from spamming my inbox!  Angry


Seriously. Alts like this are the worst and it shows how desperate they are to get the news out cheaply. One more thing I won't be giving two fucks about.

I agree, they are using newbie accounts to spread their pathetic project. I dont give fuck about your scammy and shady project

same here today i get a pm too from another user http://prntscr.com/fq9ezc stop pm please

I too received the spam email about Qtum from this user mojosplurr

When will these things stop?
hero member
Activity: 1330
Merit: 585
Leading Crypto Sports Betting & Casino Platform
Will you please stop your minions from spamming my inbox!  Angry


Seriously. Alts like this are the worst and it shows how desperate they are to get the news out cheaply. One more thing I won't be giving two fucks about.

I agree, they are using newbie accounts to spread their pathetic project. I dont give fuck about your scammy and shady project

same here today i get a pm too from another user http://prntscr.com/fq9ezc stop pm please
sr. member
Activity: 714
Merit: 266
Will you please stop your minions from spamming my inbox!  Angry


Seriously. Alts like this are the worst and it shows how desperate they are to get the news out cheaply. One more thing I won't be giving two fucks about.

I agree, they are using newbie accounts to spread their pathetic project. I dont give fuck about your scammy and shady project
sr. member
Activity: 722
Merit: 259
Test Network Tokens:



There is now a Faucet for anyone who would like Qtum Test Network tokens. These tokens are for testing purposes only:










legendary
Activity: 1624
Merit: 1130
Bitcoin FTW!
Will you please stop your minions from spamming my inbox!  Angry


Seriously. Alts like this are the worst and it shows how desperate they are to get the news out cheaply. One more thing I won't be giving two fucks about.
legendary
Activity: 1652
Merit: 1007
Will you please stop your minions from spamming my inbox!  Angry

member
Activity: 100
Merit: 10
What about the price, do you think it will drop on release and when it gets listed on polo etc ?
legendary
Activity: 1918
Merit: 1003
Did these spam messages come in today? Please report them if they did. I believe one of the forum administrators purged prior messages from inboxes, but there is simply nothing that we can do to stop them.

These messages started about 8 hours before our site was ddos'd, so it is a bit suspicious. Someone is also spamming on other Slack channels as Qtum-Patrick, which is very annoying.

If you do receive a message like this on any platform, please report it right away. The closest thing to 'spam' we've done is send a newsletter, and we get the e-mail addresses from our Slack channel, or anyone who signs up to receive them.

I also think some people are involve into that suspicious job and trying to hurt this project by making stress the people by sending message again and again with different accounts. I understand the whole situation now it's clear the team is not involve into this. Please ignore this type of message.
full member
Activity: 140
Merit: 100
t is looking one of the best ICO and i think a lot of people will invest here. i am also interested for investment here. their signature campaign twitter through out their all procedure is very clear ad therefore people are confident and interested to invest here.
sr. member
Activity: 722
Merit: 259
Did these spam messages come in today? Please report them if they did. I believe one of the forum administrators purged prior messages from inboxes, but there is simply nothing that we can do to stop them.

These messages started about 8 hours before our site was ddos'd, so it is a bit suspicious. Someone is also spamming on other Slack channels as Qtum-Patrick, which is very annoying.

If you do receive a message like this on any platform, please report it right away. The closest thing to 'spam' we've done is send a newsletter, and we get the e-mail addresses from our Slack channel, or anyone who signs up to receive them.
sr. member
Activity: 532
Merit: 250
May be it's time to report to moderator and not beg them here to not spamming?
Jump to: