Questions tagged [build-from-source]
The build-from-source tag has no usage guidance.
19
questions
0
votes
0
answers
10
views
Using Forge, how can I output the contract content in the output metadata?
I want to get the source code sent to the compiler when using forge build.
The output files currently have only the urls and not the content:
"sources": {
"contracts/MyContract....
1
vote
1
answer
196
views
Error at build on Dockerfile image build in hardhat project
I have my hardhat project that builds and run fine using yarn.
But when I try to execute "yarn build" from a Dockerfile during the image build process I have the following error:
=> ERROR ...
0
votes
0
answers
48
views
Change an Ethereum Fork's source code to update a specific smart contract code while keeping same address? How to do it (on a fork)
I would like to know how we can update a specific smart contract code on an Ethereum fork or Ethereum Classic fork.
The smart contract address should remain the same in order to keep same data storage....
0
votes
1
answer
44
views
I accidentally sent my KINDER (BNB token) to the KINDER token contract address. Can I get them back? (I believe I have the source code too)
I was trying to send some of my KINDER tokens to another wallet I own and somehow I sent it to the KINDER token contract address.
I have since reached out to an admin in the KINDER telegram group. He ...
0
votes
1
answer
98
views
Is there a way to obfuscate an address in a source file?
Is there a way to obfuscate an address in a source file of a smart contract? And if so, how?
0
votes
1
answer
652
views
./hidapi/hidapi/hidapi.h: No such file or directory
I cloned go-ethereum, and used go mod vender.
When make, it's failed! and the error info is:
# github.com/karalabe/usb
vendor/github.com/karalabe/usb/hid_enabled.go:22:10: fatal error: ./hidapi/hidapi/...
0
votes
0
answers
306
views
How to run a chainlink Node on Mac using chainlink source code
I had followed these setups
Install Go 1.14, and add your GOPATH's bin directory to your PATH
Example Path for macOS export PATH=$GOPATH/bin:$PATH & export
GOPATH=/Users/$USER/go
Install NodeJS ...
0
votes
1
answer
79
views
Compiling cpp-ethereum (aleth) sources as a part of my cpp project
I want to use cpp-ethereum aleth smart contracts sources in my altcoin project. My sources can compile with cmake or autotools system. I tried two ways to compile cpp-ethereum with my sources:
Using ...
0
votes
0
answers
264
views
Why am I getting the error "Expected pragma, import directive or contract/interface/library definition?
I have "pragma solidity ^0.5.9" at the start of the file yet I still get this error.
Listing.sol:1:1: ParserError: Expected pragma, import directive or contract/interface/library definition.
...
0
votes
2
answers
560
views
How to deploy truffle project on web server?
I've developed a DApp using truffle suite and now I want to deploy this dapp online so that everyone will be able to access it over the internet.
I've used Rinkeby-Testnet for smart contract ...
1
vote
1
answer
289
views
Solc: Build from source code failed. Error: ‘mod’ is not a member of ‘z3’
I tried to build solidity compiler (solc) from source code, which was cloned from Solidity Git Repository. I followed the instructions in Solidity Documentation, but I ran into an error when execute: ...
0
votes
1
answer
151
views
Unable to build parity from source on macOS
Just did a fresh clone from github and:
cargo build --release --features final
gives me a link error:
= note: Undefined symbols for architecture x86_64:
"_je_malloc_usable_size", ...
2
votes
1
answer
174
views
In the case the Zerofunctionselector bug, how to know which function NAME has a 0 selector?
Normally, If a smart contract is not affected by the Zerofunctionselector bug, then at the end of the code which makes jump to the target function lies a 0xfe opcode (which result in the smart ...
0
votes
0
answers
29
views
Deinstall geth builded from source completely together with the blockchain and every piece of data [duplicate]
I use Lubuntu 17.10.
I have followed the steps in the tutorial to build geth from source. (here)
I have abandoned the idea of mining ether with my crappy hardware.
How can I deinstall the big fat ...
1
vote
2
answers
1k
views
How to make full smart contract token?
I want to make my smart contract, but I have some questions.
for example my new coin name is : Ghost and it's based on Eth.
how much ETH should I have in my wallet to create this smart contract?
...
2
votes
0
answers
241
views
Having trouble installing cpp-ethereum from homebrew
Been trying to install cpp-ethereum for development, but I keep running into issues with homebrew. Was hoping one of you had encountered something similar.
==> cmake -DCMAKE_C_FLAGS_RELEASE=-...
2
votes
1
answer
348
views
How to compile solidity release version
I've followed instruction to build solidity. But when it finished, i've got develop version:
Version: 0.4.16-develop.2017.8.31+commit.d7661dd9.mod.Linux.g++
I've tried to run make with argument ...
0
votes
1
answer
151
views
error building solidity compiler with `brew upgrade`. build from source?
This is the error message I got after recently running brew upgrade:
The command which solc, still outputs:
/usr/local/bin/solc
Is this a problem?
Maybe I should uninstall and reinstall my ...
1
vote
2
answers
531
views
specify and run *particular* version of geth (goethe) on my machine, with more than one source
At the moment I'm playing around with- or rather "conducting some experiments"- with JPM's quorum.
On my machine I have multiple versions of geth (i.e. goethe) installed.
I'm fairly confident that ...