Author

Topic: 3DPass (P3D) distributed mining | new algo | CPU oriented, ASIC-resistant (Read 571 times)

jr. member
Activity: 159
Merit: 5
Hey everyone,

I've got some exciting news to share!

The latest release opened up the possibility for Validators to join freely: https://github.com/3Dpass/3DP/releases/tag/v28
Validators represent the second layer of Nodes in Proof of Scan: https://3dpass.org/features#scanproof-network-structure

--

Explore how to set up Validator: https://3dpass.org/mainnet#validator








Can you still install node? Can mining be done? I like the project very much, I wish I had discovered it earlier Smiley


Sure, you can. Mining is accessible.
newbie
Activity: 62
Merit: 0
Hey everyone,

I've got some exciting news to share!

The latest release opened up the possibility for Validators to join freely: https://github.com/3Dpass/3DP/releases/tag/v28
Validators represent the second layer of Nodes in Proof of Scan: https://3dpass.org/features#scanproof-network-structure

--

Explore how to set up Validator: https://3dpass.org/mainnet#validator








Can you still install node? Can mining be done? I like the project very much, I wish I had discovered it earlier Smiley
jr. member
Activity: 159
Merit: 5
Hey everyone,

I've got some exciting news to share!

The latest release opened up the possibility for Validators to join freely: https://github.com/3Dpass/3DP/releases/tag/v28
Validators represent the second layer of Nodes in Proof of Scan: https://3dpass.org/features#scanproof-network-structure

--

Explore how to set up Validator: https://3dpass.org/mainnet#validator





legendary
Activity: 1128
Merit: 1028
jr. member
Activity: 159
Merit: 5
i mined this coin at the start and now my coin are blocked. i dont know what to do to unlock my coins.

Dear friends,

We have just upgraded the network with new PoW component standing for distributed mining, which is CPU oriented and ASIC resistant, as well. Feel free to pick up detail in the WP: https://github.com/3Dpass/whitepaper/blob/main/3DPass_white_paper_v2.pdf
---

Github: https://github.com/3Dpass/3DP

Guidelines:
Linux and MacOS: https://3dpass.org/mainnet#linux-mac
Docker (Win, Linux, any system): https://3dpass.org/mainnet#docker

Mining leaders board: https://www.3dpassmining.info
Network telemetry: http://telemetry.3dpscan.io

Feel free to participate.
Let me know about any question, I'd be happy to answer.




Use these simple guidelines to unlock: https://3dpass.org/mainnet#unlock
copper member
Activity: 24
Merit: 0
i mined this coin at the start and now my coin are blocked. i dont know what to do to unlock my coins.

Dear friends,

We have just upgraded the network with new PoW component standing for distributed mining, which is CPU oriented and ASIC resistant, as well. Feel free to pick up detail in the WP: https://github.com/3Dpass/whitepaper/blob/main/3DPass_white_paper_v2.pdf
---

Github: https://github.com/3Dpass/3DP

Guidelines:
Linux and MacOS: https://3dpass.org/mainnet#linux-mac
Docker (Win, Linux, any system): https://3dpass.org/mainnet#docker

Mining leaders board: https://www.3dpassmining.info
Network telemetry: http://telemetry.3dpscan.io

Feel free to participate.
Let me know about any question, I'd be happy to answer.



legendary
Activity: 1128
Merit: 1028
I'd like to share a few tricks that might help someone adjust the miner velocity to the Node performance, which wasn't apparent at the beginning.

That's what I figure out dealing with that during my experiment:
--
Embedded miner:

I changed the limits in the miner.js this way:
https://github.com/3Dpass/3DP/blob/1c696ee89ce4acc3274209aab8bc7ec597bfc4f5/miner.js#L17

Code:
const MIN_INTERVAL = 100;
const MAX_INTERVAL = 10000;
const ADJUSTMENT_PERCENT = 10;

 If you need to load your machine even greater,  just decrease the MIN_INTERVAL value to 10 mSec/object or smaller. Like this:

