Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
ecc
ram
ricardian contracts
sha3
utils
CMakeLists.txt
README.md
abieos_numeric.hpp
add_test_data.sh
claim.py
eosio.unregd.abi
eosio.unregd.cpp
eosio.unregd.hpp
get_eth_address.py
setup.sh
unregd.chngaddress_rc.md
unregd.regaccount_rc.md
unregd.setmaxeos_rc.md

README.md

Build

eosiocpp -o eosio.unregd.wast eosio.unregd.cpp
eosiocpp -g eosio.unregd.abi eosio.unregd.cpp

Setup

./setup.sh

The setup script will install one contract (besides the defaults ones):

eosio.unregd (empty)

You need to have nodeos running.

Add test data

./add_test_data.sh

Claim

python claim.py eostest11125 EOS7jUtjvK61eWM38RyHS3WFM7q41pSYMP7cpjQWWjVaaxH5J9Cb7 thisisatesta@active

Dependecies

pip install bitcoin --user
pip install requests --user
sudo apt-get install python-pysha3