Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
649c14ea
Commit
649c14ea
authored
May 24, 2018
by
ninabreznik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Markdown update
parent
6015d22e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
33 deletions
+31
-33
index.md
docs/index.md
+0
-8
quickstart_javascript_vm.md
docs/quickstart_javascript_vm.md
+2
-2
run_tab.md
docs/run_tab.md
+29
-23
No files found.
docs/index.md
View file @
649c14ea
...
@@ -13,14 +13,6 @@ docs. Our tool is available at `our GitHub repository
...
@@ -13,14 +13,6 @@ docs. Our tool is available at `our GitHub repository
This set of documents covers instructions on how to use Remix and some tutorials to help you get started.
This set of documents covers instructions on how to use Remix and some tutorials to help you get started.
Contents:
*
:ref:
`quick start`
*
:ref:
`deploy and test`
*
:ref:
`other remix features`
*
:ref:
`tutorials and workshops`
*
:ref:
`code contribution guide`
.. quick-start:
.. quick-start:
.. toctree::
.. toctree::
...
...
docs/quickstart_javascript_vm.md
View file @
649c14ea
...
@@ -26,9 +26,10 @@ should have 100 ether.
...
@@ -26,9 +26,10 @@ should have 100 ether.
Sample contract
Sample contract
---------------
---------------
::
```
{.sourceCode .none}
pragma solidity ^0.4.16;
pragma solidity ^0.4.16;
contract testContract {
contract testContract {
uint value;
uint value;
...
@@ -48,7 +49,6 @@ contract testContract {
...
@@ -48,7 +49,6 @@ contract testContract {
return value;
return value;
}
}
}
}
```
This contract is very basic. The goal is to quickly start to create and
This contract is very basic. The goal is to quickly start to create and
to interact with a sample contract.
to interact with a sample contract.
...
...
docs/run_tab.md
View file @
649c14ea
...
@@ -12,27 +12,32 @@ Run Setup
...
@@ -12,27 +12,32 @@ Run Setup
The following settings allow you to directly influence the transaction
The following settings allow you to directly influence the transaction
execution:
execution:
> - Environment:
Environment:
> : - `JavaScript VM`: All the transactions will be executed in
> a sandbox blockchain in the browser. This means nothing
-
`JavaScript VM`
: All the transactions will be executed in
> will be persisted and a page reload will restart a new
a sandbox blockchain in the browser. This means nothing
> blockchain from scratch, the old one will not be saved.
will be persisted and a page reload will restart a new
> - `Injected Provider`: Remix will connect to an injected
blockchain from scratch, the old one will not be saved.
> web3 provider. `Mist` and `Metamask` are example of
> providers that inject web3, thus can be used with this
-
`Injected Provider`
: Remix will connect to an injected
> option.
web3 provider.
`Mist`
and
`Metamask`
are example of
> - `Web3 Provider`: Remix will connect to a remote node. You
providers that inject web3, thus can be used with this
> will need to provide the URL address to the selected
option.
> provider: geth, parity or any Ethereum client.
>
-
`Web3 Provider`
: Remix will connect to a remote node. You
> - Account: the list of accounts associated with the current
will need to provide the URL address to the selected
> environment (and their associated balances).
provider: geth, parity or any Ethereum client.
> - Gas Limit: the maximum amount of gas that can be set for all the
> transactions created in Remix.
-
Account: the list of accounts associated with the current
> - Value: the amount of value for the next created transaction (this
environment (and their associated balances).
> value is always reset to 0 after each transaction execution).
>
-
Gas Limit: the maximum amount of gas that can be set for all the
> 
transactions created in Remix.
-
Value: the amount of value for the next created transaction (this
value is always reset to 0 after each transaction execution).
!
[
image
](
images/remix_runtab_example.png
)
Initiate Instance
Initiate Instance
-----------------
-----------------
...
@@ -44,6 +49,7 @@ This section contains the list of compiled contracts and 2 actions:
...
@@ -44,6 +49,7 @@ This section contains the list of compiled contracts and 2 actions:
deployed contract. There's no check at this point, so be careful
deployed contract. There's no check at this point, so be careful
when using this feature, and be sure you trust the contract at that
when using this feature, and be sure you trust the contract at that
address.
address.
-
`Create`
send a transaction that deploys the selected contract. When
-
`Create`
send a transaction that deploys the selected contract. When
the transaction is mined, the newly created instance will be added
the transaction is mined, the newly created instance will be added
(this might take several seconds). Note that if the
`constructor`
(this might take several seconds). Note that if the
`constructor`
...
@@ -114,7 +120,8 @@ Input parameters are `1` and
...
@@ -114,7 +120,8 @@ Input parameters are `1` and
all these transactions are created using the value of the accounts
all these transactions are created using the value of the accounts
`account{0}`
.
`account{0}`
.
```
{.sourceCode .none}
::
{
{
"accounts": {
"accounts": {
"account{0}": "0xca35b7d915458ef540ade6068dfe2f44e8fa733c"
"account{0}": "0xca35b7d915458ef540ade6068dfe2f44e8fa733c"
...
@@ -269,4 +276,3 @@ all these transactions are created using the value of the accounts
...
@@ -269,4 +276,3 @@ all these transactions are created using the value of the accounts
]
]
}
}
}
}
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment