Bitcoin Forum
January 03, 2026, 08:36:29 PM *
News: Latest Bitcoin Core release: 30.0 [Torrent]
 
   Home   Help Search Login Register More  
Poll
Question: none
. - 0 (0%)
. - 0 (0%)
Total Voters: 0

Pages: « 1 ... 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 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 »
  Print  
Author Topic: 🌱[ANN] SOIL | Environmental | Agriculture | Smart Contracts | Sustainable  (Read 237665 times)
6stars
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
July 13, 2016, 06:20:45 PM
 #1961

Hi 6stars,

Try to start it with: "gsoil console", then paste these peers.

Code:
admin.addPeer("enode://d25797566dadc671cb82936a21cc993af3bb06f34214d533b19ce6b01a484094f029f68880ea5d0c833ea009466dc6d461ef2838f7d53a25e4ee2695b4f8aa9b@185.92.223.78:39420")
admin.addPeer("enode://f3c8d3fbd364db25cb3ca3ff1ddb5c5020b20b2e317cf8b2a06a30279342b2480f5a974f48bdc7f8ecbdfc8bf1d28245c13ab9b104aa6cbde970ddf1eeab0cfc@92.201.84.149:60956")

Worked perfectly, thank you!!!
yns1971
Sr. Member
****
Offline Offline

Activity: 399
Merit: 250



View Profile
July 14, 2016, 01:42:38 AM
 #1962

post 1:  
Smart Contract: WeatherForecastAtLocation


Code:

Novel smart contract solution for Ethereum based platforms, here: SOIL.  
On-chain delivery of weather forecasts, for any mapped location on Earth.

User-paid request selects location - an oracle answers to that event.
Then 1 nowcast, and 4 forecasts can be read by anyone, for 4 days.


First news:

.

In the following days, I am going to present more about this project, step-by-step.




Parts of this project are a submission to the: Hackathon
[ANN] SOIL | Environmental | Agriculture | Quixotic | Hackathon | Contracts

sent 1000 soil to 0x1077ac9ebf8e5c492b7174c3a3d264801044834e
AndreasKrueger
Member
**
Offline Offline

Activity: 95
Merit: 11


View Profile
July 14, 2016, 12:24:27 PM
 #1963

sent 1000 soil to 0x1077ac9ebf8e5c492b7174c3a3d264801044834e
Thanks a lot!

new http://btc.hopto.org BTCrates + nearby numbers
AndreasKrueger
Member
**
Offline Offline

Activity: 95
Merit: 11


View Profile
July 14, 2016, 12:33:01 PM
Last edit: July 16, 2016, 05:09:52 PM by AndreasKrueger
 #1964

post 2
Smart Contract: WeatherForecastAtLocation

Second step:

  • Prepare your system

    • Windows vs Linux, VPS
    • Install Soil
    • Clone/download repo
    • Correct folder
    • Add peers
    • JavaScript console, with examples
    • Languages: Solidity + JavaScript/Python
    • Python via RPC, with examples & starterscripts




--> "Text01 Introduction" in post 1.
--> post 3

new http://btc.hopto.org BTCrates + nearby numbers
bitcoinwonders010
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500


View Profile
July 14, 2016, 03:19:51 PM
 #1965

dev hasnt been online in over 2 weeks now
frostminer
Hero Member
*****
Offline Offline

Activity: 742
Merit: 505


View Profile WWW
July 14, 2016, 05:38:34 PM
 #1966

dev hasnt been online in over 2 weeks now

Have u read the posts on this and previous page?

AndreasKrueger
Member
**
Offline Offline

Activity: 95
Merit: 11


View Profile
July 15, 2016, 11:37:52 AM
 #1967

post 2
Smart Contract: WeatherForecastAtLocation

Second step:

  • Prepare your system

    • Windows vs Linux, VPS
    • Install Soil
    • Clone/download repo
    • Correct folder
    • Add peers
    • JavaScript console, with examples
    • Languages: Solidity + JavaScript/Python
    • Python via RPC, with examples & starterscripts



--> "Text01 Introduction" in post 1.

Has anyone tried the Python part? Does it work for you? Feedback?

new http://btc.hopto.org BTCrates + nearby numbers
AndreasKrueger
Member
**
Offline Offline

Activity: 95
Merit: 11


View Profile
July 15, 2016, 02:44:11 PM
 #1968

