Bitcoin Forum
November 21, 2018, 01:07:45 AM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Poll
Question: none
. - 0 (0%)
. - 0 (0%)
Total Voters: 0

Pages: « 1 ... 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 [76] 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 ... 147 »
  Print  
Author Topic: 🌱[ANN] SOIL | Environmental | Agriculture | Smart Contracts | Sustainable  (Read 236629 times)
soil
Full Member
***
Offline Offline

Activity: 130
Merit: 100


SOILteam


View Profile WWW
January 10, 2016, 02:05:01 PM
 #1501

SOILfaucet - Contract Version
Props to kvhnuke

You get a 1/2 SOIL at the moment and you can query the faucet every *24 hours.
*Not at the current block times


CopyPaste the abi definition to gsoil

Quote
SOILfaucet = new web3.eth.contract([ { "constant": false, "inputs": [], "name": "getSOIL", "outputs": [ { "name": "", "type": "bool" } ], "type": "function" }, { "constant": false, "inputs": [ { "name": "limit", "type": "uint256" } ], "name": "setBlockLimit", "outputs": [ { "name": "", "type": "bool" } ], "type": "function" }, { "constant": false, "inputs": [], "name": "getBalance", "outputs": [ { "name": "", "type": "uint256" } ], "type": "function" }, { "constant": false, "inputs": [ { "name": "val", "type": "uint256" } ], "name": "setSendAmount", "outputs": [ { "name": "", "type": "bool" } ], "type": "function" }, { "constant": false, "inputs": [], "name": "killSOILfaucet", "outputs": [], "type": "function" }, { "constant": false, "inputs": [], "name": "getBlockLimit", "outputs": [ { "name": "", "type": "uint256" } ], "type": "function" }, { "constant": false, "inputs": [], "name": "getSendAmount", "outputs": [ { "name": "", "type": "uint256" } ], "type": "function" }, { "constant": false, "inputs": [ { "name": "recp", "type": "address" } ], "name": "sendSOIL", "outputs": [ { "name": "", "type": "bool" } ], "type": "function" }, { "inputs": [], "type": "constructor" }]).at('0xdac49860bee0e6d0775f69721459c411d62fd1bc')


Ask the Faucet to Send you SOIL
Code:
SOILfaucet.getSOIL.sendTransaction({from:eth.coinbase})

Ask the Faucet for the current Balance
Code:
web3.fromWei(SOILfaucet.getBalance.call(), "soil")

Ask the Faucet to Send SOIL to a Friend
Code:
SOILfaucet.sendSOIL.sendTransaction('DESTINATION ADDRESS',{from:eth.coinbase})



The Contract for Reference
Code:
contract SOILfaucet {
    address owner;
    uint256 sendAmount;
    mapping (address => uint) lastSent;
    uint blockLimit;
    function SOILfaucet(){
        owner = msg.sender;
        sendAmount = 500000000000000000;
        blockLimit = 86400;
    }
function getBalance() returns (uint){
    return address(this).balance;
}
function getSOIL() returns (bool){
   if(lastSent[msg.sender]<(block.number-blockLimit)&&address(this).balance>sendAmount){
       msg.sender.send(sendAmount);
       lastSent[msg.sender] = block.number;
       return true;
   } else {
       return false;
   }
}
function sendSOIL(address recp) returns (bool){
 if(lastSent[msg.sender]<(block.number-blockLimit)&&address(this).balance>sendAmount){
       recp.send(sendAmount);
       lastSent[msg.sender] = block.number;
       return true;
   } else {
       return false;
   }
}
function getBlockLimit() returns (uint){
 return blockLimit;
}
function setBlockLimit(uint limit) returns (bool){
 if(msg.sender==owner) {
       blockLimit = limit;
       return true;
   } else {
       return false;
   }
}
function setSendAmount(uint256 val) returns (bool){
   if(msg.sender==owner)   {
       sendAmount = val;
       return true;
   } else {
       return false;
   }
}
function getSendAmount() returns (uint256){
   return sendAmount;
}
function killSOILfaucet(){
   if(msg.sender==owner) {
       suicide(owner);
   }
}
}
1542762465
Hero Member
*
Offline Offline

Posts: 1542762465

View Profile Personal Message (Offline)

Ignore
1542762465
Reply with quote  #2

1542762465
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1542762465
Hero Member
*
Offline Offline

Posts: 1542762465

View Profile Personal Message (Offline)

Ignore
1542762465
Reply with quote  #2

1542762465
Report to moderator
1542762465
Hero Member
*
Offline Offline

Posts: 1542762465

View Profile Personal Message (Offline)

Ignore
1542762465
Reply with quote  #2

1542762465
Report to moderator
altsheets
Hero Member
*****
Offline Offline

Activity: 898
Merit: 1000

Free trial of #AltFolio = save time, react faster


View Profile WWW
January 10, 2016, 05:14:08 PM
 #1502

SOILfaucet - Contract Version
...

Very cool. It worked!

New contract:
Code:
> SOILfaucet = new web3.eth.contract([ { "constant": false, "inputs" ... see above )
{
  address: "0xdac49860bee0e6d0775f69721459c411d62fd1bc",
  allEvents: function(),
... }

Before (using my script):
Code:
> loadScript("altsheets.js")
> bal()
0x2668de18c1... 0.90685 soil

> web3.fromWei(SOILfaucet.getBalance.call(), "soil")
9.5

Request:
Code:
> SOILfaucet.getSOIL.sendTransaction({from:eth.coinbase})
Unlock account 2668de18c1...
Passphrase: *****************
"0x8064638daa2e4846e5b38765a188605ce3cb34fe189b89e53484a1820f0d0c70"
= http://178.62.133.174:9001/#/transaction/0x8064638daa2e4846e5b38765a188605ce3cb34fe189b89e53484a1820f0d0c70
waiting for this tx to be included in blockchain, then:


After:
Code:
> web3.fromWei(SOILfaucet.getBalance.call(), "soil")
9

> bal()
0x2668de18c1... 1.40441185 soil

Costs:
Code:
after      - before  - received  = - costs
1.40441185 - 0.90685 - 0.5       = - 0.00243815

Very cool, indeed.

P.S.: I have donated some 80 SOIL to the faucet address  0xdac49860bee0e6d0775f69721459c411d62fd1bc  

Wink

AltFolio = Altcoin Portfolio solution || AAsset = crowdfunding, dividends paying = profit sharing Assets on NXT || Newbium great new platform || AssetGraphs = novel GUI to assets & shareholders (won nxthacks2015!) || ABEE = Block Explorer Extension for ETH clones, live on SOIL || Advice = Consulting || assetparser.py and shareholders.py - tools for NXT/HZ asset buyers & issuers || bamm.py || PeerCrawler || PGP || Texts || Github e.g. ChainCountDown, ethjsre |||| /give/ GiveBackLicense /give/ |||| Looking for an affordable crypto advertisement service with adspaces on crypto-attractive websites, contact me, thx.
ralfs
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile
January 12, 2016, 12:12:33 PM
 #1503

4 hour block times, that's 1 coin per network hour..
Diff is still falling, but the hash rate drops too.
GoldenEye
Hero Member
*****
Offline Offline

Activity: 600
Merit: 500


View Profile
January 13, 2016, 06:13:41 AM
 #1504

ABEESOIL 0.2.3 ...
I miss one of the most interesting functions: the transactions regarding an address

We all do.

It is not part of the Ethereum API, as strange as that sounds.
I could not believe it myself, when I first encountered the missing function.

A massively financed coin coding project doesn't even provide a list
of transactions to and from an address? They must be funny people.

I asked around a lot already. On gitter it was mentioned in September
"could do that as a weekend job" - but even now, it is still not there yet.

Github issues is full of requests about that topic.

How does it etherchain.org? There I can see the transactions  Huh
altsheets
Hero Member
*****
Offline Offline

Activity: 898
Merit: 1000

Free trial of #AltFolio = save time, react faster


View Profile WWW
January 13, 2016, 10:19:31 AM
 #1505

Thanks for asking. I use this as an invitation to explain, and give an update on my work ...

ABEESOIL 0.2.3 ...
I miss one of the most interesting functions: the transactions regarding an address
We all do.
It is not part of the Ethereum API, as strange as that sounds.
I could not believe it myself, when I first encountered the missing function.
A massively financed coin coding project doesn't even provide a list
of transactions to and from an address? They must be funny people.
I asked around a lot already. On gitter it was mentioned in September
"could do that as a weekend job" - but even now, it is still not there yet.
Github issues is full of requests about that topic.

How does it etherchain.org? There I can see the transactions  Huh


Yes.

I guess ...

etherchain has probably additionally built a private backend,
which has traversed all 800,000 blocks ...

... to extract more data than the data-parsimonious
ETH core developers are willing to give to us. A

surprisingly primitive base system:

After having spent so much time creating many cool apps
on top of the excellent and much older NXT API, where
all those beautiful API functions do exist
, and with a really small blockchain ...

... it actually came as quite a surprise to me, that a hyped
(platform which is also used as a) currency is not allowing
users to look up transactions. ETH sucks, in that respect.

By the way, this same question is asked all over the net, in
several forums. But they say "impossible", or "too expensive", or
that they have more important things to do than solving this old issue.


Blockchain scanner backend

I have come up with a workaround concept. Scan the whole chain myself.

One of the developers (*) of that multi-million dollar platform ...
... is telling me (me who has been paid ~2-3 US-dollars / hour) that
I should do that work, and create a whole blockchain scanner backend myself.

Which I will probably have to do in the end. Yes.

But I first want to make sure that I really understand what the tech is.

That scanner backend would be running as a 2nd process, observing
the chain, and accumulating more and more knowledge about it.

Research on getTransactions(account)

I have done a lot of research in the past month ...
come on, and follow me into the abyss of
an overpaid, and underachieving platform *lol*
-->


The above is only a very VERY quick summary. More infos behind the links. Ctrl-Click them all.

I urge you to read both full threads, to understand the situation better.
It is actually quite interesting, and it helps a lot to understand more
about the backgrounds of ethereum, and its clones.

The supply is unknown!

There is another real issue, and that is the supply.

As far as I see it, no one really knows the REAL supply of ether. Or soil.

Really. Similarly absurd like the above unsolved question.

The background are uncles, and their rewards.
Until now, I still have not even got one answer from any of those ETH devs,
if my assumed formula is correct or not. Asked again, nothing.

By now I suspect most people don't care, or just don't have a clue.
I was told that I am the first one who has ever asked. Strange.



The supply of ether is often wrongly given only as
blocknumber * blockreward + premine.
Which is not correct.
The whole supply is larger, as there are uncle rewards
(the new bitledger.net is showing them nicely).

But the ETH node itself does not know how many uncles have been mined
*lol* They have created a funny system, or rather: It is simply unready.


Read this whole issue thread, interesting:
getUncleCount(fromBlock,toBlock) - or: Doesn't total supply depend on uncle count?



All this research above, and much more which is not published
(presentation & communication is a huge time eater) ...
... is necessary preparations for the next step.


The past and the future

All in all over 40 hours of work went into this now, the above research alone
took ~10 hours. Until today (additional to the ~7 hours negotiations before,
plus dozens of hours that I have already put into soil), the

summary for ABEESOIL work is:

14.2 hours   coding
5.3 hours   system
2.5 hours   orga
5.4 hours   communication
6.1 hours   presentation
10.5 hours   research

I have succeeded in porting my ABEE 0.2.2 to SOIL,
and adding a few improvements on the way --> 0.2.3a

Now the next steps can be planned.

The
* getAllTransactionsOfAccount and the
* realTrueHonestSupply are not the only future functions on the wishlist.
It would also be nice to be able to find out more about compiled
* contract "code" on e.g. this page.
Once the whole blockchain gets scanned, I would like to see the
* difficulty evolution, and
* blocktimes over time.


More functions that you would like to see, please describe them here. Thanks.


And thanks to everyone who has been, and will be supporting me and my work.

Don't you think this text here, and all those linked posts are ... interesting?
Right? Then you can do your part now, to ensure that such splendid intellectual
pleasure can and will continue in the future, and everything improves, and grows  
;-)

TL;DR: -->

If you like it, show it
[SOIL] 0x8da4fc05ca343e6a41646194e91931d9f413a40c
BTC 1M4EaZVprZEmtrS3G78fMFy8yGVgdUJMXv  
Thanks.

 Smiley

AltFolio = Altcoin Portfolio solution || AAsset = crowdfunding, dividends paying = profit sharing Assets on NXT || Newbium great new platform || AssetGraphs = novel GUI to assets & shareholders (won nxthacks2015!) || ABEE = Block Explorer Extension for ETH clones, live on SOIL || Advice = Consulting || assetparser.py and shareholders.py - tools for NXT/HZ asset buyers & issuers || bamm.py || PeerCrawler || PGP || Texts || Github e.g. ChainCountDown, ethjsre |||| /give/ GiveBackLicense /give/ |||| Looking for an affordable crypto advertisement service with adspaces on crypto-attractive websites, contact me, thx.
Shkembe
Legendary
*
Offline Offline

Activity: 1470
Merit: 1000

Discord ID: 359993497333530624


View Profile
January 13, 2016, 12:52:43 PM
 #1506

1000 Soil - TxId: 0x777639a385a3df047de77db9d1eb65b216977ea68659bbb4075aad39e95cac36

Thanks, keep your good work!  Smiley
reftop123
Sr. Member
****
Offline Offline

Activity: 250
Merit: 250


View Profile
January 15, 2016, 06:11:17 PM
 #1507

Is suprnova working well? Why no block stats?
soil
Full Member
***
Offline Offline

Activity: 130
Merit: 100


SOILteam


View Profile WWW
January 16, 2016, 04:58:13 PM
 #1508

SOIL Contract Development Package
Props to SilentCicero

Solidity Tutorials
http://solidity.readthedocs.org/en/latest/
https://eng.erisindustries.com/tutorials/2015/03/11/solidity-1/

Solidity Contract Examples
http://ether.fund/contracts/solidity





Before you start please make a backup of your keystore!
C:\Users\username\AppData\Roaming\Soil\keystore



1) Install Meteor
Download the official Meteor installer

