Learn, Run, Deploy on Dogecoin Blockchain

npm install @mydogeofficial/dogecoin-js

import { DogecoinJS } from '@mydogeofficial/dogecoin-js'

async function run() {
    const dogecoin_js = await DogecoinJS.init()
    const [privKey, pubKey] = dogecoin_js.generatePrivPubKeypair()
    console.log(`generated: ${privKey} ${pubKey}`)

go get https://github.com/dogecoinfoundation/libdogecoin/tree/0.1.1-dev/wrappers/golang/libdogecoin

package libdogecoin

import (

func TestAddress(t *testing.T) {
    t.Run("keypair_gen_mainnet", func(t *testing.T) {
        priv, pub := W_generate_priv_pub_keypair(false)
        if len(priv) == 0 {
            t.Errorf("Private key does not exist.")
        if len(pub) == 0 {
            t.Errorf("Public key does not exist.")

pip3 install libdogecoin

//Start the secp256k1 context necessary for key pair generation.
//Must be started before calling any functions dealing with private or public keys

//Generate a valid private key paired with the corresponding p2pkh address.

git clone https://github.com/qlpqlp/libdogecoin-php.git

require_once 'libdogecoin-php/libdogecoin-bind.php';

// Simple exemple for generatePrivPubKeypair
$result = $LibDogecoin->generatePrivPubKeypair();
echo "This is my Private Key: " . $result->private;
echo "This is my Public Key: ". $result->public;