Skip to content

Commit

Permalink
improved faq
Browse files Browse the repository at this point in the history
  • Loading branch information
oleganza committed Sep 4, 2023
1 parent d8d5df2 commit 4d2575c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ Plugin needs to send a request with a message to its own address.

### How can a plugin self-destruct?

Plugin does not need to remove its extension code from the wallet — they can simply self-destroy by sending all TONs to the wallet with sendmode 128.
Plugin can self-destroy by sending all TONs to the wallet with sendmode 128 and adding one more action that removes itself from the list.

### How can I deploy a plugin, install its code and send it a message in one go?

You need to put two requests in your message body:
1. add extension address,
2. send a message to that address.
1. add the extension address,
2. send a message with stateinit to that address.

### Does the wallet grow with number of plugins?

Expand Down Expand Up @@ -197,4 +197,4 @@ actions$_ {m:#} {n:#} actions:(ActionList n m) = InnerRequest;

## Source code

See [contracts/wallet_v5_3.fc].
See [contracts/wallet_v5_3.fc](contracts/wallet_v5_3.fc).

0 comments on commit 4d2575c

Please sign in to comment.