Categories
Cryptocurrency Ethereum Mastering Development

We are creating a new decentralized synthetic cryptoasset codenamed XOR on Ethereum ecosystem. any suggestions will be helpfuls

We are creating a new decentralized synthetic cryptoasset codenamed XOR on Ethereum ecosystem. We call it a synthetic asset as it’s a synthesis of BTC, ETH and major altcoins and USD stablecoins. XOR lets investors and token-holders gain exposure to the BTC-Bitcoin and other cryptocurrencies while protecting them from extreme intraday price volatility and downside […]

Categories
Cryptocurrency Ethereum Mastering Development

Ubuntu 18.04: Error during compilation using Truffle: How to install the updated version

I am working on Ubuntu 18.04. I have installed Truffle from the following site: Truffle for Linux I am trying to execute an application from the following site: Petshop Tutorial I am able to create the temporary file: @lc2530hz:~/pet-shop-tutorial$ truffle unbox pet-shop You can improve web3’s peformance when running Node.js versions older than 10.5.0 by […]

Categories
Cryptocurrency Ethereum Mastering Development

How to create payable contract solidity

contract Test { constructor() public payable { } } contract MyContract { constructor() public payable { Test test = new Test(); } } How do I pay the Test contract’s constructor?

Categories
Cryptocurrency Ethereum Mastering Development

generate DAG before mining process

I have a problem when i install a private ethereum node on my pc using powershell and before mining process I need to generate DAG . the problem at this process it take very long time .. 9 hours and 10 hours and cant complete this process how to solve this problem ? Thank

Categories
Cryptocurrency Ethereum Mastering Development

How to decode a raw transaction in Python?

I have a raw_tx in hex format which I’m going to broadcast via eth_sendrawtransaction JSON-RPC method. I want to check this raw_tx by decoding it on fields: gas, gas_price, nonce, value, etc. Some years ago I already did it in JavaScript. Are there any libraries in Python which can do it? I think it’s possible […]

Categories
Bitcoin Cryptocurrency Mastering Development

Someone made a small, apparently fraudulent, transaction to my public address. What is the purpose behind it?

I have a small e-commerce site and someone made three cryptocurrency purchases just seemingly to know my public addresses as she never paid the cost of goods. The three addresses she viewed are public derived from the master public key so there shouldn’t be any security problems there afaik. She seemingly wanted to know my […]

Categories
Cryptocurrency Ethereum Mastering Development

What is a good wallet service for iOS applications

I am building an iOS app that rewards users with crypto tokens, just like Brave’s BAT or Reddit’s community points. I am trying to find a wallet service that I can integrate with my iOS app for users to receive and use their tokens. What are some good services for that? Till now, I have […]

Categories
Cryptocurrency Ethereum Mastering Development

Drizzle problem: how to connect to infura direct when user has Metamask, but isn’t connected?

I understand how to connect direct to infura if the user has no wallet at all (for displaying blockchain data when users don’t have a wallet) the problem is that I don’t know how to connect to infura when users have Metamask installed, but not logged in or connected. Drizzle is default to MM (if […]

Categories
Cryptocurrency Ethereum Mastering Development

How safe to run Lighthouse without –auto-register vs. the effects of registering more than once?

Running a Lighthouse validator presents a message to strongly consider running –auto-register the first time. The documentation also states: The –auto-register flag registers your signing key with the slashing protection database, which keeps track of all the messages your validator signs. This flag should be used sparingly, as reusing the same key on multiple nodes […]

Categories
Cryptocurrency Ethereum Mastering Development

How to infer token price from ethereum blockchain UniSwap data?

I would like (if possible) to infer a token price from the blockchain using UniSwap data. After reading the following article, I understood that it is feasible: https://blocklytics.org/blog/uniswap-api/ “The price of a given token on a given exchange can be calculated as the exchange contract’s token_balance divided by its ether_balance.” My first attempt was to […]