Packages

object Web3JScala

Web3J builders and stateless methods.

Source
Web3JScala.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Web3JScala
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. lazy val cmd: Cmd
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def fromHttp(url: String = "http://localhost:8545"): Web3j

    See also

    See Management APIs

  11. def fromInfura(token: String, network: InfuraNetwork = ROPSTEN): Web3j

    network

    defaults to the Ropsten test network

    See also

    See Installing Ethereum Geth and your first smart contract

    See the Ethereum Ropsten Faucet

    See Using Infura with web3j

  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. 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]

  19. def observe[T](observable: Observable[T])(fn: (T) ⇒ Unit): Unit

    Invokes fn on all elements observed from the given Observable[T]

  20. 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
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toCamelCase(s: String): String
    Attributes
    protected
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. def verifyConnection(web3j: Web3j): Boolean

    Verify web3j is connected to a JSON-RPC endpoint

  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  28. 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 and abi 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 and abi 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

Inherited from AnyRef

Inherited from Any

Ungrouped