You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.
Copy the static binary out of it. (Try a command to do so)
Use that static binary on any bare metal linux box
Constructing this is a tricky process and involves using alpine linux and recompiling the rust dependencies as static libs. I suggest you use the Dockerfile for that
Option 2: (dev-style: dynamic binary - works on Linux and OSX)
Compile dev build (make build).
ldd build/wasmd
notice the line like: libgo_cosmwasm.so => /home/USERNAME/go/pkg/mod/github.com/!cosm!wasm/go-cosmwasm@v0.9.1/api/libgo_cosmwasm.so
that file must be in the library path along with wasmd
copy wasmd to any location on the target system (that will run the node)
copy libgo_cosmwasm.so (path above) to the target system under `/usr/lib/libgo_cosmwasm.so
The text was updated successfully, but these errors were encountered:
This is general documentation for our networks right now (how to connect, how to use), as well as a list of endpoints for the testnets we run.
I would focus on our public testnet (demo net now, later the Aug 11th one) for devs, but I would just make a page here for the gaia testnet to keep it simple. They can all use the same references on how to build validators and connect
Add a new testnets section to the docs.
Add two pages there:
Demo Net page
Demo Net should contain info to point to how to deploy to the current demo net, as well as the binaries / client libs involved:
wasmd v0.9.1
cosmjs v0.21.1
Client endpoints (from @cosmjs/cli):
Show how to connect from local node:
wasmd tendermint show-node-id
):26c9c79dc62b5ddc753bb9fcce022fcc98b5a8cf
curl https://rpc.demo-09.cosmwasm.com/genesis | jq .result.genesis
Explain how to run with the official docker file (also use this locally and connect to the p2p node to show we can connect and sync)
Build Requirements
System requirements: We use a Digital Ocean 2CPU,4GB instance - consider that as good basis (see demo-net setup)
Building code may require larger instances, especially if you want to build a static instance (recompile rust code).
Simplest:
Use docker image, or build locally: https://github.com/CosmWasm/wasmd/#dockerized
Bare Metal:
Option 1 (prefered - static binary - Linux only):
Constructing this is a tricky process and involves using alpine linux and recompiling the rust dependencies as static libs. I suggest you use the Dockerfile for that
Option 2: (dev-style: dynamic binary - works on Linux and OSX)
make build
).ldd build/wasmd
libgo_cosmwasm.so => /home/USERNAME/go/pkg/mod/github.com/!cosm!wasm/go-cosmwasm@v0.9.1/api/libgo_cosmwasm.so
wasmd
to any location on the target system (that will run the node)libgo_cosmwasm.so
(path above) to the target system under `/usr/lib/libgo_cosmwasm.soThe text was updated successfully, but these errors were encountered: