mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #586 from chriseth/updatelink
Update links to browser-solidity.
This commit is contained in:
commit
86c65c9339
@ -4,9 +4,7 @@
|
|||||||
|
|
||||||
To get started you can find a basic introduction to the language in the [Solidity Documentation](https://solidity.readthedocs.org).
|
To get started you can find a basic introduction to the language in the [Solidity Documentation](https://solidity.readthedocs.org).
|
||||||
|
|
||||||
You can start using [Solidity in your browser](https://chriseth.github.io/browser-solidity/) with no need to download or compile anything. This application only supports compilation - if you want to inject it into the blockchain, you have to use a client like [Geth](https://github.com/ethereum/go-ethereum/wiki) or [AlethZero](https://github.com/ethereum/alethzero).
|
You can start using [Solidity in your browser](https://ethereum.github.io/browser-solidity/) with no need to download or compile anything.
|
||||||
|
|
||||||
Also check out more documentations for [Solidity ABI](https://github.com/ethereum/wiki/wiki/Solidity,-Docs-and-ABI) and a crowdfunding [example contract](https://github.com/chriseth/cpp-ethereum/wiki/Crowdfunding-example-contract-in-Solidity) written in Solidity.
|
|
||||||
|
|
||||||
[Changelog](https://github.com/ethereum/wiki/wiki/Solidity-Changelog)
|
[Changelog](https://github.com/ethereum/wiki/wiki/Solidity-Changelog)
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ there should be a `test contract <https://github.com/ethereum/solidity/blob/deve
|
|||||||
How do I compile contracts?
|
How do I compile contracts?
|
||||||
=============================
|
=============================
|
||||||
|
|
||||||
Probably the fastest way is the `online compiler <https://chriseth.github.io/browser-solidity/>`_.
|
Probably the fastest way is the `online compiler <https://ethereum.github.io/browser-solidity/>`_.
|
||||||
|
|
||||||
You can also use the `solc` binary which comes with cpp-ethereum to compile
|
You can also use the `solc` binary which comes with cpp-ethereum to compile
|
||||||
contracts or an emerging option is to use Mix, the IDE.
|
contracts or an emerging option is to use Mix, the IDE.
|
||||||
@ -96,7 +96,7 @@ creator. Save it. Then `selfdestruct(creator);` to kill and return funds.
|
|||||||
|
|
||||||
Note that if you `import "mortal"` at the top of your contracts and declare
|
Note that if you `import "mortal"` at the top of your contracts and declare
|
||||||
`contract SomeContract is mortal { ...` and compile with a compiler that already
|
`contract SomeContract is mortal { ...` and compile with a compiler that already
|
||||||
has it (which includes `browser-solidity <https://chriseth.github.io/browser-solidity/>`_), then
|
has it (which includes `browser-solidity <https://ethereum.github.io/browser-solidity/>`_), then
|
||||||
`kill()` is taken care of for you. Once a contract is "mortal", then you can
|
`kill()` is taken care of for you. Once a contract is "mortal", then you can
|
||||||
`contractname.kill.sendTransaction({from:eth.coinbase})`, just the same as my
|
`contractname.kill.sendTransaction({from:eth.coinbase})`, just the same as my
|
||||||
examples.
|
examples.
|
||||||
|
@ -8,7 +8,7 @@ crowdfunding, blind auctions, multi-signature wallets and more.
|
|||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
The best way to try out Solidity right now is using the
|
The best way to try out Solidity right now is using the
|
||||||
`Browser-Based Compiler <https://chriseth.github.io/browser-solidity/>`_
|
`Browser-Based Compiler <https://ethereum.github.io/browser-solidity/>`_
|
||||||
(it can take a while to load, please be patient).
|
(it can take a while to load, please be patient).
|
||||||
|
|
||||||
Useful links
|
Useful links
|
||||||
@ -28,7 +28,7 @@ Useful links
|
|||||||
|
|
||||||
Available Solidity Integrations
|
Available Solidity Integrations
|
||||||
-------------------------------
|
-------------------------------
|
||||||
* `Browser-Based Compiler <https://chriseth.github.io/browser-solidity/>`_
|
* `Browser-Based Compiler <https://ethereum.github.io/browser-solidity/>`_
|
||||||
Browser-based IDE with integrated compiler and Solidity runtime environment without server-side components.
|
Browser-based IDE with integrated compiler and Solidity runtime environment without server-side components.
|
||||||
|
|
||||||
* `Ethereum Studio <https://live.ether.camp/>`_
|
* `Ethereum Studio <https://live.ether.camp/>`_
|
||||||
@ -60,7 +60,7 @@ and the :ref:`Ethereum Virtual Machine <the-ethereum-virtual-machine>`.
|
|||||||
The next section will explain several *features* of Solidity by giving
|
The next section will explain several *features* of Solidity by giving
|
||||||
useful :ref:`example contracts <voting>`
|
useful :ref:`example contracts <voting>`
|
||||||
Remember that you can always try out the contracts
|
Remember that you can always try out the contracts
|
||||||
`in your browser <https://chriseth.github.io/browser-solidity>`_!
|
`in your browser <https://ethereum.github.io/browser-solidity>`_!
|
||||||
|
|
||||||
The last and most extensive section will cover all aspects of Solidity in depth.
|
The last and most extensive section will cover all aspects of Solidity in depth.
|
||||||
|
|
||||||
|
@ -6,10 +6,10 @@ Browser-Solidity
|
|||||||
================
|
================
|
||||||
|
|
||||||
If you just want to try Solidity for small contracts, you
|
If you just want to try Solidity for small contracts, you
|
||||||
can try `browser-solidity <https://chriseth.github.io/browser-solidity>`_
|
can try `browser-solidity <https://ethereum.github.io/browser-solidity>`_
|
||||||
which does not need any installation. If you want to use it
|
which does not need any installation. If you want to use it
|
||||||
without connection to the Internet, you can also just save the page
|
without connection to the Internet, you can also just save the page
|
||||||
locally or clone http://github.com/chriseth/browser-solidity.
|
locally or clone http://github.com/ethereum/browser-solidity.
|
||||||
|
|
||||||
npm / Node.js
|
npm / Node.js
|
||||||
=============
|
=============
|
||||||
@ -27,7 +27,7 @@ To install it, simply use
|
|||||||
npm install solc
|
npm install solc
|
||||||
|
|
||||||
Details about the usage of the Node.js package can be found in the
|
Details about the usage of the Node.js package can be found in the
|
||||||
`repository <https://github.com/ethereum/solc-js>`_.
|
`solc-js repository <https://github.com/ethereum/solc-js>`_.
|
||||||
|
|
||||||
Binary Packages
|
Binary Packages
|
||||||
===============
|
===============
|
||||||
|
@ -63,14 +63,6 @@ Furthermore, anyone can send coins to each other without any need for
|
|||||||
registering with username and password - all you need is an Ethereum keypair.
|
registering with username and password - all you need is an Ethereum keypair.
|
||||||
|
|
||||||
|
|
||||||
.. note::
|
|
||||||
This is not a nice example for browser-solidity.
|
|
||||||
If you use `browser-solidity <https://chriseth.github.io/browser-solidity>`_
|
|
||||||
to try this example, you cannot change the address where you call
|
|
||||||
functions from. So you will always be the "minter", you can mint coins and send
|
|
||||||
them somewhere, but you cannot impersonate someone else. This might change in
|
|
||||||
the future.
|
|
||||||
|
|
||||||
.. Gist: ad490694f3e5b3de47ab
|
.. Gist: ad490694f3e5b3de47ab
|
||||||
|
|
||||||
::
|
::
|
||||||
|
@ -103,7 +103,7 @@ with the longest common prefix is chosen.
|
|||||||
|
|
||||||
**browser-solidity**:
|
**browser-solidity**:
|
||||||
|
|
||||||
The `browser-based compiler <https://chriseth.github.io/browser-solidity>`_
|
The `browser-based compiler <https://ethereum.github.io/browser-solidity>`_
|
||||||
provides an automatic remapping for github and will also automatically retrieve
|
provides an automatic remapping for github and will also automatically retrieve
|
||||||
the file over the network:
|
the file over the network:
|
||||||
You can import the iterable mapping by e.g.
|
You can import the iterable mapping by e.g.
|
||||||
|
Loading…
Reference in New Issue
Block a user