How Do You Troubleshoot the Cargo Problem “error[E0658]: use of unstable library feature ‘str_strip’: newly added”?

Problem scenario
You run a cargo command. You get this error:

error[E0658]: use of unstable library feature ‘str_strip’: newly added
–/home/jdoe/.cargo/registry/src/github.com-1ecc6299db9ec823/ethbloom-0.10.0/src/lib.rs:69:1
|
69 | / construct_fixed_hash! {
70 | | /// Bloom hash type with 256 bytes (2048 bits) size.
71 | | pub struct Bloom(BLOOM_SIZE);
72 | | }
| |_^
|
= note: see issue #67302 https://github.com/rust-lang/rust/issues/67302 for more information
= note: this error originates in a macro (in Nightly builds,

 » Read more..

How to Install Incubed (in3) for Bash?

Problem scenario
You want to do Blockchain development with Ethereum using Bash. How do you install Incubed (in3) for Bash on a Debian distribution of Linux (such as Ubuntu or Linux Mint)?

Solution
Run these commands:

sudo apt -y update
sudo apt-get -y install software-properties-common
sudo add-apt-repository ppa:devops-slock-it/in3
sudo apt -y install jq in3 in3-dev  » Read more..

Where Can You Find the build_rust.sh Script?

Problem scenario
You want to use Rust and Incubed (the Blockchains in3 crate). You search for “build_rust.sh”, but you find irrelevant build-rust.sh files. How do you find the one with the underscore (or underbar) and not the hyphen/dash?

Solution
Here is the content:

#!/bin/sh
cd ..
mkdir -p rust/in3-sys/in3-core
mkdir -p rust/in3-sys/in3-core/c
cp -r c/CMakeLists.txt c/macro.cmake c/compiler.cmake c/docs c/src c/include rust/in3-sys/in3-core/c/
cp CMakeLists.txt rust/in3-sys/in3-core/
export UPDATE_IN3_BINDINGS=1
cd rust &&  » Read more..

How Do You Troubleshoot the Cargo/Rust Error “use of undeclared type or module”?

Problem Scenario
You run a “cargo run” command. You get an error like one or more of the following:

use of undeclared type or module api

use of undeclared type or module serde_json

use of undeclared type or module async-std

What should you do?

Solution
Update the Cargo.toml file. The dependencies section should have an entry like one of the following (but the version number may or may not differ):

[package]
name = “in3-tutorial”
version = “0.0.1”
authors = [”reader@medium.com”]
edition = “2018”

[dependencies]
in3 = “0.1.7”
async-std = “1.5.0”
futures-executor = “0.3.5”
serde_json = “1.0”
ethabi = “13.0.0”
ethereum_abi = “0.2.0”
ethbloom = “0.10.0”

[[bin]]
name = “in3”
path = “/home/jdoe/rust/contint.rs”

If you are not sure what version is valid,

 » Read more..

How Do You Troubleshoot “cp: cannot stat …: No such file or directory” when Running build_rust.sh?

Problem scenario
You are running build_rust.sh to use Blockchains’ Incubed. But you get an error message like this:

cp: cannot stat ‘c/CMakeLists.txt’: No such file or directory
cp: cannot stat ‘c/macro.cmake’: No such file or directory
cp: cannot stat ‘c/compiler.cmake’: No such file or directory
cp: cannot stat ‘c/docs’: No such file or directory
cp: cannot stat ‘c/src’: No such file or directory
cp: cannot stat ‘c/include’: No such file or directory
cp: cannot stat ‘CMakeLists.txt’: No such file or directory

What should you do?

 » Read more..

How Do You Insure Your Bitcoin/Cryptocurrency Holdings?

Problem scenario
You have a sizable cryptocurrency position. You are concerned that if you lose it, you will not be able to get it back. What should you do?

Solution
This is not legal advice.

  1. Self-insure. Ensure you use multi-factor authentication if you use an online platform. If you need a username, a password, and access to a separate physical device (such as a smart phone for a passphrase or code number),

 » Read more..

Cryptocurrency News and Information

JP Morgan is viewing Bitcoin more favorably according to this Forbes article. If you would like to learn more about Bitcoin, you may want to see this article. If you want to buy Bitcoin or a variety of cryptocurrencies, try Changelly.

 » Read more..

Reputations of Cryptocurrency Exchange Companies in the U.S.

Question
What ratings do U.S. based cryptocurrency exchange companies have with the Better Business Bureau?

Answer
Updated on 12/4/20.
Some bitcoin and altcoin enthusiasts are not interested in purchasing cryptocurrencies from non-American companies.  Some people argue that the Better Business Bureau is run by the businesses themselves, and thus protector of businesses.  Arbitrators want to be picked by the member businesses when a consumer raises a dispute;

 » Read more..

Interested in Buying Cryptocurrency besides Bitcoin (aka Altcoins)?

With U.S. dollars you can buy over 30 different cryptocurrencies directly!  You no longer need to first buy Bitcoin then transfer it to another exchange as an intermediate step.  Just change the drop down menu for “PAY WITH” to USD, and you can proceed to invest in alternative cryptocurrencies (or buy Bitcoin itself) directly!  Changelly is user-friendly, and a great way to buy altcoins with Euros or U.S. Dollars.

Can’t load widget  » Read more..