Search in sources :

Example 1 with ResourceObj

use of org.starcoin.bean.ResourceObj in project starcoin-java by starcoinorg.

the class StarcoinClientSample method testGetResource.

@Test
public void testGetResource() {
    ResourceObj resourceObj = ResourceObj.builder().moduleAddress("0xf8af03dd08de49d81e4efd9e24c039cc").moduleName("MyCounter").resourceName("Counter").build();
    String rst = starcoinClient.getResource(sender, resourceObj);
    System.out.println(rst);
}
Also used : ResourceObj(org.starcoin.bean.ResourceObj) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 ResourceObj (org.starcoin.bean.ResourceObj)1