Browser&Wallet_EN.md - U-Network/UNetwork GitHub Wiki
Blockchain browser and wallet usage documentation
Deployment
- First, pull the code from github
$ git clone [email protected]:U-Network/explorer.git
- Install npm dependency
$ cd ./U-Network/explorer
$ npm install
- Modify the browser configuration file
Set the parameters of
rpcUrl
andipcFile
$ vim ./U-Network/explorer/app/config.json
// MacOS reference configuration information is as follows
{
"rpcUrl" : "http://127.0.0.1:12321",
"ipcFile" : "~/Library/.ethereum/unetwork.ipc"
}
- Run the browser locally
$ cd ./U-Network/explorer
$ npm start
> [email protected] start /home/wwwroot/explorer
> node server.js
app listening on port 8000!
Wallet usage
-
Enter the blockchain browser page
http://localhost:12321
-
Create your own account,
- Click
Create New Wallet
- Set your password, and click
Submit to Create
- Click
Download Keystore File(UTC/JSON)
to save file - Save the private key
- Click
-
Login to wallet
- Click
login my wallet
- Two ways of login:
- Click “select file” to choose the wallet file downloaded previously, and enter password to login
- Enter the saved private key to login
- Click
-
Transfer
- Enter target address to
To Address
- Enter amount at
Amount to Send
and send
- Enter target address to
Your token for free
-
Enter the blockchain browser page
http://localhost:12321
-
Login to wallet (refer to previous passage for details)
-
Generate token
- Click
Generate My Token
and set parameters as required - Wait for block confirmation of the transaction
- Once created, you can see the tokens you generated in the wallet token list
- Click
-
If you receive the token from another party, make the token appear in the wallet
- Obtain the contract address of the token
- Enter the contract address at
Get Balance of Token
- After completion, you can view the token in the wallet token list