2) Get the Contract Development Package
Download

3) Extract the package

4) DoubleClick *test-net.bat or main-net.bat
* DoubleClick "new_testnet_account.bat" before to create a new account for the test-chain.

You will see hopefully two console windows. One is the contract development dapp "cosmo" and the other is gsoil.
In the gsoil console windows you need to enter the account password otherwise you will not be able to deploy contracts.
You can change the account to use  in the bat files (--unlock "address")

5) Open a browser and go to "http://localhost:3000/"

6) Click on the CONNECT button.
You should see a message that cosmo is connected to gsoil.

7) Play with the contracts.  Smiley


It is preferable to test the contracts on a test-chain (test-net.bat).

Shkembe
Legendary
*
Offline Offline

Activity: 1470
Merit: 1000

Discord ID: 359993497333530624


View Profile
January 16, 2016, 05:14:30 PM
 #1509

Once I get back at my PC I will run it! Smiley
reftop123
Sr. Member
****
Offline Offline

Activity: 250
Merit: 250


View Profile
January 16, 2016, 07:29:59 PM
 #1510

Soon network will be down again with 4 hour block times.
No miners at pools, only big solo miner takes all the coins. When blocks will be stable over 1-2 minutes, he will left, and network will be in coma for another week.
abvhiael
Hero Member
*****
Offline Offline

Activity: 732
Merit: 500


View Profile
January 16, 2016, 09:34:38 PM
 #1511

SOIL Contract Development Package

5) Open a browser and go to "http://localhost:3000/"

6) Click on the CONNECT button.
You should see a message that cosmo is connected to gsoil.


the default host in the cosmo app,  at the connection box, should be changed from port 8080 to port 39421 as is seen in the screenshot. great work, peter!! this makes dApps deployment for Solidity-written contracts very easy!
jjjordan
Sr. Member
****
Offline Offline

Activity: 271
Merit: 251


View Profile
January 16, 2016, 10:50:25 PM
 #1512

Soon network will be down again with 4 hour block times.
No miners at pools, only big solo miner takes all the coins. When blocks will be stable over 1-2 minutes, he will left, and network will be in coma for another week.

Yeah... Might as well send my soil to bittrex while they could be confirmed and not wait for the 4 day confirmation again.
GoldenEye
Hero Member
*****
Offline Offline

Activity: 600
Merit: 500


View Profile
January 17, 2016, 05:08:41 PM
 #1513

Soon network will be down again with 4 hour block times.
No miners at pools, only big solo miner takes all the coins. When blocks will be stable over 1-2 minutes, he will left, and network will be in coma for another week.

We really need more rapid adjustments to the difficulty!
ralfs
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile
January 19, 2016, 01:45:51 PM
 #1514

Stats page shows 14h block time. My last submitted solutions got rejected.
kawa900jc
Hero Member
*****
Offline Offline

Activity: 631
Merit: 500


StakeChain Community leader


View Profile WWW
January 22, 2016, 09:48:42 PM
 #1515

I hove no nodes dos box shows:
Code:
knip...
I0122 22:40:42.079002   11476 database.go:71] Alloted 16MB cache to C:\Users\Jan
I0122 22:40:44.768822   11476 backend.go:524] Server started
I0122 22:40:44.769822   11476 server.go:552] Listening on [::]:39420
I0122 22:40:44.769822   11476 ipc.go:112] IPC service started (\\.\pipe\gsoil.ip
c)
I0122 22:40:44.820857   11476 nat.go:111] mapped network port tcp:39420 -> 39420
 (ethereum p2p) using UPNP IGDv1-IP1
instance: Gsoil/v1.3.2/windows/go1.5.1
 datadir: C:\Users\Jan\AppData\Roaming\Soil
coinbase: 0x2127dbc729d98c40e30537d231e1b72ddb6ac59b
at block: 333256 (Sat, 16 Jan 2016 21:40:08 CET)
modules: admin:1.0 db:1.0 debug:1.0 eth:1.0 miner:1.0 net:1.0 personal:1.0 shh:1
.0 txpool:1.0 web3:1.0
>

edit I copy paste the node list and now 2 connectins and blocks downloaded.

soil
Full Member
***
Offline Offline

Activity: 130
Merit: 100


SOILteam


View Profile WWW
January 22, 2016, 10:23:08 PM
 #1516

I hove no nodes dos box shows:
Code:
knip...
I0122 22:40:42.079002   11476 database.go:71] Alloted 16MB cache to C:\Users\Jan
I0122 22:40:44.768822   11476 backend.go:524] Server started
I0122 22:40:44.769822   11476 server.go:552] Listening on [::]:39420
I0122 22:40:44.769822   11476 ipc.go:112] IPC service started (\\.\pipe\gsoil.ip
c)
I0122 22:40:44.820857   11476 nat.go:111] mapped network port tcp:39420 -> 39420
 (ethereum p2p) using UPNP IGDv1-IP1
instance: Gsoil/v1.3.2/windows/go1.5.1
 datadir: C:\Users\Jan\AppData\Roaming\Soil
coinbase: 0x2127dbc729d98c40e30537d231e1b72ddb6ac59b
at block: 333256 (Sat, 16 Jan 2016 21:40:08 CET)
modules: admin:1.0 db:1.0 debug:1.0 eth:1.0 miner:1.0 net:1.0 personal:1.0 shh:1
.0 txpool:1.0 web3:1.0
>

edit I copy paste the node list and now 2 connectins and blocks downloaded.


Main node was offline.
This is fixed now.
Thanks!
crypto4jan
Legendary
*
Offline Offline

Activity: 1232
Merit: 1017


https://geojan.nl/


View Profile WWW
January 22, 2016, 10:40:31 PM
 #1517

Is there a posibility to make the SOIl network more secure?
The readjustment for the blocktime is a problem.
If price of SOIL was 10k much more miners online I gues but exchange rate is below 1k.
I think it is the egg and the chicken problem.
How to attract more miners?
If people want to sell SOIL for ENRG rate 1:10 then DM me.
Maybe with that I can support the exchange rate and with that the network.

kawa900jc
Hero Member
*****
Offline Offline

Activity: 631
Merit: 500


StakeChain Community leader


View Profile WWW
January 23, 2016, 10:06:45 PM
 #1518


Main node was offline.
This is fixed now.
Thanks!

Again no nodes and I see only 3 servers on http://stats.soilcoin.xyz/

soil
Full Member
***
Offline Offline

Activity: 130
Merit: 100


SOILteam


View Profile WWW
January 23, 2016, 10:58:51 PM
 #1519


Main node was offline.
This is fixed now.
Thanks!

Again no nodes and I see only 3 servers on http://stats.soilcoin.xyz/


Every gsoil client is a node. Gsoil has one bootnode at the moment "AMSTERDAM".
That means the address of "AMSTERDAM" is hardcoded to the client.

Code:
> admin.peers
[{
    caps: ["eth/61", "eth/62", "eth/63"],
    id: "e0ac5375954fefc49afcfe84320dc5d3d8478cfecbd7b0c52b5069bcaca714f7f5562d68e2ded1a8284529218e332241b218b074fb6decbfa27e8073d062f305",
    name: "Gsoil/SOIL MAIN-NET AMSTERDAM/v1.3.2-856c67a4/linux/go1.5.1",
    network: {
      localAddress: "x.x.x.x:xxxxx",
      remoteAddress: "45.32.235.216:39420"
    },
    protocols: {
      eth: {
        difficulty: 22498375893115110,
        head: "937fb3c91be52963674d2e92ffdf39dd540c12ff3a531588094bcdb611",
        version: 63
      }
    }
}]

"AMSTERDAM" is not connected to the stats at the moment.
crypto4jan
Legendary
*
Offline Offline

Activity: 1232
Merit: 1017


https://geojan.nl/


View Profile WWW
January 25, 2016, 08:08:08 AM
 #1520

Is thre a plan to impriove blocktime reajustment?
It is now
Quote
last block 22 h ago
It is good to discuss the posibilities.

Another qusetion:
SOIL becomes part of the Rokos platform.
Is the source needed for the RPI alraidy availeble?

I see BIG potential for SOIL but some problems has to be solved the comming weeks I hope.

Pages: « 1 ... 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 [76] 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 ... 147 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!