Pages:
Author

Topic: 🌱[ANN] SOIL | Environmental | Agriculture | Smart Contracts | Sustainable - page 61. (Read 237604 times)

hero member
Activity: 722
Merit: 501
DUST - an overview - PART3
THE CONTRACTS PAGE

All contract upload and token management is done under the "CONTRACTS" tab. There are three initial interfaces on the Contracts page, Deploy New Contract, Watch Contract and Watch Token.

DEPLOY NEW CONTRACT

DUST has a built-in soldity compiler which makes deploying a contract written in that language, and more importantly, effectively interacting with it once deployed, is one of the best features in the DUST dApp/wallet. You can choose which account wallet from your list with which you wish to deploy the contract with, and will use your password when you are approving the transaction at the end of the process. You can also endow a contract with SOIL by sending along an amount funds along with the contract creation. This is useful when your contract self-executes and uses gas to make programmatic transactions outside of direct user interaction.

You can copy/paste the solidity contract source code in high level language in the appropriate pane, which you can find in many GitHub repositories for various smart contracts and dApp projects related to the Ethereum-based Virtual Machine. You can also copy/paste the compiled contract byte code which can be obtained from other solidity compiler services and applications. This is useful, as smart contracts presented in other EVM recognized languages, such as Serpent of LLL, can be compiled separately and paste the resultant byte code into DUST to deploy the contract.

There are links to the right with sample contracts you can begin working with. "Create a Token" will help you deploy token.sol, an account wallet owned subcurrency that will be registered onto the SOILcoin blockchain.  After a few moments, the compiled code will have functions displayed to set Constructor Parameters. This contract produces four variables you can build in to your token incarnation. Initial supply will be the number of UNITS of currency you will produce, token name is your chosen subcurrency name.

Decimal units is the number of divisibility you wish for your token. For example, if you mint for 1,00,000 units of subcurrency STAR, and give it 2 decimal units, you would be provided with 10,000.00 tokens, with the smallest unit of currency being 0.01 STAR. Token symbol is the symbol by which your token will be assosciated. Think of a ticker symbol for a cryptocurrency on an online exchange, generally a short grouping of letters e.g.: SOIL, BTC, ETH. You can also use unicode characters as well, e.g.: ★, Ω, 不.

Once these parameters have been set, you can choose the total gas costs you are willing to pay for execution of this code. You can choose a cheaper deployment with a longer wait for the contract to be mined, or a hgher rate to rush the computations. Finally select the DEPLOY button.

This will bring up the Confirmation Screen, with the estimated and maximum fees in gas for deployment, gas price and included data, represented in byte code, included in the transaction. Enter in the deploying wallet account's private key and SEND TRANSACTION.

The Wallets page will open, and your contract's deployment status will show up in the Latest Transactions pane. When the contract is mined, it will begin to count down 12 confirmations, after which you can consider that the contract was not deployed on an uncled chain and is in the SOILcoin blockchain securely.

Your token name will appear as the contract address when it is mined. You can choose to interact with this contract by clicking on the transaction bar, in its immediate listing in your Custom Contracts menu on the Contracts page, as well as, being a token contract, it will be added to your Watched Tokens list as well. The ownership and listing of whole unit and symbol (e.g. STAR 10,000.00 ★) will also be included on the home page of the deploying wallet account.

The other example contracts can be deployed in a similar fashion, as well as those found on repositories and the like.

WATCH CONTRACT
With the contract address and JSON interface information for a smart contract, you can watch a contract on the blockchain. This is the information you would need to provide anyone you want to have simple interface with your contract. Contracts you deploy yourself will be automatically saved to your "Custom Contracts" so you won't need to bother with the JSON Interface.

WATCH TOKEN
Choosing the Watch Token menu button will open a token editor screen for tokens that you own. This will allow you to edit the token name, symbol, and decimal places of the smallest unit.
hero member
Activity: 722
Merit: 501
DUST - an overview - PART2
CONTRACT ACCOUNTS AND WALLETS

While an Account has a password-protected private key associated with its address, a Contract Account has no private key, but it does have an address, code, and is stored on the blockchain. Contract Wallets (or contract-based wallets) are built with Contract Accounts, which are controlled by smart contracts, which makes it possible to customize their behavior. You will not have to do any the coding yourself; the Contract Wallets come pre-built with a user interface that makes it easy to select the type of required security enhancment customization.

Contract Wallets are controlled by smart contracts but this code also has a master, which is the Account used to deploy the Contract Wallet, with its password-protected private key. These Contract Wallets list incoming transactions; something Accounts do not feature. They can be setup as Multi-sig Wallets, which can be structured such that it can permit a specified daily limit, and only if this daily limit is exceeded will multiple signatures be required.  A Multi-sig Wallet has several owner Accounts, which are set up when the Contract Wallet is created, one of which will be the creator Account. Contract Wallets can also be setup as “Watch-Only” Wallets.

MULTI-SIG WALLETS

These are M-of-N type wallets, where more than one private key is required to have full access to the funds held. In a typical scenario, there can be up to three owner Accounts where two of three signatories (owners) are required to authorize outgoing transactions, making it a 2-of-3 Multisig Wallet. 2-of-2 Multisig Wallets are also usable, where BOTH signatories of the Contract Wallet are needed to authorize disbursement of funds.

In practice, Multi-sig Wallets have two typical use cases. Either, you own some SOIL and want to store it more securely, concerned that simple reliance on a single private-key may not meet one's safety needs. Creation of a Multisig Wallet where all the owner Accounts are under your control, that is, you control all the private keys serves this need. Or, you set up a Multi-sig Account jointly owned by two or three people, each of whom control their own single private-key used to authorize the wallet. None of the other Multi-Sig Wallet owners has access to the other person’s privat-key.

When you spend from a Multi-sig Wallet, all the signing (owner) Accounts must have enough SOIL in them to pay for gas costs to complete the Approval transaction. If not, you will have to revoke the transaction, which will itself incur a revocation cost.

Quote
To process a transaction from a Multi-sig wallet, if you are the sole owner of all the signing Accounts:

Start by following the usual procedure to spend from any wallet. You will see a message below the AMOUNT field informing you whether you are within or have exceeded the daily limit. Should your transaction exceed the set daily limit, requiring the full quota of signatures to authorize the spend.

When you click the SEND button, you will see the Execute Contract window asking for the password to one of the owners Accounts. Once you enter the password and press Enter, you will be presented with a second screen asking you to APPROVE or REVOKE the transaction.

On selecting APPROVE you will be asked to select the second signing Account and then enter its password.

To process a transaction from a Multi-sig wallet, if there are multiple wallet owner Accounts belonging to separate individuals, the first step is to ensure that all Wallet Apps participating in the approval/signing of the multi-sig transaction have already imported the Multi-sig Wallet. Each signatory of the Multi-sig wallet will need to import the Contract Wallet using the DUST Wallet App. All that is needed to import the Multi-sig Wallet is the wallet’s address.

Quote
To import a Multisig Wallet into the Wallet App:

Click on ADD WALLET CONTRACT, then select IMPORT WALLET and paste the address of the Multi-sig Wallet in the Wallet Address field. Enter the name of the wallet.

If the importing Wallet App has an owner Account of this Multisig Wallet, DUST will generate a corresponding message, with the option to "Import Wallet". Selecting CREATE will complete importing the Multi-Sig Contract Wallet.

To complete the Approval process for a Multi-sig wallet requiring more than one unique individual's signature, follow the initial steps from the example above until you arrive at the Confirmation Needed screen in the Wallet App that initiated the transaction. Simultaneously, the other Wallet App associated with the second (and third, if necessary) owner Accounts will display the Confirmation Needed screen in their DUST wallet. Secondary signatories will also click APPROVE in the confirming Wallet App and enter the required password.