Code:
const MIN_INTERVAL = 10;
const MAX_INTERVAL = 10000;
const ADJUSTMENT_PERCENT = 10;

Making adjustments on the max limit (ex. MAX_INTERVAL = 100000 sets up the miner velocity at 100 sec/object)

---
Another miner

In order to adjust this good old miner https://github.com/3Dpass/miner
Just set up fix interval manually:
 
Code:
yarn miner --interval 10

Could you share any result? Increasing on CPU performance can help to some extent, but there is a memory bottleneck..


It's not as impressive, ~ x1.5, I think. What is the purpose for the bottleneck to exist, btw?
jr. member
Activity: 159
Merit: 5
I believe, this information about the profitability might be useful for many. So, I'll repost it here:

Currently, a 3900x makes about 4-600 P3D per day, roughly $1.50 before power.

https://www.3dpassmining.info/Detailed?nodeid=0x06ddddbf01ce26f656f16559e64dbfe93571bbb4bfb34b5a71abf0af868dcf45



jr. member
Activity: 159
Merit: 5
I'd like to share a few tricks that might help someone adjust the miner velocity to the Node performance, which wasn't apparent at the beginning.

That's what I figure out dealing with that during my experiment:
--
Embedded miner:

I changed the limits in the miner.js this way:
https://github.com/3Dpass/3DP/blob/1c696ee89ce4acc3274209aab8bc7ec597bfc4f5/miner.js#L17

Code:
const MIN_INTERVAL = 100;
const MAX_INTERVAL = 10000;
const ADJUSTMENT_PERCENT = 10;

 If you need to load your machine even greater,  just decrease the MIN_INTERVAL value to 10 mSec/object or smaller. Like this:

Code:
const MIN_INTERVAL = 10;
const MAX_INTERVAL = 10000;
const ADJUSTMENT_PERCENT = 10;

Making adjustments on the max limit (ex. MAX_INTERVAL = 100000 sets up the miner velocity at 100 sec/object)

---
Another miner

In order to adjust this good old miner https://github.com/3Dpass/miner
Just set up fix interval manually:
 
Code:
yarn miner --interval 10

Could you share any result? Increasing on CPU performance can help to some extent, but there is a memory bottleneck..
legendary
Activity: 1128
Merit: 1028
I'd like to share a few tricks that might help someone adjust the miner velocity to the Node performance, which wasn't apparent at the beginning.

That's what I figure out dealing with that during my experiment:
--
Embedded miner:

I changed the limits in the miner.js this way:
https://github.com/3Dpass/3DP/blob/1c696ee89ce4acc3274209aab8bc7ec597bfc4f5/miner.js#L17

Code:
const MIN_INTERVAL = 100;
const MAX_INTERVAL = 10000;
const ADJUSTMENT_PERCENT = 10;

 If you need to load your machine even greater,  just decrease the MIN_INTERVAL value to 10 mSec/object or smaller. Like this:

Code:
const MIN_INTERVAL = 10;
const MAX_INTERVAL = 10000;
const ADJUSTMENT_PERCENT = 10;

Making adjustments on the max limit (ex. MAX_INTERVAL = 100000 sets up the miner velocity at 100 sec/object)

---
Another miner

In order to adjust this good old miner https://github.com/3Dpass/miner
Just set up fix interval manually:
 
Code:
yarn miner --interval 10
newbie
Activity: 105
Merit: 0
still quite profitable to mine, zen 9 7950xd3 yields around 1000 p3d a day
jr. member
Activity: 159
Merit: 5
I'd like to share an option, which allows to generate your keys in one command by script:

New account

Generate new account and import all of your keys (Mining key, GRANDPA key and ImOnline key) at once with the keygen.sh script. Save your Secret Seed phrase in a safe place:

Code:
cd 3DP
sh keygen.sh
                   
Existing account

Have you already had an account, use the keygen_seed.sh script to generate the keys out of your Secret Seed phrase and import them all at once.
Put your Secret Seed phrase into the ~/3DP/keygen_seed.sh file like this:

Code:
#! /bin/bash
# A keyset will be generated out of the seed phrase below
MEMO_SEED="PUT YOUR MEMO SEED HERE"
 
                
Save the the keygen_seed.sh and execute the script:

Code:
sh keygen_seed.sh

--

Explore the detail: https://3dpass.org/mainnet#linux-mac-keys
jr. member
Activity: 159
Merit: 5
There is an option to speed up syncing process by starting the node from the latest blockchian db snapshot provided by the community members for newcomers. Follow the instruction below to start the node from the latest one:

Linux or Mac OS:

- The blockchain db location: ~/3dp-chain/chains/3dpass/db
- Download and unpack the latest `db` from either repo 1: https://github.com/Snezhnaya-Fatui/p3d-mainnet-db  or repo 2: https://github.com/xchainw/p3d-db/releases
- Replace the existing `db` folder with the one you just downloaded
- Restart the Node

Docker:

- The blockchain db location: ./3DP/data/chain/chains/3dpass/db
- Download and unpack the latest `db` from either repo 1: https://github.com/Snezhnaya-Fatui/p3d-mainnet-db  or repo 2: https://github.com/xchainw/p3d-db/releases
- Replace the existing `db` folder with the one you just downloaded
- Restart the Node

jr. member
Activity: 159
Merit: 5
Been mining with 2-core VPS for ~24 h and still can hit a block every 6 hours in average.

Is GPU completely disabled for this algo? 

It is slowed down to the speeds accessible for CPUs. So, there is an option of "CPU + GPU" possible to be unfolded in the future. It's probably going to take some research to figure out whether it worth it or not to develop.
newbie
Activity: 3
Merit: 0
3dpass刚刚升级了网络,新增了代表分布式挖矿的新PoW组件。该组件专为CPU设计,具备抗击FPGA和ASICs的特性.可以在VPS上或pc挖矿上进行挖矿,经过实测,一个双核VPS在24小时内可以挖掘两个区块

3dpass支持Linux,MAC OS上进行挖矿,并且可以在任何系统上通过全平台的docker进行挖矿(Windows;Linux;Mac OS等) 详见官方教程
官方linux教程:https://www.3dpass.org/mainnet#linux-mac
官方docker教程:https://3dpass.org/mainnet#docker

本文主要是Linux 挖矿教程

设置完整节点

1. 打开终端并从 GitHub 克隆节点:

git clone https://github.com/3Dpass/3DP.git
cd 3DP
                   
2. 按照https://github.com/3Dpass/3DP#getting-started-with-3dpass-node 指南自行编译节点源代码或从https://github.com/3Dpass/3DP/releases 下载二进制文件
注意!如果选择下载预构建的 poscan-consensus,请将二进制文件放入./target/release目录内
建议直接下载二进制文件使用,因为编译可能存在系统缺少环境依赖等问题.导致失败。如果编译报错可以把大部分环境依赖安装一遍(文末)。


3.生成您的挖矿账户: (注意!请保存好 Secret seed,这12个单词就是你的助记词,用于将来钱包恢复和转账等)

./target/release/poscan-consensus generate-mining-key --base-path ~/3dp-chain/ --chain mainnetSpecRaw.json
                   

输出将会像这样:   
Public key: 0x48a04c1639efea00fabef12e9425906cc3363449edcf876483952a62a5c16a77
Secret seed: ticket slam leisure runway people pretty tomato human media axis typical brick
Address: d1DtwdMt3jdZBnntqKjFa2ne6MQDenJ9ZF3JVjQUY5RvRPfNu

4.在密钥库中注册您的挖矿密钥:

./target/release/poscan-consensus import-mining-key '你的seed phrase' --base-path ~/3dp-chain/ --chain mainnetSpecRaw.json

