src/main/java/com/wavesplatform/wavesj/Node.java
public String compileScript(String script) throws IOException {
        if (script == null || script.isEmpty()) {
            return null;
        }
        HttpPost request = new HttpPost(uri.resolve("/utils/script/compile"));
        request.setEntity(new StringEntity(script));
        return parse(exec(request), "script").asText();
    }
public String compileScript(String script) throws IOException {
        if (script == null || script.isEmpty()) {
            return null;
        }
        HttpPost request = new HttpPost(uri.resolve("/utils/script/compile"));
        request.setEntity(new StringEntity(script));
        return parse(exec(request), "script").asText();
    }
public String compileScript ( String script ) throws IOException { if ( script == null || script . isEmpty ( ) ) { return null ; } HttpPost request = new HttpPost ( uri . resolve ( "/utils/script/compile" ) ) ; request . setEntity ( new StringEntity ( script ) ) ; return parse ( exec ( request ) , "script" ) . asText ( ) ; }
Compiles a script.

@param script the script to compile
@return compiled script, base64 encoded
@throws IOException if the script is not well formed or some other error occurs
Compiles a script .