You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's very easy to make a call target arbitrary nodes/APIs using Stacks.js. However most of the developers expect to have defaults and prefer using even more simplified arguments like 'mainnet' and 'testnet'.
While we do want to encourage everyone to host their own nodes and point calls to custom nodes, more users are annoyed by the initial frustration, so we will likely always have defaults to make the first use of Stacks.js easier. But we're always open to considering better developer experience.
Hardcoding RPC nodes like the code snippet below should be avoided
instead, provide a mandatory RPC argument for the contract calls and offer a constant that the users can provide to explicitly use Hiro API.
The text was updated successfully, but these errors were encountered: