Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vtamara committed Mar 6, 2023
1 parent 84537d6 commit 0c76d48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arboldes/usr/ports/mystuff/net/ton/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ This will generate the file `w3.fif` in fift assembler.

Before running fift be sure to run:
```
export FIFTPATH=/usr/local/share/ton/fift/lib:/usr/local/share/ton/smartcont/
export FIFTPATH=/usr/local/lib/fift/:/usr/local/share/ton/smartcont/
```
or better add that to your `~/.profile` or `~/.zshrc.local` or equivalent.

If you created `w3.fif` with `func` as described before, you can run:
```
./crypto/fift -s w3.fif
fift -s w3.fif
```
However to generate a boc file (binary representation of a cell) you should edit `w3.fif` and add at the end the line
```
Expand All @@ -76,7 +76,7 @@ boc>B "w3.cell" B>file

By running again
```
./crypto/fift -s w3.fif
fift -s w3.fif
```
It will generate the binary file `w3.cell with the smart contract ready for the TVM.

Expand Down

0 comments on commit 0c76d48

Please sign in to comment.