Tweet:
Quote
Smart Contract: WeatherForecastAtLocation
New project - oracle delivers data into #Blockchain #SmartContract
https://asktom.cf/index.php?topic=1176709.msg15571365#msg15571365
#soil
https://twitter.com/drandreaskruger/status/753711936173375488

new http://btc.hopto.org BTCrates + nearby numbers
Al3x_franco
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
July 16, 2016, 02:44:41 PM
 #1969

Help

SOIL possible with Claymore mine?

I would like to mining dual Soil + Saicoin
AndreasKrueger
Member
**
Offline Offline

Activity: 95
Merit: 11


View Profile
July 16, 2016, 05:07:39 PM
Last edit: July 18, 2016, 06:31:57 PM by AndreasKrueger
 #1970

(Please someone quote this whole post, then the image is shown)
post 3
Smart Contract: WeatherForecastAtLocation

Website Preview: Oracle & DB





--> "Text01 Introduction" in post 1.
--> "Manual02 Prepare your system" in post 2.
--> "Manual03 Console - Quickstart" in post 4.

new http://btc.hopto.org BTCrates + nearby numbers
AndreasKrueger
Member
**
Offline Offline

Activity: 95
Merit: 11


View Profile
July 16, 2016, 08:37:46 PM
 #1971

Tweet:
Quote
SmartContract WeatherForecastAtLocation
Oracle Website Preview
https://asktom.cf/index.php?topic=1176709.msg15606390#msg15606390
#soil #crypto #smartcontracts

https://twitter.com/drandreaskruger/status/754370606225817600

new http://btc.hopto.org BTCrates + nearby numbers
AndreasKrueger
Member
**
Offline Offline

Activity: 95
Merit: 11


View Profile
July 18, 2016, 06:27:37 PM
Last edit: July 26, 2016, 05:06:37 PM by AndreasKrueger
 #1972

post 4
Smart Contract: WeatherForecastAtLocation

Contract deployed. Oracle online.
Quickstart manual.

  • Contract ( v0.5.8 ) is deployed, at address 0xe904c0a8eb49f2fc7185eefde394c42caca028c6
  • Contract ( v0.5.9 ) is deployed, at address 0x0c5c4bc449808eee712b1d0858e2b12e71410c8e
  • Oracle eventlogloop is listening to its events, and will upload weather data as requested.
  • Contract ABI is published as contract.js for easy import into console.
  • Contract tools.js help you to interact with it, on the JavaScript console  gsoil attach.
  • and most importantly:

    YOU CAN TRY OUT THE QUICKSTART MANUAL NOW.


Perhaps this is even your first interaction with a real, live, working, innovative SMART CONTRACT ever?  Exciting times ...

I have fully tested the preparations and the quickstart manual on a fresh droplet, but please report any issue.



--> "Text01 Introduction" in post 1.
--> "Manual02 Prepare your system" in post 2.
--> "Website Preview: Oracle & DB" in post 3

new http://btc.hopto.org BTCrates + nearby numbers
AndreasKrueger
Member
**
Offline Offline

Activity: 95
Merit: 11


View Profile
July 19, 2016, 01:36:32 AM
Last edit: July 26, 2016, 05:07:08 PM by AndreasKrueger
 #1973

Testers wanted, for new Smart Contract

1500 SOIL total for the first 3 people to fully try out the quickstart:

                  700 SOIL for the 1st to finish
                  500 SOIL for the 2nd to finish
                  300 SOIL for the 3rd to finish

What to do?
  • Post the contract answer for the weather forecast of a city of your choice, for one day later.
  • Write a sentence or two what you think about it, or suggest an improvement in the manual.

Please tweet this.  

Thanks.

post 4
Smart Contract: WeatherForecastAtLocation

Contract deployed. Oracle online.
Quickstart manual.

  • Contract ( v0.5.8 ) is deployed, at address 0xe904c0a8eb49f2fc7185eefde394c42caca028c6
  • Contract ( v0.5.9 ) is deployed, at address 0x0c5c4bc449808eee712b1d0858e2b12e71410c8e
  • Oracle eventlogloop is listening to its events, and will upload weather data as requested.
  • Contract ABI is published as contract.js for easy import into console.
  • Contract tools.js help you to interact with it, on the JavaScript console  gsoil attach.
  • and most importantly:

    YOU CAN TRY OUT THE QUICKSTART MANUAL NOW.


