Add json metadata

This commit is contained in:
lash 2023-03-21 16:44:20 +00:00
parent 3053e8312f
commit 1cf2e4a4a9
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
3 changed files with 7 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
[metadata]
name = eth-accounts-index
version = 0.3.5
version = 0.3.6
description = Accounts index evm contract tooling with permissioned writes
author = Louis Holbrook
author_email = dev@holbrook.no
@ -22,7 +22,7 @@ licence_files =
[options]
include_package_data = True
python_requires = >= 3.6
python_requires = >= 3.7
packages =
eth_accounts_index
eth_accounts_index.runnable

View File

@ -2,10 +2,11 @@ SOLC = /usr/bin/solc
all:
$(SOLC) --bin AccountsIndex.sol --evm-version byzantium | awk 'NR>3' > AccountsIndex.bin
truncate -s -1 AccountsIndex.bin
$(SOLC) --abi AccountsIndex.sol --evm-version byzantium | awk 'NR>3' > AccountsIndex.json
$(SOLC) --metadata AccountsIndex.sol --evm-version byzantium | awk 'NR>3' > AccountsIndex.metadata.json
truncate -s -1 AccountsIndex.bin
install: all
cp -v *"json" ../python/eth_accounts_index/data/
cp -v *"bin" ../python/eth_accounts_index/data/
cp -v *.json ../python/eth_accounts_index/data/
cp -v *.bin ../python/eth_accounts_index/data/