Replace references to browser-solidity with Remix

This commit is contained in:
Alex Beregszaszi 2017-03-15 22:58:14 +00:00
parent 0157b86ce6
commit a0d6ac63cc
5 changed files with 12 additions and 12 deletions

View File

@ -68,7 +68,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://ethereum.github.io/browser-solidity/>`_), then has it (which includes `Remix <https://remix.ethereum.org/>`_), 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.

View File

@ -11,8 +11,8 @@ As you will see, it is possible to create contracts for voting,
crowdfunding, blind auctions, multi-signature wallets and more. 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
`Browser-Based Compiler <https://ethereum.github.io/browser-solidity/>`_ `Remix <https://remix.ethereum.org/>`_
(it can take a while to load, please be patient). (it can take a while to load, please be patient).
Useful links Useful links
@ -33,7 +33,7 @@ Useful links
Available Solidity Integrations Available Solidity Integrations
------------------------------- -------------------------------
* `Browser-Based Compiler <https://ethereum.github.io/browser-solidity/>`_ * `Remix <https://remix.ethereum.org/>`_
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/>`_
@ -109,7 +109,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://ethereum.github.io/browser-solidity>`_! `in your browser <https://remix.ethereum.org>`_!
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.

View File

@ -15,11 +15,11 @@ are not guaranteed to be working and despite best efforts they might contain und
and/or broken changes. We recommend using the latest release. Package installers below and/or broken changes. We recommend using the latest release. Package installers below
will use the latest release. will use the latest release.
Browser-Solidity Remix
================ =====
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://ethereum.github.io/browser-solidity>`_ can try `Remix <https://remix.ethereum.org/>`_
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 go to without connection to the Internet, you can go to
https://github.com/ethereum/browser-solidity/tree/gh-pages and https://github.com/ethereum/browser-solidity/tree/gh-pages and
@ -31,7 +31,7 @@ npm / Node.js
This is probably the most portable and most convenient way to install Solidity locally. This is probably the most portable and most convenient way to install Solidity locally.
A platform-independent JavaScript library is provided by compiling the C++ source A platform-independent JavaScript library is provided by compiling the C++ source
into JavaScript using Emscripten. It can be used in projects directly (such as Browser-Solidity). into JavaScript using Emscripten. It can be used in projects directly (such as Remix).
Please refer to the `solc-js <https://github.com/ethereum/solc-js>`_ repository for instructions. Please refer to the `solc-js <https://github.com/ethereum/solc-js>`_ repository for instructions.
It also contains a commandline tool called `solcjs`, which can be installed via npm: It also contains a commandline tool called `solcjs`, which can be installed via npm:

View File

@ -151,9 +151,9 @@ remapping ``=/``.
If there are multiple remappings that lead to a valid file, the remapping If there are multiple remappings that lead to a valid file, the remapping
with the longest common prefix is chosen. with the longest common prefix is chosen.
**browser-solidity**: **Remix**:
The `browser-based compiler <https://ethereum.github.io/browser-solidity>`_ `Remix <https://remix.ethereum.org/>`_
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.

View File

@ -117,7 +117,7 @@ Sending and Receiving Ether
During the execution of the fallback function, the contract can only rely During the execution of the fallback function, the contract can only rely
on the "gas stipend" (2300 gas) being available to it at that time. This stipend is not enough to access storage in any way. on the "gas stipend" (2300 gas) being available to it at that time. This stipend is not enough to access storage in any way.
To be sure that your contract can receive Ether in that way, check the gas requirements of the fallback function To be sure that your contract can receive Ether in that way, check the gas requirements of the fallback function
(for example in the "details" section in browser-solidity). (for example in the "details" section in Remix).
- There is a way to forward more gas to the receiving contract using - There is a way to forward more gas to the receiving contract using
``addr.call.value(x)()``. This is essentially the same as ``addr.send(x)``, ``addr.call.value(x)()``. This is essentially the same as ``addr.send(x)``,