The LATEST TRANSACTIONS pane in both Wallet Apps will show the transaction being confirmed.

CREATING WATCH-ONLY WALLETS

If you import a Contract Wallet (either Simple Wallet or Multisig Wallet), following the procedure described above, and your Wallet App does NOT have access to the keyfiles of the signatory owner Accounts, then you will create a Watch-Only Wallet. An eye-like icon next to the wallet name denotes a Watch-Only Wallet. Watch-Only Wallets update immediately as the linked wallet’s balance changes.

hero member
Activity: 722
Merit: 501
Going with our release of DUST, ive written up a (comprehensive) overview of the application which ill post in a small series of posts, with an explanation on a lot of its specific functionalities.

DUST - an overview - PART1

DUST s the SOILcoin implementation of the Ethereum browser, Mist. We are presently using the Beta9 release which has been optimized for the Homestead release protocols. Presently, we have released the Windows 64bit wallet package. See the link in the OP. Linux and MAC OS wallets should be made available in the near future.

Firstly, you will notice on the main Wallets page that there are two types of wallets available with DUST: Externally Owned Accounts (simply: Accounts) and Wallet Contracts.

ACCOUNTS AND WALLETS

If you are new to SOILcoin, before setting up your accounts, you will need to let DUST sync to the SOILnet blockchain. At present (March 2016) this is approximately 700MB in size, and should, with average broadband connections, take about an hour. Most DUST transactions will fail if your node is not fully synced with the network, or will take much longer to show through its confirmations. Along the top banner of the Accounts Overview screen you will find information relating to the current synced status of your node. *To check that all is copacetic and that you have the latest block, compare this displayed information with what is listed on the SOILcoin Network Intelligence page at stats.soilcoin.xyz *

If your syncing process seems stalled or you drop out to 0 peers for an extended length of time, try closing and restarting the DUST application. If this doesnt help, make sure your computer's clock is accurate.

When syncing is complete, choose the Start Using SOIL link, which will lead you thru the account creation process. When setting up an account use a strong password. Do not forget this password!! You will not be able to access this Account, including any SOIL you send to it, without this password. This applies to all Accounts; you must know the password of the Account before you use it to perform transactions.

The opening page displayed will list your wallet accounts, the one marked as ETHERBASE is your default (0) account. To change any wallet account's listed name, choose the edit icon to the immediate right of the wallet name.

Each wallet address is also identified with a colourful little unique Identicon, which is a visual representation of a hash value, your SOILcoin hexidecimal address, which serves to identify the wallet account address in a form of an avatar, which is unique for each address.

The Keyfile which stores your single private key/address pair are not stored in the DUST directory on your computer, but are found in the keystore subdirectory of your SOILcoin node’s data directory. For Windows, this is at: C:\Users\username\%appdata%\Roaming\Soil

Inside the keystore subdirectory, you will find one keyfile for each of the Accounts you have created. You must have an Account’s keyfile to be able to send any transaction from that Account, including contract creation and interaction. In other words, if you delete your keyfile and do not have access to a backup copy, any SOIL you have stored with that Account is lost forever. Each keyfile is a JSON text file which you can open and view in any text editor. The critical component of the keyfile is your Account’s private key. Importantly, this private key is always encrypted with the password you entered when you created the Account.

Quote
To backup your keyfiles (Accounts):
Copy either the individual keyfiles within the keystore subdirectory or copy the entire keystore folder. You can get directly to the keystore subdirectory by selecting the Accounts / Backup  menu from the Menu bar of DUST, and then select "Accounts". Copy onto a USB stick, data card, or whatever removable media you are most comfortable with and store it safely. Selecting "Application Data" will back up your watched contracts, outgoing Account transactions, etc.

To restore your keyfiles:
Copy the keyfiles back into the keystore subdirectory, where they were originally.

DUST also contains some security features to warn you if an entered SOILcoin address is either illegitimate or may be incorrect. SOIL sent to incorrectly entered addresses are not retrievable and are lost into the "aether". The Beta9 Homestead-ready version of Mist that we have ported over to the SOILcoin ecosphere adds an extra layer of security which makes it extremely difficult to enter an incorrect address by mistyping. This is possible through the use of checksum enabled addresses.

SOILcoin addresses are case insensitive hexidecimal strings. The most commonly recognized format, in how one's wallet has been consistently displayed in SOILsafe until now has featured a 44-character long string beginning in "0x" followed by a series of numbers ranging from 0-9, and lower case letters, ranging from a-f. (i.e.: 0xe46731382fbc47621a6c480d4b6118026bbbcb3a) This can also be represented with entirely upper case letters as well.

A third option, is to display the address in a mix of upper and lower case letters. (i.e.:0xe46731382FbC47621A6C480d4b6118026bBBCb3A). This is a checksum enabled address. Notice that the addresses displayed in "Beta9" are all presented in this manner. They are the same account addresses as the original format.
This checksum security implementation is backwards-compatible, meaning that original, all lower-case or all upper-case addresses can still be used as before. DUST will warn you if you enter an address with no checksum security.

Quote
NOTE You should always copy/paste when you input a hexidecimal SOILcoin address, making the above security features much less necessary. But on occasion, when you are forced to type in an address manually, these security features can prevent asset losses.

TRANSACTION FEES... "GAS"

You will incur a cost when you execute a transaction on the SOILcoin blockchain. Gas is the unit in which this transaction cost is denoted. When you do a plain SOIL transfer from one Account to another Account, the transaction cost is 21,000 gas. You pay for gas with ether. The cost in SOIL of one unit of gas is determined dynamically by the SOILcoin network. This gas price can be viewed on the Network Intelligence page. In January 2016, 1 unit of gas cost 0.0000005 SOIL. So a 21,000 gas transaction like the ether transfer you just did, would cost 0.00605 SOIL. Different types of transactions will incur different gas costs. The Wallet App will estimate the cost of the transaction you are about to execute, and allow you to increase or decrease this overall cost at the expense or benefit of quicker confirmation times. Any excess fee in that estimate will be refunded to your sending Account immediately upon execution.

TRANSACTION LIST

The transaction list will not show transactions in which any of your Accounts has received SOIL from a wallet that is not listed in your Wallet App. The balance of your receiving Account will be immediately updated and displayed correctly even though the transaction is not listed. Out-migrating transactions, including contract creation and asset transfer will be included in the Transaction list.

To see the details of a transaction, click on the particular transaction in this list to display the Transaction Box. Click on the Transaction hash or the Block hash to open an ABEE SOILcoin Block Explorer tab in your browser which will confirm and present much more information relating to the transaction..
hero member
Activity: 722
Merit: 501
came across this random blog post today, regarding the paradigm of ethereum, which helps explain too the way i look at SOILcoin:

https://medium.com/@davidhq/what-is-ethereum-caeb8f99cdff#.rd4y8axgs

i love some of the viewpoints in the article:

Quote
At the end Ethereum is an incredible, never seen before computer, but on the other hand it’s just a computer. It is not intelligent in the traditional sense and will never be artificially intelligent. With our help it can be naturally intelligent.

and describing why smart contracts are important, and why IMPORTANT smart contracts will rise to the top, not for the riches they might make someone but because of their UTILITY.

with the "dust" dapp/wallet peter released, which is based on the latest Homestead-ready beta from Ethereum, is really useful in working with contracts, from compiling to deploying to interacting and then watching them. you can interact with any solidity built contract by watching it, needing only its contract address and JSON interactions.

theres a reason why the EVM is important, and whats been built (and paralleled with purpose by SOILcoin) truly disrupts the POTENTIAL of things.

