Skip to content

Commit 293d887

Browse files
author
Chihuahua
authored
Merge pull request #2 from faddat/puppybuilds
puppybuildsautomatically
2 parents 6d88ea1 + a2f2654 commit 293d887

35 files changed

Lines changed: 405873 additions & 275 deletions

.github/workflows/build.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# This is a basic workflow that is manually triggered
2+
3+
name: compile puppy!
4+
5+
# Controls when the action will run. Workflow runs when manually triggered using the UI
6+
# or API.
7+
on: [push, pull_request, workflow_dispatch]
8+
9+
# This workflow makes x86_64 binaries for mac, windows, and linux.
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
arch: [amd64, arm64]
17+
targetos: [darwin, linux]
18+
include:
19+
- targetos: windows
20+
arch: amd64
21+
name: dig ${{ matrix.arch }} for ${{ matrix.targetos }}
22+
steps:
23+
- uses: actions/checkout@v2
24+
- uses: actions/setup-go@v2.1.3
25+
with:
26+
go-version: '^1.17'
27+
env:
28+
GOOS: ${{ matrix.targetos }}
29+
GOARCH: ${{ matrix.arch }}
30+
31+
# we build and install in case we want to run it or capture an artifact as we do in the step below.
32+
- name: Compile chihuahuad
33+
run: |
34+
go build ./...
35+
go install ./...
36+
37+
38+
39+
# now uploads genesis.json and bin
40+
- uses: actions/upload-artifact@v2
41+
with:
42+
name: chihuahuad ${{ matrix.targetos }} ${{ matrix.arch }}
43+
path: cmd/chihuahuad

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.vscode/*

README.md

Lines changed: 0 additions & 2 deletions
This file was deleted.

Readme.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# chihuahua
2+
**chihuahua** is a blockchain bilt using Cosmos SDK and Tendermint and created with [Starport](https://github.com/tendermint/starport).
3+
4+
## Get started
5+
6+
```
7+
starport chain serve
8+
```
9+
10+
`serve` command installs dependencies, builds, initializes, and starts your blockchain in development.
11+
12+
### Configure
13+
14+
Your blockchain in development can be configured with `config.yml`. To learn more, see the [Starport docs](https://docs.starport.network).
15+
16+
### Launch
17+
18+
To launch your blockchain live on multiple nodes, use `starport network` commands. Learn more about [Starport Network](https://github.com/tendermint/spn).
19+
20+
### Web Frontend
21+
22+
Starport has scaffolded a Vue.js-based web app in the `vue` directory. Run the following commands to install dependencies and start the app:
23+
24+
```
25+
cd vue
26+
npm install
27+
npm run serve
28+
```
29+
30+
The frontend app is built using the `@starport/vue` and `@starport/vuex` packages. For details, see the [monorepo for Starport front-end development](https://github.com/tendermint/vue).
31+
32+
## Release
33+
To release a new version of your blockchain, create and push a new tag with `v` prefix. A new draft release with the configured targets will be created.
34+
35+
```
36+
git tag v0.1
37+
git push origin v0.1
38+
```
39+
40+
After a draft release is created, make your final changes from the release page and publish it.
41+
42+
### Install
43+
To install the latest version of your blockchain node's binary, execute the following command on your machine:
44+
45+
```
46+
curl https://get.starport.network/ChihuahuaChain/chihuahua@latest! | sudo bash
47+
```
48+
`ChihuahuaChain/chihuahua` should match the `username` and `repo_name` of the Github repository to which the source code was pushed. Learn more about [the install process](https://github.com/allinbits/starport-installer).
49+
50+
## Learn more
51+
52+
- [Starport](https://github.com/tendermint/starport)
53+
- [Starport Docs](https://docs.starport.network)
54+
- [Cosmos SDK documentation](https://docs.cosmos.network)
55+
- [Cosmos SDK Tutorials](https://tutorials.cosmos.network)
56+
- [Discord](https://discord.gg/cosmosnetwork)
57+
58+
59+

go.mod

Lines changed: 115 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,122 @@
11
module github.com/ChihuahuaChain/chihuahua
22

3-
go 1.16
3+
go 1.17
44

55
require (
6-
github.com/cosmos/cosmos-sdk v0.44.3
7-
github.com/cosmos/ibc-go v1.2.2
8-
github.com/gogo/protobuf v1.3.3
9-
github.com/google/go-cmp v0.5.6 // indirect
10-
github.com/gorilla/mux v1.8.0
11-
github.com/grpc-ecosystem/grpc-gateway v1.16.0
12-
github.com/spf13/cast v1.3.1
13-
github.com/spf13/cobra v1.2.1
14-
github.com/stretchr/testify v1.7.0
15-
github.com/tendermint/spm v0.1.8
16-
github.com/tendermint/tendermint v0.34.14
17-
github.com/tendermint/tm-db v0.6.4
18-
google.golang.org/genproto v0.0.0-20211129164237-f09f9a12af12
19-
google.golang.org/grpc v1.42.0
6+
github.com/cosmos/cosmos-sdk v0.44.5
7+
github.com/cosmos/ibc-go v1.2.4
8+
github.com/spf13/cast v1.4.1
9+
github.com/tendermint/spm v0.1.9
10+
github.com/tendermint/tendermint v0.34.15
11+
github.com/tendermint/tm-db v0.6.6
12+
)
13+
14+
require (
15+
filippo.io/edwards25519 v1.0.0-beta.2 // indirect
16+
github.com/99designs/keyring v1.1.6 // indirect
17+
github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d // indirect
18+
github.com/DataDog/zstd v1.4.5 // indirect
19+
github.com/Workiva/go-datastructures v1.0.53 // indirect
20+
github.com/armon/go-metrics v0.3.9 // indirect
21+
github.com/beorn7/perks v1.0.1 // indirect
22+
github.com/bgentry/speakeasy v0.1.0 // indirect
23+
github.com/btcsuite/btcd v0.22.0-beta // indirect
24+
github.com/cespare/xxhash v1.1.0 // indirect
25+
github.com/cespare/xxhash/v2 v2.1.2 // indirect
26+
github.com/coinbase/rosetta-sdk-go v0.6.10 // indirect
27+
github.com/confio/ics23/go v0.6.6 // indirect
28+
github.com/cosmos/btcutil v1.0.4 // indirect
29+
github.com/cosmos/go-bip39 v1.0.0 // indirect
30+
github.com/cosmos/iavl v0.17.3 // indirect
31+
github.com/cosmos/ledger-cosmos-go v0.11.1 // indirect
32+
github.com/cosmos/ledger-go v0.9.2 // indirect
33+
github.com/danieljoos/wincred v1.0.2 // indirect
34+
github.com/davecgh/go-spew v1.1.1 // indirect
35+
github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect
36+
github.com/dgraph-io/badger/v2 v2.2007.2 // indirect
37+
github.com/dgraph-io/ristretto v0.0.3 // indirect
38+
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
39+
github.com/dustin/go-humanize v1.0.0 // indirect
40+
github.com/dvsekhvalnov/jose2go v0.0.0-20200901110807-248326c1351b // indirect
41+
github.com/felixge/httpsnoop v1.0.1 // indirect
42+
github.com/fsnotify/fsnotify v1.5.1 // indirect
43+
github.com/go-kit/kit v0.12.0 // indirect
44+
github.com/go-kit/log v0.2.0 // indirect
45+
github.com/go-logfmt/logfmt v0.5.1 // indirect
46+
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
47+
github.com/gogo/gateway v1.1.0 // indirect
48+
github.com/gogo/protobuf v1.3.3 // indirect
49+
github.com/golang/protobuf v1.5.2 // indirect
50+
github.com/golang/snappy v0.0.3 // indirect
51+
github.com/google/btree v1.0.0 // indirect
52+
github.com/google/orderedcode v0.0.1 // indirect
53+
github.com/gorilla/handlers v1.5.1 // indirect
54+
github.com/gorilla/mux v1.8.0 // indirect
55+
github.com/gorilla/websocket v1.4.2 // indirect
56+
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 // indirect
57+
github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
58+
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect
59+
github.com/gtank/merlin v0.1.1 // indirect
60+
github.com/gtank/ristretto255 v0.1.2 // indirect
61+
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
62+
github.com/hashicorp/golang-lru v0.5.4 // indirect
63+
github.com/hashicorp/hcl v1.0.0 // indirect
64+
github.com/hdevalence/ed25519consensus v0.0.0-20210204194344-59a8610d2b87 // indirect
65+
github.com/improbable-eng/grpc-web v0.14.1 // indirect
66+
github.com/inconshreveable/mousetrap v1.0.0 // indirect
67+
github.com/jmhodges/levigo v1.0.0 // indirect
68+
github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d // indirect
69+
github.com/klauspost/compress v1.13.6 // indirect
70+
github.com/lib/pq v1.10.4 // indirect
71+
github.com/libp2p/go-buffer-pool v0.0.2 // indirect
72+
github.com/magiconair/properties v1.8.5 // indirect
73+
github.com/mattn/go-isatty v0.0.14 // indirect
74+
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
75+
github.com/mimoo/StrobeGo v0.0.0-20181016162300-f8f6d4d2b643 // indirect
76+
github.com/minio/highwayhash v1.0.2 // indirect
77+
github.com/mitchellh/go-homedir v1.1.0 // indirect
78+
github.com/mitchellh/mapstructure v1.4.2 // indirect
79+
github.com/mtibben/percent v0.2.1 // indirect
80+
github.com/pelletier/go-toml v1.9.4 // indirect
81+
github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5 // indirect
82+
github.com/pkg/errors v0.9.1 // indirect
83+
github.com/pmezard/go-difflib v1.0.0 // indirect
84+
github.com/prometheus/client_golang v1.11.0 // indirect
85+
github.com/prometheus/client_model v0.2.0 // indirect
86+
github.com/prometheus/common v0.30.0 // indirect
87+
github.com/prometheus/procfs v0.7.3 // indirect
88+
github.com/rakyll/statik v0.1.7 // indirect
89+
github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 // indirect
90+
github.com/regen-network/cosmos-proto v0.3.1 // indirect
91+
github.com/rs/cors v1.8.0 // indirect
92+
github.com/rs/zerolog v1.23.0 // indirect
93+
github.com/sasha-s/go-deadlock v0.2.1-0.20190427202633-1595213edefa // indirect
94+
github.com/spf13/afero v1.6.0 // indirect
95+
github.com/spf13/cobra v1.2.1 // indirect
96+
github.com/spf13/jwalterweatherman v1.1.0 // indirect
97+
github.com/spf13/pflag v1.0.5 // indirect
98+
github.com/spf13/viper v1.9.0 // indirect
99+
github.com/stretchr/testify v1.7.0 // indirect
100+
github.com/subosito/gotenv v1.2.0 // indirect
101+
github.com/syndtr/goleveldb v1.0.1-0.20200815110645-5c35d600f0ca // indirect
102+
github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c // indirect
103+
github.com/tendermint/btcd v0.1.1 // indirect
104+
github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 // indirect
105+
github.com/tendermint/go-amino v0.16.0 // indirect
106+
github.com/zondax/hid v0.9.0 // indirect
107+
go.etcd.io/bbolt v1.3.6 // indirect
108+
golang.org/x/crypto v0.0.0-20210915214749-c084706c2272 // indirect
109+
golang.org/x/net v0.0.0-20211005001312-d4b1ae081e3b // indirect
110+
golang.org/x/sys v0.0.0-20211004093028-2c5d950f24ef // indirect
111+
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 // indirect
112+
golang.org/x/text v0.3.7 // indirect
113+
google.golang.org/genproto v0.0.0-20211129164237-f09f9a12af12 // indirect
114+
google.golang.org/grpc v1.42.0 // indirect
115+
google.golang.org/protobuf v1.27.1 // indirect
116+
gopkg.in/ini.v1 v1.63.2 // indirect
117+
gopkg.in/yaml.v2 v2.4.0 // indirect
118+
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
119+
nhooyr.io/websocket v1.8.6 // indirect
20120
)
21121

22122
replace (

0 commit comments

Comments
 (0)