Perhaps this is even your first interaction with a real, live, working, innovative SMART CONTRACT ever?  Exciting times ...

I have fully tested the preparations and the quickstart manual on a fresh droplet, but please report any issue.



--> "Text01 Introduction" in post 1.
--> "Manual02 Prepare your system" in post 2.
--> "Website Preview: Oracle & DB" in post 3

new http://btc.hopto.org BTCrates + nearby numbers
AndreasKrueger
Member
**
Offline Offline

Activity: 95
Merit: 11


View Profile
July 19, 2016, 01:14:33 PM
Last edit: January 19, 2017, 06:44:40 PM by AndreasKrueger
 #1974

post 5

Smart Contract: WeatherForecastAtLocation
HyperQuick-Start

get the code
Code:
git clone https://github.com/drandreaskrueger/weathercontract_user.git
cd weathercontract_user

Start gsoil & gsoil console. Load scripts:
Code:
gsoil
gsoil attach

loadScript('useful/addpeers.js')
loadScript("contract/contract.js")
loadScript("contract/tools.js")

TOP UP LOCATION --> wait your and oracle's TX --> ASK FORECAST

Code:
city =   "q=Nanjing,China"
getForecast_message(city)

PRICE
tx = topUpLocation(city, 3); txReceipt = waitForTxReceipt(tx)

admin.sleepBlocks(1); getForecast_message(city)

getForecast(city)
getForecast(city, timestamp_now_plus_hours(24))
getForecast(city, timestamp_now_plus_hours(24 * 3.5))

getForecast_message(city, timestamp_now_plus_hours(24 * 4.5))

Step-by-step explanations in the quickstart manual.

new http://btc.hopto.org BTCrates + nearby numbers
AndreasKrueger
Member
**
Offline Offline

Activity: 95
Merit: 11


View Profile
July 19, 2016, 03:14:02 PM
Last edit: July 20, 2016, 10:03:04 PM by AndreasKrueger
 #1975

Tweet:

Quote
HyperQuick-Start:
Getting the #SmartContract in a few lines.
https://asktom.cf/index.php?topic=1176709.msg15636069#msg15636069
novel #SmartContract on #soil



https://twitter.com/drandreaskruger/status/755419380587098115


new http://btc.hopto.org BTCrates + nearby numbers
skidog
Legendary
*
Offline Offline

Activity: 1393
Merit: 1001


View Profile
July 20, 2016, 04:07:48 PM
 #1976

All moved in...?
AndreasKrueger
Member
**
Offline Offline

Activity: 95
Merit: 11


View Profile
July 20, 2016, 08:40:10 PM
Last edit: July 20, 2016, 10:03:24 PM by AndreasKrueger
 #1977

... nice project andreas keep up the good work.

Thanks a lot. I will. Please start using it. My oracle is thirsting for queries.

With the latest update "hyperquickstart", it should take you a few minutes only.




new http://btc.hopto.org BTCrates + nearby numbers
altsheets
Legendary
*
Offline Offline

Activity: 902
Merit: 1001

Free trial of #AltFolio = save time, react faster


View Profile WWW
July 22, 2016, 09:15:58 PM
Last edit: July 23, 2016, 12:38:43 PM by altsheets
 #1978

Your soil block explorer ABEESOIL got an upgrade.

Please contribute, to 0x8da4fc05ca343e6a41646194e91931d9f413a40c. Thanks.



Quoting from ABEE thread:

ABEESOIL 0.2.4
AltSheets Block Explorer Extension for SOILcurrency
version 0.2.4 - July 2016

http://178.62.133.174:9001

New in v0.2.4

* address:
  * now also recognized if capital letters in address
  * code comments changed:
     TXs of account would need proprietary backend with all blocks database

* address of contract
  * often code is long, so now table width limited, code is wrapped
  * code length shown
  * code is shown as ASCII too
  * code is disassembled into bytecode, with ASCII conversion of PUSH bytes

* block:
  * timestamp now also shown as UTC time
  * seconds since previous block
  * gasUsed and percent of gasLimit

* transaction:
  * timestamp now also shown as UTC time
  * now also the real gasUsed
  * and correct multiplication to tx price
  * pending tx not showing unused fields anymore
  * if tx has input data, show ASCII converted
  * if tx fired log events, show number of events

