Tarik EN-NAKDI
  • Member for 4 years, 2 months
  • Last seen more than 1 year ago
Loading External data (in Excel/CSV) to blockchain engine
1 votes

it is better to use JSON files to make your life easier since ethereum only deals with JSON files using RPC calls. if you can put your data in JSON files then I can show you how it it done. Think ...

View answer
How can I check the provider status ? if testRPC connected or not?
Accepted answer
1 votes

Here is the answer for that issue: router.get('/cbn/provider-status', ctx => { ctx.body = {"status":web3.isConnected()} })

View answer
To run a dapp is it required to download the full blockchain?
1 votes

I personally used Metamask with chrome to make a simple payment without having a Dapp. The fact you use Metamask doesn't make your application decentralized but in fact, you are only using a 3rd party ...

View answer
How to declare a fix bytes type more than bytes32?
0 votes

You can use a string type instead of bytes32.

View answer
How to deploy a contract using metamask and the callback?
0 votes

you can always use an event listener for that. here is a proper example: https://medium.com/@marcusmolchany/the-easiest-way-to-deploy-smart-contracts-on-ethereum-65f69ac9a627

View answer
How to use a date time from an API to prevent contract interactions if the date is a string?
0 votes

You may think about using a timestamp to control the date of each Transaction. here is a similar topic about that: Solidity: Is there a way to get the timestamp of a transaction that executed?

View answer
Web3.js Get Contract Abi Knowing Only Contract Address
0 votes

you can always solc then call the abi from a file or directly. source : Solcjs

View answer
Trying to compile example code from pyethapp tutorial
0 votes

you need to import the solidity version. example : pragma solidity ^0.4.18;

View answer
How to access testRPC which is on a server
0 votes

I am using Ubuntu server to install testRPC and run it using putty in a VMware (virtual machine) and then I give it an internal IP address and external ip address for security reasons. To Access it, ...

View answer
How Listen to an smart contract event using web3 and angular?
0 votes

I think you will find the full answer to your question in this course : https://www.udemy.com/blockchain-ninja-develop-ethereum-dapp-with-angular/ but in my opinion you can start by using an Event ...

View answer
web3 deprecated - web3/ethjs etc. difference
0 votes

Well smart contracts use events to communicate with the frontend. But, I suggest you start with the basics so learn how to call metamask using a button : https://github.com/MetaMask/TipButton/blob/...

View answer
Base fee exceeds gas limit on connecting to local instance of testrpc on Remix IDE
Accepted answer
0 votes

Here is the solution: you need to initialize your account in Remix with 100 ether (100eth) to begin with. Then I also changed my testrpc version to 4.1.3 and it worked! do : npm install -g ethereumjs-...

View answer