https://etherscan.io/token/0x763fa6806e1acf68130d2d0f0df754c93cc546b2
https://etherscan.io/address/0x7a79868b8375131B4c6A681b112109A51EEa0a6C
https://etherscan.io/address/0x705E97b137f3b38E8D151B5619b436e2D8a2882A
https://ropsten.etherscan.io/address/0x65fc0f7d2bb96a9be30a770fb5fcd5a7762ad659
https://ropsten.etherscan.io/address/0xFC80Ab40BBf9CF9faAcaD6407a9768E7D3AE92a3
https://ropsten.etherscan.io/address/0xb1C869C78c73298d06D818Aa377d6bbeb51536fd
To get require error message, use this script (or check tx status on etherscan): https://gist.github.com/msigwart/d3e374a64c8718f8ac5ec04b5093597f
sudo add-apt-repository ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install solc
go get -u github.com/ethereum/go-ethereum
cd $GOPATH/src/github.com/ethereum/go-ethereum/
make
make devtools
run
cd contracts
solc --abi --overwrite --optimize LitionRegistry.sol --output-dir client/abi
run
cd contracts
abigen --abi=client/abi/LitionRegistry.abi --pkg=litionScClient --out=client/litionRegistry.go
// Replace imports in client/litionRegistry.go from "github.com/ethereum/go-ethereum" to "gitlab.com/lition/lition"
- Create Ropsten account at Metamask and mint some ethers. https://metamask.io
- Create Etherscan account and create API key. https://etherscan.io
- Open Solidity online IDE: https://remix.ethereum.org
- Activate "Etherscan - Contract Verification" plugin
- Copy your Solidity code into Remix and compile it with the latest compiler
- When deploying, use Injected Web3 as environment + select your ropsten metamask account
- Deploy selected contract, e.g. LitionRegistry - as constructor argument use address of contract with ERC20 LIT token. Use existing contract (0x65fc0f7d2bb96a9be30a770fb5fcd5a7762ad659) or deploy new one.
- You can interact with contract directly throught remix after clicking on LitionRegistry under Deployed contracts.
- If you want to publish contract interface also on Etherscan, verify contract through "Contract Verification Plugin".
You need to provide API key from etherscan, contract name, newly deployed LitionRegistry contract address and constructor arguments in ABI encoded format. To get this format, use: https://abi.hashex.org - Copy there ABI - can by copied from compilation step in Remix. Put there also constructor argument and copy the encoded result into remix. You can now Verify Contract and contract interface will be available also on etherscan.