motoko 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +7 -3
- package/lib/generated/moc.js +21 -21
- package/lib/index.js +29 -35
- package/package.json +3 -3
- package/lib/generated/.prettierignore +0 -1
package/README.md
CHANGED
@@ -1,10 +1,14 @@
|
|
1
1
|
# Motoko
|
2
2
|
|
3
|
-
### Compile [Motoko](https://smartcontracts.org/) smart contracts in Node.js and the browser.
|
3
|
+
> ### Compile [Motoko](https://smartcontracts.org/) smart contracts in Node.js and the browser.
|
4
|
+
|
5
|
+
---
|
4
6
|
|
5
7
|
## Installation:
|
6
8
|
|
7
|
-
|
9
|
+
```sh
|
10
|
+
npm install -S motoko
|
11
|
+
```
|
8
12
|
|
9
13
|
## Basic Example:
|
10
14
|
|
@@ -23,7 +27,7 @@ actor {
|
|
23
27
|
`);
|
24
28
|
|
25
29
|
// Generate the corresponding Candid interface
|
26
|
-
console.log(mo.candid('Main.mo'))
|
30
|
+
console.log(mo.candid('Main.mo'));
|
27
31
|
```
|
28
32
|
|
29
33
|
## Advanced Usage:
|