RPC CONFIG
Public nodes can skip the first step and directly pull the project configuration.
Homebrew
Install homebrew if you don't already have it, then:
$ brew install git
1 RPC configuration
1 Download and install Dogecoin Core https://dogecoin.com/wallets/ , try to complete the synchronization, and then exit
2 Set up the configuration file
Then create dogecoin.conf in the C:\Users\your username\AppData\Roaming\Dogecoin\ folder. If there is no new one,
server=1 rpcuser=doge rpcpassword=wow rpcport=22555
Wait
.\dogecoin-qt.exe -conf=C:\Users\\AppData\Roaming\Dogecoin\dogecoin.conf
for a while until the complete startup is successful.
3 tests
In the folder where you installed it, such as G:\Dogecoin\daemon
dogecoin-cli help
dogecoin-cli getconnectioncount
dogecoin-cli getblockchaininfo
2 Configure .env to open the project folder
NODE_RPC_URL=http://127.0.0.1:22555/ #NODE_RPC_URL= NODE_RPC_USER=doge NODE_RPC_PASS=wow TESTNET=false FEE_PER_KB=6000000
Download dependency files
npm i
3 Create a new wallet
Copy the wallet address and send money to it
node . wallet new
4 Confirm arrival
If 502 is reported, the execution is repeated until the amount is displayed.
node . wallet sync
5 new
Remember to change the address
node . drc-20 mint DMVxi2NXhJVDzHx2kXKUmadjwidyChA7Eu fiwb 50
6 Fund transfer
Remember to change the address
node . wallet send DMVxi2NXhJVDzHx2kXKUmadjwidyChA7Eu 100000000
Error resolution
Not enough priority
node . wallet split 0
Last updated