Nice pattern to handle this is to have init return a RPCTarget with methods you want to be public an

Nice pattern to handle this is to have init return a RPCTarget with methods you want to be public and make everything else on the DO private. This makes it impossible to access the DO without going through your init fn
Was this page helpful?