Hello i try to interact with a smart contract already deployed on sepolia. But i’m facing the issue “not supported blockchain eth_sepolia” with my config
Web3AuthOptions options = Web3AuthOptions(
clientId: clientId,
// network: Network.sapphire_mainnet,
network: Network.sapphire_devnet,
redirectUrl: redirectUrl,
// 259200 allows user to stay authenticated for 3 days with Web3Auth.
// Default is 86400, which is 1 day.
sessionTime: 259200,
);
Future<void> readFromContract() async {
try {
final client = Web3Client("https://rpc.ankr.com/eth_sepolia ", Client());
final contract = DeployedContract(
// ContractAbi.fromJson(jsonEncode(simpleStorageAbi), ''),
ContractAbi.fromJson(simpleStorageAbi, ''),
EthereumAddress.fromHex(
"0x1EA80a5CFB09aC48a12962376769355D72E30792"));
final messageFunction = contract.function('get');
var message = await client
.call(contract: contract, function: messageFunction, params: []);
log("Contract Read Message, $message");
} catch (e) {
}
}
Is it still possible to interact with deployed contract on sepolia ?
If it’s not possible anymore, where do i have to deploy my contract to use sapphire_devnet ? I cannot deploy it on the mainnet
When asking for help in this category, please make sure to provide the following details:
- SDK Version:
- Platform: Android
- Browser Console Screenshots:
Thanks