I'm currently using 0.2x.x version of Web3 Javascript API. I deployed my custom ERC20 token by creating smart contract in solidity (on REMIX IDE). I installed the MetaMask and had a test on https://wallet.ethereum.org/ to send some custom ERC t...
I,m trying to write smart contracts for Waves Platform, as far as I understood, there are no smart contracts like in Ethereum, there are smart accounts and smart assets, which can validate transactions, but how can I create that smart contracts and a...
I'm trying to make a little web app (just for learning purposes), where I can push on a button, and it will send some bitcoin from (my own) bitcoin wallet A to bitcoin wallet B. I've managed to learn some stuff about bitcoin, the blockchain,...
First I create HD Wallet using BIP32 using mnemonics.  Now I want to generate new child addresses with private key using xpub & xpriv for every receive.  Then, for example, I received BTC in 2 child addresses, i.e. 3 BTC & 2 BTC.  Now, I have...
To further extend my understanding of bitcoin I would like to try and build my own SPV-based wallet using the Ionic] (cordova) mobile app framework (hybrid-app).  Using the browserified version of bitcoinjs-lib I have managed to implement all the key...
I am creating a raw transaction using the bitcoin testnet, but when I push the raw transaction onto the network it takes all my balance. Am I suppose to send the remaining 'change' back to myself? Here is the code im using to create the raw t...
before marking this question as a duplicate please notice that I'm not using truffle :)  So the problem is , everytime I send a transaction to my smart contract I get the error from title.  const express = require('express'); const router...
I am running web3 1.0.0-beta.27,  pragma solidity ^0.4.2;  contract Charity{      function ping() public constant returns (uint) {         return 200;     }   }   And I am compiling/calling it in typescript with:  import * as fs       from 'fs...
I am trying to use for-loop in the transaction. The for-loop basically creates new assets, ie. I am creating a new asset on each iteration.  The problem is that each time the loop iterates the value of vals.length remains zero(0). And if I try to do...
I have setup a Hyperlder Sawtooth Network from the Sawtooth Docs, you can find docker-compose.yaml I used to setup the network here:  https://sawtooth.hyperledger.org/docs/core/releases/1.0/app_developers_guide/sawtooth-default.yaml  And here's t...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.