Search in sources :

Example 1 with RepositoryFactoryOkHttpImpl

use of io.nem.symbol.sdk.infrastructure.okhttp.RepositoryFactoryOkHttpImpl in project nem2-sdk-java by nemtech.

the class TestnetTester method main.

public static void main(String[] args) throws Exception {
    String baseUrl = "http://api-01.us-west-2.0.10.0.x.symboldev.network:3000";
    // String baseUrl = "http://api-01.us-west-1.0.10.0.x.symboldev.network:3000";
    // String baseUrl = "http://api-01.ap-northeast-1.0.10.0.x.symboldev.network:3000";
    RepositoryFactory repositoryFactory = new RepositoryFactoryOkHttpImpl(baseUrl);
    sendVotingKey2(repositoryFactory);
}
Also used : RepositoryFactoryOkHttpImpl(io.nem.symbol.sdk.infrastructure.okhttp.RepositoryFactoryOkHttpImpl) RepositoryFactory(io.nem.symbol.sdk.api.RepositoryFactory)

Aggregations

RepositoryFactory (io.nem.symbol.sdk.api.RepositoryFactory)1 RepositoryFactoryOkHttpImpl (io.nem.symbol.sdk.infrastructure.okhttp.RepositoryFactoryOkHttpImpl)1