Skip to content

dClimate/geodata-anchor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

geodata-anchor

Provides a cosmwasm anchor for geodata object with its hash

Requirements

development

# builds to artifacts/geodata_anchor.wasm
./scripts/optimize.sh
cargo test

schemas:

cargo schema

scripts, streamlined run, optimize, and deploy:

  • build juno:
sudo apt-get install make build-essential gcc git jq chrony -y
git clone https://github.com/CosmosContracts/juno.git && cd juno
git fetch --tags
git checkout v2.3.1
make build && make install
junod version
junod keys add sample-test-keyname --recover
# clip hire initial neck maid actor venue client foam budget lock catalog sweet steak waste crater broccoli pipe steak sister coyote moment obvious choose
  • run juno local node, deploy contract:
# run juno local node:
./scripts/run_local_node.sh

# in new terminal:
./scripts/optimize.sh
# builds to artifacts/geodata_anchor.wasm

./scripts/local_deploy.sh
# this will access all endpoints from a dynamically from local juno instance.

TODO:

  • add access control, as cw1-whitelist

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published