All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.crldev.elrondspringbootstarterreactive.ErdNetworkAutoConfiguration Maven / Gradle / Ivy

Go to download

A SpringBoot Starter solution designed to ensure easy and efficient integration with the Elrond Network using a Reactive API layer.

The newest version!
package software.crldev.elrondspringbootstarterreactive;

import software.crldev.elrondspringbootstarterreactive.config.ErdNetworkConfigSupplier;
import software.crldev.elrondspringbootstarterreactive.interactor.network.ErdNetworkInteractor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@AutoConfigureAfter(ErdInteractorAutoConfiguration.class)
public class ErdNetworkAutoConfiguration {

    @Autowired
    private ErdNetworkInteractor networkInteractor;

    @Bean
    public ErdNetworkConfigSupplier proxyNetworkConfig() {
        return new ErdNetworkConfigSupplier(networkInteractor);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy