Python
Last updated
Last updated
pipenv install git+https://github.com/bluzelle/blzpy.git#egg=bluzelleimport bluzelle
client = bluzelle.new_client({
'address': '...',
'mnemonic': '...',
})
gas_info = {
'max_fee': 4000001,
}
key = 'foo'
client.create(key, 'bar', gas_info)
value = client.read(key)
client.update(key, 'baz', gas_info)
client.delete(key, gas_info)cp .env.sample .envDEBUG=false python examples/crud.pypipenv --python 3pipenv installmake test