Quote
Bitcoin seeded the crucial innovation that some other projects picked upon and extended much further. While Bitcoin was invented for trustless finance, Ethereum is a general platform for trustless computing.




full member
Activity: 130
Merit: 100
SOILteam
SOILsafe-NG - powerful and easy to use
Props to frozeman and alexvandesande


We are happy to announce a complete new version of our SOILsafe GUI wallet.

The wallet relies on gsoil as the backend and provides a user friendly interface with the most important information
and functions available to you without requiring to type console commands to execute them. SOILsafe NG will start
gsoil in the background, so there is no need to start it manually. SOILsafe-NG can be used as a new installation to get
you started with a new wallet. It will start with a step by step guide to help you get started by generating a new wallet.
SOILsafe-NG is not a replacement of SOILsafe and is meant as a supplement. We hope you enjoy the new functions
but please note that this is a port of a beta release and could contain bugs.








Win64
hero member
Activity: 1039
Merit: 510
Looking forward to it! Great work! Smiley
member
Activity: 108
Merit: 10
COMING SOON... SOILsafe Next Generation
Props to frozeman and alexvandesande


  • Gsoil included (You will no longer need start gsoil separately)
  • Contract deployment
  • Custom tokens
  • Multisignature wallets
  • Solidity compiler included
  • ...


Port is nearly done. Abvhiael and me will put to the acid test now.




Wow!!! You guys make my weekend so busy. Can't leave my computer at this time Smiley
legendary
Activity: 1559
Merit: 1001
Epic Private Internet Cash
YoBit has refunded teh 0.1BTC premium listing fee we paid them six weeks ago. I have transferred that to Bittrex and was thinking of using it to purchase SOIL towards refilling my developer's wallet. is this a suitable use, in the eyes of the community?
No probleme for me.

Same to me.
legendary
Activity: 2453
Merit: 1025
Energy coin master
YoBit has refunded teh 0.1BTC premium listing fee we paid them six weeks ago. I have transferred that to Bittrex and was thinking of using it to purchase SOIL towards refilling my developer's wallet. is this a suitable use, in the eyes of the community?
No probleme for me.
legendary
Activity: 1820
Merit: 1001
I see this coin is creeping up the market nicely n slowly. Maybe one day has a market cap like Eth would be killer. Also slack not working need some sort invite wheres al lthe action nodays slack or maybe look getting irc for ya coin
hero member
Activity: 722
Merit: 501
YoBit has refunded teh 0.1BTC premium listing fee we paid them six weeks ago. I have transferred that to Bittrex and was thinking of using it to purchase SOIL towards refilling my developer's wallet. is this a suitable use, in the eyes of the community?
legendary
Activity: 924
Merit: 1000
How i can compile my solidity contract?

i wrote an article on just that about two weeks ago.
you can find it here:

https://bitcointalksearch.org/topic/m.14017721

Thanks for the tips. Do you have any on how to compile a web3-deploy-format contract that's saved to a file?
hero member
Activity: 722
Merit: 501
wow soil-ex is coming this week and ether-ex is not yet released this is to cause mayhem.still got a laughable $66k market cap

well, im hoping to be able to release it this week. its march break and i have a five year old son home from school all week, so getting ANY work done becomes a challenge. is there a smart contract out there to bottle up little kid energy and provide it to the end-user?? (sighs) SOIL-ex has been my baby for a few months, and ive based it directly off of EtherEx. its stillnot what it COULD be, but as a subcurrency marketplace, it does its job very well. id like to test out the btc-swap aspect of the platform a whole lot more, but again, its not what it could be. or what ive envisioned.

eventually, it (or a similar iteration) will host an ersatz commodities exchange with tokens pegged to the hourly changes in hard and soft at the chicago mercantile exchange. it wont be, YET, something akin to the CME Globex platform they use for electronic ordering, and the pegged tokens wont be, YET, set as a direct purchase of the commodity futures, moreso it will be buying and selling against the changes in rates for such things as wheat, live feeder hogs, platinum, etc.

