https://github.com/distributed-lab/nero/blob/main/docs/paper/nero.pdf
یه سورس جذاب برای Bitvm2
تو پرانتز هم بگم پسر لمپورت سیگنیچر در عین سادگی چه قدر جذابههه، قبل از bitvm برین این مدل امضا رو یه چک کنید
https://en.wikipedia.org/wiki/Lamport_signature
یه سورس جذاب برای Bitvm2
تو پرانتز هم بگم پسر لمپورت سیگنیچر در عین سادگی چه قدر جذابههه، قبل از bitvm برین این مدل امضا رو یه چک کنید
https://en.wikipedia.org/wiki/Lamport_signature
GitHub
nero/docs/paper/nero.pdf at main · distributed-lab/nero
Practical implementation of the BitVM2 protocol. Contribute to distributed-lab/nero development by creating an account on GitHub.
🔥3
Hamid list
https://telegram.org/blog/fullscreen-miniapps-and-more
پشمام حقیقتا
p2p exchange , ...
فقط اون قسمت geolocation اش 🔥🔥💦💦
p2p exchange , ...
فقط اون قسمت geolocation اش 🔥🔥💦💦
🤔1
Forwarded from ترجمهی مقالههای بیتکوین
جرِمی روبین یه روش پیشنهاد کرده برای اجرای پیمانها (Covenants) در بیتکوین بدون نیاز به نرمشاخه (Soft Fork) با بکارگیری یه اوراکل و ماشین مجازی بیتکوین (BitVM)
🔗 لینک مقاله
کانال ترجمهی مقالات بیتکوین
@bitcoinarticlesfarsi
🔗 لینک مقاله
کانال ترجمهی مقالات بیتکوین
@bitcoinarticlesfarsi
👍7
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.0;
contract ProofOfWorkFreelance {
/// @dev Structure describing order for finding the PoW hash
/// @param data Set of bytes to find the PoW salt for
/// @param targetHash Number that the hashed data must be equal to or less than
/// @param reward Amount of ether that will be sent to the address that find the PoW salt
/// @param deadline The time until which the order will be active
struct Order {
bytes data;
bytes32 targetHash;
uint256 reward;
uint256 deadline;
}
/// @notice Mapping from the order id to the Order structure
mapping (uint256 => Order) orders;
/// @notice Serial number of the last added order to the `orders` mapping
uint256 currentOrder;
/// @notice The address with permission to create orders
address owner;
constructor() {
owner = msg.sender;
}
/// @notice Create a new order for PoW hash finding
function makeOrder(Order memory _order) external payable {
require(msg.sender == owner);
require(_order.reward == msg.value);
require(_order.deadline >= block.timestamp);
orders[currentOrder] = _order;
currentOrder++;
}
/// @notice Cancel the order if it has not been executed before the deadline
function cancelOrder(uint256 _index) external {
require(msg.sender == owner);
Order memory order = orders[_index];
require(order.deadline < block.timestamp, "Order is still active");
delete orders[_index];
(bool success, ) = msg.sender.call{value: order.reward}("");
require(success);
}
/// @notice Provide the PoW salt and get an award
function fulfillOrder(uint256 _index, bytes memory _salt) external {
Order memory order = orders[_index];
require(order.deadline >= block.timestamp);
bytes32 hash = keccak256(abi.encodePacked(order.data, _salt));
require(hash <= order.targetHash, "PoW hash doesn't reach the target value");
delete orders[_index];
(bool success, ) = msg.sender.call{value: order.reward}("");
require(success);
}
}
اگه کسی تو ۵ ساعت اینده مشکل این کد و روش حلش رو بگه یه ۵۰ دلار هدیه میدم 😁
راهنمایی ( محدودیت پاسخ) : روش حلتون نباید یه تراکنش جدید اضافه کنه و توی یک تراکنش مشکلی که پیدا کردین باید حل بشه
انصافا اول فکر کنید بهش بعد برین سراغ llm
🔥3
Hamid list
// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity ^0.8.0; contract ProofOfWorkFreelance { /// @dev Structure describing order for finding the PoW hash /// @param data Set of bytes to find the PoW salt for /// @param targetHash Number…
سوال نکته داره، به کل پروتوکل اتریوم فکر کنید نه فقط کدی که نوشته شده
👍2
Forwarded from Ebrahim
بنظر من هم front running در فانکشن fulfillOrder هست. البته برای فیکسش میشن هشی که داریم محاسبه میکنیم بر اساس msg.sender هم باشه. اینطوری اگر salt رو هم بفرستیم ترکیب salt و msg.sender فقط برای فرستنده اصلی درست در میاد.
abi.encode(order.data,_salt,msg.sender)ترکیب دو تای بالا جواب درست هستش 😁🔥🔥
میتونید برید درباره
PBS
Block Builder
MEV Searcher
ePBS
Inclusion List
Braid
هم بخونید که اینده این داستان ها رو هم درجریانش قرار بگیرین
https://censorship.pics/
میتونید برید درباره
PBS
Block Builder
MEV Searcher
ePBS
Inclusion List
Braid
هم بخونید که اینده این داستان ها رو هم درجریانش قرار بگیرین
https://censorship.pics/
censorship.pics
Ethereum Censorship Dashboard
Selected comparative visualizations on censorship on Ethereum.
👍4
https://x.com/n3wbateni/status/1866407219610173614
اینم رشتو جالبی شدش
مسئله اینه که اگه چند ماه دیگه کامپیتوتر های کوانتومی یهو رشد کنن چه شرایطی توی بیتکوین پیش میاد و راهکار های احتمالی چی میتونه باشه
اینم رشتو جالبی شدش
مسئله اینه که اگه چند ماه دیگه کامپیتوتر های کوانتومی یهو رشد کنن چه شرایطی توی بیتکوین پیش میاد و راهکار های احتمالی چی میتونه باشه
❤3
How zero confirmation could work on Ethereum with using eignlayer and pbs/ePBS
👍2
Hamid list
https://en.wikipedia.org/wiki/Erasure_code خلاصه اش میشه این: فرض کنید من یه دیتا دارم مثل «بلاکچین» و این دیتا رو تبدیل میکنم به یه نمودار چطوری؟ مثلا میام از unicode ها استفاده میکنم ۱ => ب => ۳۲ ۲=> ل => ۵۷ ۳ => ا => ۶۸ ۴ => ک => ۷۸ ۵ => چ => ۸۸ ۶…
هیچ وقت نمیدونی، نقطه ها کجا قراره بهم برسن ( چیز هایی که میخونی و یاد میگیری)
ولی وقتی میرسن خیلی واضح میشه
وقتی این رو میخوندم، هیچ ایده نداشتم کجا به دردم قراره بخوره ولی امروز بهم کمک کرد برای یه مسئله جذاب و پیچیده یه راهکار ساده طراحی کنم 🔥😁
ولی وقتی میرسن خیلی واضح میشه
وقتی این رو میخوندم، هیچ ایده نداشتم کجا به دردم قراره بخوره ولی امروز بهم کمک کرد برای یه مسئله جذاب و پیچیده یه راهکار ساده طراحی کنم 🔥😁
👍5🆒1
Forwarded from RadNi
https://x.com/0xradni/status/1832110889933402205?s=46
شاید جالب باشه این دیدگاه هم
شاید جالب باشه این دیدگاه هم
Forwarded from Einsteineum
* cross-L2, secure from users & wallet devs, private transfers, store private data, secure chain access & keystores
https://vitalik.eth.limo/general/2024/12/03/wallets.html
https://vitalik.eth.limo/general/2024/12/03/wallets.html
❤4
توی Solidity:
single-dimensional array >>> multi-dimensional array
به trade off هاش می ارزه
https://en.wikipedia.org/wiki/0x88
cooking something
single-dimensional array >>> multi-dimensional array
به trade off هاش می ارزه
https://en.wikipedia.org/wiki/0x88
cooking something
Wikipedia
0x88
square-centric method of representing the chess board in computer chess programs
👍5🤯1
Forwarded from Nobitex | نوبیتکس
Please open Telegram to view this post
VIEW IN TELEGRAM
❤8👍1
Forwarded from Ziya