package io.fundrequest.core.config;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;
import org.web3j.protocol.Web3j;
import org.web3j.protocol.Web3jService;
import org.web3j.protocol.http.HttpService;

@Configuration
public class Web3Config {

    @Bean
    @Primary
    public Web3j provideWeb3J(final Web3jService web3jService) {
        return Web3j.build(web3jService);
    }

    @Bean
    @Qualifier("local")
    public Web3j provideInfuraWeb3j(@Qualifier("local") final Web3jService web3jService) {
        return Web3j.build(web3jService);
    }

    @Bean
    @Primary
    public Web3jService provideWeb3JService(@Value("${cloud.cinder.ethereum.endpoint.url}") final String endpoint) {
        return new HttpService(endpoint);
    }

    @Bean
    @Qualifier("local")
    public Web3jService provideInfuraEndpoint(@Value("${cloud.cinder.ethereum.endpoint.local-url}") final String endpoint) {
        return new HttpService(endpoint);
    }
}

@@ -864,36 +864,38 @@
 e(@Value(%22$%7B
-cloud.cinder
+io.fundrequest
 .ethereum.en
@@ -1076,20 +1076,22 @@
 (%22$%7B
-cloud.cinder
+io.fundrequest
 .eth

fix web3config