Configure AppKit
In
AppKit
you can specify the default config. This will allow you to omit passing client
object into every AppKit
function later. If a function works with another client (another network), you need to create a client object for that network separately, like we did in the previous step, and pass it as a parameter.TonClient.defaultConfig = {
network: {
// Local node URL here
endpoints: ['net.ton.dev']
},
};
Last modified 1yr ago