Right now I need to modify my front-end Dapp to be able to use it with devnet that is running on another port than 5050, we should be able to use Dapp and devnet running on a different port without doing this
const modifiedDevnet = {
...devnet, // Copy all properties from the original devnet object
rpcUrls: {
...devnet.rpcUrls, // Copy all properties from the original rpcUrls object
public: {
...devnet.rpcUrls.public, // Copy all properties from the original public object
http: ['http://localhost:8081/rpc'] // Modify the http property with the new URL
}
}
};
BUG
Right now I need to modify my front-end Dapp to be able to use it with devnet that is running on another port than
5050
, we should be able to use Dapp and devnet running on a different port without doing this