输出将会像这样:   
Public key: 0x48a04c1639efea00fabef12e9425906cc3363449edcf876483952a62a5c16a77
Secret seed: ticket slam leisure runway people pretty tomato human media axis typical brick
Address: d1DtwdMt3jdZBnntqKjFa2ne6MQDenJ9ZF3JVjQUY5RvRPfNu   
           
7.使用以下命令启动节点:

./target/release/poscan-consensus --base-path ~/3dp-chain/ --chain mainnetSpecRaw.json --name MyNodeName --validator --telemetry-url "wss://submit.telemetry.3dpscan.io/submit 0" --author 填入你的Public key  --threads 2 --no-mdns
              
--author 是您挖矿账户的公钥,也就是Public key .--threads "是您准备用于挖矿的线程数("--threads 2 "表示您将利用 2 个线程进行挖矿)
成功启动节点后会开始同步区块,如果从1开始的话同步时间大约需要7天。同步到最新区块后才能开始挖矿...............
也可以下载由xchainw提供的区块数据文件,只需将其解压放入./3dp-chain/chains/3dpass/db 目录中。可以大大的缩短同步时间,仅需要数小时就能够同步到最新区块
下载地址:https://github.com/xchainw/p3d-db/releases

                 

准备挖矿


确保您已设置好完整节点,并继续以下步骤:
1.安装bun
 
curl -fsSL https://bun.sh/install | bash

source /root/.bashrc


2. 安装 miner:

cd 3DP
bun install
                   

3.运行矿工,开始挖矿(节点必须在运行中):

bun miner.js --host 127.0.0.1 --port 9933
                   


适用于ubuntu22的常用的环境依赖
apt-get install -y build-essential cmake libgmp-dev libnuma-dev ocl-icd-libopencl1 gcc make libhugetlbfs-dev libc-dev libc6-dev build-essential g++  git clang curl libssl-dev llvm libudev-dev libstdc++-12-dev

如果遇到任何问题,可以加中文qq群:216688322 或官方discord https://discord.com/invite/u24WkXcwug 咨询,
3dpass官网:https://www.3dpass.org/
Github: https: //github.com/3Dpass/3DP
挖矿爆块排行:https://www.3dpassmining.info/
discord https://discord.com/invite/u24WkXcwug

交易所
https://xeggex.com/market/P3D_USDT
https://www.mexc.com/zh-CN/exchange/P3D_USDT
https://www.coinex.com/en/exchange/p3d-usdt
https://www.xt.com/zh-CN/trade/p3d_usdt
legendary
Activity: 1128
Merit: 1028
Been mining with 2-core VPS for ~24 h and still can hit a block every 6 hours in average.

Is GPU completely disabled for this algo? 
newbie
Activity: 4
Merit: 0
Great work! I built it on macOS and it ran fine and mined blocks successfully Grin
legendary
Activity: 1901
Merit: 1024
While the diff is very small . 2.5K nethash its quite profitable to mine, tnx

Will only point to the snapshot which can be used hare as it need quite a lot to sync from block 0
https://github.com/xchainw/p3d-db/releases

the 5950x atm is generating some 1500-2000 3dp daily, you can use --threads with the node to set your as cpu load will go to node and not to the miner as node is validating object, just take care about miner with the --interval value to now overload the node
jr. member
Activity: 159
Merit: 5
Dear friends,

We have just upgraded the network with new PoW component standing for distributed mining, which is CPU oriented and ASIC resistant, as well. Feel free to pick up detail in the WP: https://github.com/3Dpass/whitepaper/blob/main/3DPass_white_paper_v2.pdf
---

Github: https://github.com/3Dpass/3DP

Guidelines:
Linux and MacOS: https://3dpass.org/mainnet#linux-mac
Docker (Win, Linux, any system): https://3dpass.org/mainnet#docker

Mining leaders board: https://www.3dpassmining.info
Network telemetry: http://telemetry.3dpscan.io

Feel free to participate.
Let me know about any question, I'd be happy to answer.


Jump to: