mirror of
git://holbrook.no/eth-accounts-index
synced 2024-11-21 16:46:46 +01:00
Add json metadata
This commit is contained in:
parent
3053e8312f
commit
1cf2e4a4a9
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = eth-accounts-index
|
name = eth-accounts-index
|
||||||
version = 0.3.5
|
version = 0.3.6
|
||||||
description = Accounts index evm contract tooling with permissioned writes
|
description = Accounts index evm contract tooling with permissioned writes
|
||||||
author = Louis Holbrook
|
author = Louis Holbrook
|
||||||
author_email = dev@holbrook.no
|
author_email = dev@holbrook.no
|
||||||
@ -22,7 +22,7 @@ licence_files =
|
|||||||
|
|
||||||
[options]
|
[options]
|
||||||
include_package_data = True
|
include_package_data = True
|
||||||
python_requires = >= 3.6
|
python_requires = >= 3.7
|
||||||
packages =
|
packages =
|
||||||
eth_accounts_index
|
eth_accounts_index
|
||||||
eth_accounts_index.runnable
|
eth_accounts_index.runnable
|
||||||
|
@ -2,10 +2,11 @@ SOLC = /usr/bin/solc
|
|||||||
|
|
||||||
all:
|
all:
|
||||||
$(SOLC) --bin AccountsIndex.sol --evm-version byzantium | awk 'NR>3' > AccountsIndex.bin
|
$(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) --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
|
install: all
|
||||||
cp -v *"json" ../python/eth_accounts_index/data/
|
cp -v *.json ../python/eth_accounts_index/data/
|
||||||
cp -v *"bin" ../python/eth_accounts_index/data/
|
cp -v *.bin ../python/eth_accounts_index/data/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user