PHP code example of muvon / base58-codec

1. Go to this page and download the library: Download muvon/base58-codec library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

muvon / base58-codec example snippets


Base58Codec::checkEncode('cd1400c7e9cd6e20a157750ce9172f6a8775112648e56e1aafc148496a513ed115f0af');
// = 3JuEUFpEgcrr2h3RkoyUwQo4SVvo3jQpFBS672mw1ffRh39y2gC7sM

Base58Codec::encode('c7e9cd6e20a157750ce9172f6a8775112648e56e1aafc148496a513ed115f0af');
//  = 2z41adftbuTvXzkxxhhg8cFvZLKMzFv7dHgLFj8EeLEF8KvE9yRGqZjJDwyqPPZ7KKapu9rTPrbMeJFeDtVub4AZ