protected function createBatchAddresses($start, $count, $keyIndex) {
        $addresses = array();

        for ($i = 0; $i < $count; $i++) {
            //create a path subsequent address
            $path = (string)WalletPath::create($keyIndex, $_chain = 0, $start+$i)->path()->publicPath();
            list($address, $redeem, $witness) = $this->createAddress($path);
            $addresses[$address] = array(
                //'address' => $address,
                'redeem' => $redeem,
                'witness' => $witness,
                'path' => $path
            );

            if ($this->debug) {
                echo ".";
            }
        }

        return $addresses;
    }
protected function createBatchAddresses($start, $count, $keyIndex) {
        $addresses = array();

        for ($i = 0; $i < $count; $i++) {
            //create a path subsequent address
            $path = (string)WalletPath::create($keyIndex, $_chain = 0, $start+$i)->path()->publicPath();
            list($address, $redeem, $witness) = $this->createAddress($path);
            $addresses[$address] = array(
                //'address' => $address,
                'redeem' => $redeem,
                'witness' => $witness,
                'path' => $path
            );

            if ($this->debug) {
                echo ".";
            }
        }

        return $addresses;
    }
protected function createBatchAddresses ( $ start , $ count , $ keyIndex ) { $ addresses = array ( ) ; for ( $ i = 0 ; $ i < $ count ; $ i ++ ) { //create a path subsequent address $ path = ( string ) WalletPath :: create ( $ keyIndex , $ _chain = 0 , $ start + $ i ) -> path ( ) -> publicPath ( ) ; list ( $ address , $ redeem , $ witness ) = $ this -> createAddress ( $ path ) ; $ addresses [ $ address ] = array ( //'address' => $address, 'redeem' => $ redeem , 'witness' => $ witness , 'path' => $ path ) ; if ( $ this -> debug ) { echo "." ; } } return $ addresses ; }
create a batch of multisig addresses

@param $start
@param $count
@param $keyIndex
@return array
create a batch of multisig addresses