mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-21 09:58:30 +00:00
Updated DApp Development (markdown)
parent
d03e2af1a1
commit
756a563a0c
@ -1,3 +1,10 @@
|
||||
* [Usage - Demo]()
|
||||
* [Creating a new DApp]()
|
||||
* [DApp Structure]()
|
||||
* [Using Contracts]()
|
||||
* [Contracts Configuration]()
|
||||
* [Using contracts with other contracts]()
|
||||
|
||||
Usage - Demo
|
||||
======
|
||||
You can easily create a sample working DApp with the following:
|
||||
@ -73,6 +80,8 @@ SimpleStorage.set(100);
|
||||
SimpleStorage.get();
|
||||
```
|
||||
|
||||
Contracts Configuration
|
||||
======
|
||||
You can specify for each contract and environment its gas costs and arguments:
|
||||
|
||||
```Yaml
|
||||
@ -86,6 +95,8 @@ You can specify for each contract and environment its gas costs and arguments:
|
||||
...
|
||||
```
|
||||
|
||||
Using contracts with other contracts
|
||||
======
|
||||
If you are using multiple contracts, you can pass a reference to another contract as ```$ContractName```, Embark will automatically replace this with the correct address for the contract.
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user