Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Commit

Permalink
Update Operations.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ilanolkies authored Jun 26, 2020
1 parent d30c217 commit c13d997
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rif/rns/libs/javascript/Operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,11 @@ await rns.subdomains.setOwner('testing.rsk', 'example', newOwnerAddress);
Creates a new subdomain under the given domain tree if it is available, and sets its resolution if `addr` is provided.
It may send one, two, or three transactions, based on the value of the sent parameters.

<div class="alert alert-warning">
This endpoint is not working as expected in public networks (it works ok in Ganache). To workaround failed transactions pass <code>gas: 85000</code>.<br />
<a href="https://github.com/rnsdomains/rns-js/issues/112" target="_blank">More info</a>
</div>

> Precondition: the sender should be the owner of the parent domain.
**Signature**
Expand Down

0 comments on commit c13d997

Please sign in to comment.