Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gtsonevv committed Sep 27, 2024
1 parent 3b2a6ba commit 00f9161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/near-sdk-js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ In order to do that, your contract must be a class decorated with `@NearBindgen(

Your class must have a `constructor()`. You will not be able to call it, which is why it should not accept any parameters. You must declare all the parameters that you are planning to use in the constructor and set default values.

The simplest example of the contract that follows all these rules can be found [here](https://github.com/near/near-sdk-js/blob/develop/examples/src/statys-message/status-message.js)
The simplest example of the contract that follows all these rules can be found [here](https://github.com/near/near-sdk-js/blob/develop/examples/src/status-message/status-message.js)

`NearBindgen` decorator can accept `requireInit parameter`.

Expand Down

0 comments on commit 00f9161

Please sign in to comment.