ive been watching the digix.io gold based tokens project pretty closely, as they plan on being available on EtherEx on Ethereum when they hit the main net, as that will help set a basis on how these subcurrencies can be interactive with outside markets.

id also love to able to turn it into a full fledged decentralized crypto-exchange utilizing sidechains to bring altcurrencies that have a harmonious ideal to the SOILcoin directives into it, and have studied the bidirectional sidechain issue quite extensively. most of it is in the "what if we could?" stage right now, but projects such as dogethereum (with its MASSIVE bounty) are looking into how to solve those problems.

still, by actually getting work done once the little fellow is in bed, after story time (geronimo stilton, all the time), im hoping to have it ready for saturday.
hero member
Activity: 658
Merit: 500


theyve listed ETH, as well as KR

Lol, I never even noticed!! I might need ny eyes testing.

I'm no fan of Yobit, but it does tend to be a good place to get in on coins very early.

I'll let you know if I catch anyone there.

Edit:

Sent you a pm.
hero member
Activity: 722
Merit: 501
How i can compile my solidity contract?

i wrote an article on just that about two weeks ago.
you can find it here:

https://bitcointalksearch.org/topic/m.14017721
hero member
Activity: 722
Merit: 501
Regarding Yobit:

Unfortunately, I spend a fair bit of time on Yobit, so next time Blacksmith is in the trollbox I'll ask him about why he hasn't listed SOIL or refunded the BTC.

Thinking about it, I wouldn't be surprised if they couldn't work out how to interface the exchange with an ETH protocol wallet.

theyve listed ETH, as well as KR (Krypton, the most recent Ethereum fork), so i cant see that issues from the Ethereum wallet protocols would be an issue. i get it that they have tons of requests going in, and that it takes time to go through them all, but thats what i thot the premium listing fee was for, get one to the top of the heap. i like the format there, theres some fun and interesting innovations on yobit... the dice game... although id like to see the code behind that on a personal note to ensure it's provably fair... and the massive ammounts of faucets they host, which id love to add SOIL to.. the more people with exposure to SOIL the better.

anyhow, thank you in advance for trying to get an answer for us. id looked around on the site to see if they had a list of admins that i could approach on the troll-box, and had asked within the troll-box several times as well, hoping to talk to an admin. id just like to get this situation cleared up one way or the other. id still love to be listed there, it brings further exposure for SOILcoin, and might help us get listed on other exchanges.

its tough, the due diligence on the exchanges, as theres always cheerleaders and detractors for every exchange. i used to LOVE bleutrade, i found the format quick and easy to work with. but their support team was pretty non-existent when it came to responding to requests for listing SOIL there after we launched. ive since completely abandoned bleu. im also rather fond of cryptopia, i like their integrated mining, and the community there is one of the most positive ive found, but when i sent in the listing request, they declined due to "no github source". id tried a few times to get this rectified, as we've had our source up on github since day 1, but its one of those things thats slipped onto the back burner.

im thrilled to see that we have a decent twitter campaign foing for inclusion onto poloniex, from everything ive seen, theyre one of the most trustworthy exchanges out there, which is what we are looking for.
legendary
Activity: 2688
Merit: 1240
Great response!

But why there isn't Actual Shares?



It is still catching up and crediting the old rounds. It will be good soon
sr. member
Activity: 414
Merit: 250
Great response!

But why there isn't Actual Shares?

legendary
Activity: 2688
Merit: 1240
Technical issue on Suprnova pool.

Did someone find solution yet?

It might affect SOIL mining.

Just a stuck cronjob, fixed already
sr. member
Activity: 414
Merit: 250
Technical issue on Suprnova pool.

Did someone find solution yet?

It might affect SOIL mining.
Pages:
Jump to:
© 2020, Bitcointalksearch.org