Last active
July 19, 2021 09:26
-
-
Save onmax/39934d46b5ec49e33ff7521006e794f9 to your computer and use it in GitHub Desktop.
This gist allows you to deploy alastria contracts in a local node using geth and truffle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cloning repo | |
git clone https://github.com/alastria/alastriaID-truffle-contracts | |
cd alastriaID-truffle-contracts | |
git checkout develop | |
npm install | |
npm run migrateLocal | |
npm run initLocal | |
# and let the magic happen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install geth -> https://geth.ethereum.org/docs/install-and-build/installing-geth | |
# With ubuntu PPAs | |
sudo add-apt-repository -y ppa:ethereum/ethereum | |
sudo apt-get update | |
sudo apt-get install ethereum | |
geth --miner.gasprice 0 --http --http.corsdomain="https://remix.ethereum.org" --http.api web3,eth,debug,personal,net --vmdebug --datadir /tmp/geth --dev console --rpc.allow-unprotected-txs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment