@ReactMethod
    public void issue( // TODO: alternatively we can just take a json string here and pass that directly to the ffi for librgb
            int alloc_coins,
            String alloc_outpoint,
            String network,
            String ticker,
            String name,
            String description,
            int precision,
            Promise promise) {
        try {
            final Runtime runtime = ((MainApplication) getCurrentActivity().getApplication()).getRuntime();
            final OutpointCoins allocation = new OutpointCoins((long) alloc_coins, alloc_outpoint);
            runtime.issue(network, ticker, name, description, precision, Arrays.asList(allocation), new HashSet<OutpointCoins>(), null, null);
            WritableMap map = Arguments.createMap();
            promise.resolve(map);
        } catch (Exception e) {
            promise.reject(e);
        }
    }
@ReactMethod
    public void issue(
            int alloc_coins,
            String alloc_outpoint,
            String network,
            String ticker,
            String name,
            String description,
            int precision,
            Promise promise) {
        try {
            final Runtime runtime = ((MainApplication) getCurrentActivity().getApplication()).getRuntime();
            final OutpointCoins allocation = new OutpointCoins((long) alloc_coins, alloc_outpoint);
            runtime.issue(network, ticker, name, description, precision, Arrays.asList(allocation), new HashSet<OutpointCoins>(), null, null);
            WritableMap map = Arguments.createMap();
            promise.resolve(map);
        } catch (Exception e) {
            promise.reject(e);
        }
    }
@reactmethod public void issue( int alloc_coins, string alloc_outpoint, string network, string ticker, string name, string description, int precision, promise promise) { try { final runtime runtime = ((mainapplication) getcurrentactivity().getapplication()).getruntime(); final outpointcoins allocation = new outpointcoins((long) alloc_coins, alloc_outpoint); runtime.issue(network, ticker, name, description, precision, arrays.aslist(allocation), new hashset<outpointcoins>(), null, null); writablemap map = arguments.createmap(); promise.resolve(map); } catch (exception e) { promise.reject(e); } }