Skip to content
Cosmopediaby Unity Nodes
DiscussionsCosmos-SDKCosmos Android ImplementationForum ↗

Cosmos Android Implementation

Cosmos-SDK1 posts501 viewsLast activity Jan 2019
14
14avengers14OP
Jan 2019

Is it possible to pursue an android mobile implementation of the cosmos SDK?
If so, could someone provide guidance on how that could be achieved?

I have listed below how we are currently doing it on desktop.

// Go installation:
wget https://dl.google.com/go/go1.11.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.11.linux-amd64.tar.gz
//set env variables as

export GOPATH=$HOME/go/

export GOBIN=$GOPATH/bin/

export PATH=$PATH:/usr/local/go/bin

export PATH=$GOPATH:$GOBIN:$PATH

// cosmos Install
mkdir -p $GOPATH/src/github.com/cosmos
cd $GOPATH/src/github.com/cosmos
git clone https://forked-repo-url-to/cosmos-sdk.git
cd cosmos-sdk
make all

// initialization of chain

gaiad init --name XXXXX --chain-id YYYYY
// starting the chain
gaiad start

// starting the rest-server locally
gaiacli advanced rest-server --chain-id YYYYY

← Back to Discussions