These are the Tezos contracts used by TezID.
They are written in SmartPy.
- Mainnet
- Store - KT1RaNxxgmVRXpyu927rbBFq835pnQk6cfvM
- Controller - KT1KbV8dBrkFopgjcCc4qb2336fcGgTvRGRC
- Hangzhounet
- Store - KT1BfyfcaVhR8wThLgdsS4xricxMKvwkh1a1
- Controller - KT1JstwQxj4sQVb9TDVG6Dr4jGjzxs5YQu7Y
# Store v2.0.0
Store = sp.io.import_script_from_url("https://tezid.infura-ipfs.io/ipfs/QmYbSGKoJiDve7WTmU452wxGivwx1Q2R9iNyNw3gyYBGhu")
# Controller v4.0.0
Controller = sp.io.import_script_from_url("https://tezid.infura-ipfs.io/ipfs/Qma7XGTEjczQcjpAcC3cgV8j7VEWgwp442DnnLn2UyhgZS")
./scripts/init-env.sh
source bin/activate
spy kind all tests/tezid.py output --html
See here for integration examples.
spy kind all tests/integrations.py output --html
getProofs
parameters:
address: TAddress
callback_address: TAddress
Get all proofs for `address` and transfer to `callback_address`.
getProofsForAddress
parameters:
address: TAdress
result:
TProofs (see contract/types.py)
Get all proofs for `address`.
enjoy.