object Web3JScala
- Alphabetic
- By Inheritance
- Web3JScala
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- lazy val cmd: Cmd
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromHttp(url: String = "http://localhost:8545"): Web3j
- See also
See Management APIs
-
def
fromInfura(token: String, network: InfuraNetwork = ROPSTEN): Web3j
- network
defaults to the Ropsten test network
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
observe[T](n: Int)(observable: Observable[T])(fn: (T) ⇒ Unit): Unit
Only runs fn on the first n elements observed from the given Observable[T]
-
def
observe[T](observable: Observable[T])(fn: (T) ⇒ Unit): Unit
Invokes fn on all elements observed from the given Observable[T]
-
def
solc(solCFileName: String, outputDirectory: String = "abi/"): String
Compile the smart contract.
Compile the smart contract. Note that
solc
generates camelCase names from snake_case names.solc --bin --abi --optimize --overwrite -o abi/ src/test/resources/basic_info_getter.sol
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toCamelCase(s: String): String
- Attributes
- protected
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
verifyConnection(web3j: Web3j): Boolean
Verify web3j is connected to a JSON-RPC endpoint
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
wrapAbi(filename: String, packageName: String = "com.micronautics.solidity", inputDirectory: String = "abi/", outputDirectory: String = "abiWrapper/"): String
Generate the wrapper code from the compiled smart contract using web3j’s command-line tools The
bin
andabi
files are both read from the same directory, specified by-o
.Generate the wrapper code from the compiled smart contract using web3j’s command-line tools The
bin
andabi
files are both read from the same directory, specified by-o
.bin/web3j solidity generate abi/basic_info_getter.bin abi/basic_info_getter.abi -o abiWrapper/ -p com.micronautics.solidity