* chain
  * better async for the 6 past blocks calls
  * + block time averages for the past 10 blocks


In the following examples & screenshots, I am using the SOIL FAUCET CONTRACT,
see ANN post
(there is money in that faucet, by the way). By executing
the command SOILfaucet.getSOIL.sendTransaction({from:"0x..."})
you get 0.5 SOIL sent to you.

Code at contract address
Example here is the SOIL FAUCET CONTRACT.
That contract lives at address 0xdac49860bee0e6d0775f69721459c411d62fd1bc



Note the TransactionCount 0.
In ETH, internal transactions within contracts (here `msg.sender.send(sendAmount)`
inside the `getSOIL()` function) are not registered as transactions of that account.

You can expand the 3 triangles, first to see the code as hex, and ASCII:



And also disassembled into bytecode:



Because PUSH commands sometimes contain readable strings,
for all PUSH commands I am also showing the ASCII representation
of the bytes, behind the // as comments.


Simple address

As example, the donation address for ABEESOIL (please give more, thanks)
at address 0x8da4fc05ca343e6a41646194e91931d9f413a40c



Here, the 4 outgoing transactions are accounted for.

As it is a simple address, not a contract address,
there is no code, and all other fields are suppressed.



Transaction

As example, a recent transaction to that FAUCET CONTRACT
SOILfaucet.getSOIL.sendTransaction({from:"0x..."})
0x0abd2244db18d94db716e3eedbc37ef62e65c64cca86a5f9eeb2960dd3c494f7

PENDING


While the TX was pending, only the provided default gas (90000),
and the offered gas price (50,000,000,000 Wei) can be known.
The `SOILfaucet.getSOIL()`transaction has some data input.

MINED



When the TX is mined, we can know the real gasUsed (48763),
and the transaction fee (48763 * 50gigawei = 0.00243815 SOIL).

The block time is now also shown as UTC time.

That transaction was mined in:


Block

897619



We see the gasUsed (48763), and the percentage of the limit (1.55%).

The block time is now also shown as UTC time,
and additionally, the seconds since the previous block.




Chain, Node, Blockexplorer
By clicking on the 0.2.4 at the top, you get to http://178.62.133.174:9001/#/chain/
with a lot of information. For details see older post about 0.2.3 and post about 0.2.2



Invisible changes: Worked on the asynchroneous past-blocks-queries, to make it faster.
Visible changes: Past 10 blocks.




If you like this, show it:  
                       [SOIL] 0x8da4fc05ca343e6a41646194e91931d9f413a40c
                              BTC 1M4EaZVprZEmtrS3G78fMFy8yGVgdUJMXv  

Thanks.



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.
altsheets
Legendary
*
Offline Offline

Activity: 902
Merit: 1001

Free trial of #AltFolio = save time, react faster


View Profile WWW
July 24, 2016, 12:03:07 PM
 #1979

Your soil block explorer ABEESOIL got an upgrade. ...

If you like this, show it:  
                       [SOIL] 0x8da4fc05ca343e6a41646194e91931d9f413a40c
                              BTC 1M4EaZVprZEmtrS3G78fMFy8yGVgdUJMXv  

Thanks.


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.
AndreasKrueger
Member
**
Offline Offline

Activity: 95
Merit: 11


View Profile
July 24, 2016, 02:50:29 PM
Last edit: July 26, 2016, 05:04:43 PM by AndreasKrueger
 #1980

Great.

The weathercontract:
http://178.62.133.174:9001/#/address/0xe904c0a8eb49f2fc7185eefde394c42caca028c6 DESTROYED, old
http://178.62.133.174:9001/#/address/0x0c5c4bc449808eee712b1d0858e2b12e71410c8e new v0.5.9

A 'topUpLocation' transaction
http://178.62.133.174:9001/#/transaction/0x4a38d7a0c048e28f17f3fc0a0e902ecbfcacac0af62a7e4e8822bb888887389d

An 'oracle_addForecast' transaction (when the oracle answers)
http://178.62.133.174:9001/#/transaction/0xc8bfc01fbd5793849d1a692a5f3a7e6743a6573bed707989ce43bfaebf54175d

The blockchain is a bit slow right now.

new http://btc.hopto.org BTCrates + nearby numbers
Pages: « 1 ... 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 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!