iov-one / bns Goto Github PK
View Code? Open in Web Editor NEWIOV Name Service apps based on the Weave SDK
License: Apache License 2.0
IOV Name Service apps based on the Weave SDK
License: Apache License 2.0
the env var DOMAN should be HOST and we need to add PORT, so that the available endpoints don't 404 localhost. The list of endpoints should be like //HOST:PORT/info/
, etc.
We just got word that Cosmostation would like to be able to submit signed transactions through the bnsapi. Adding that functionality is top priority list.
We need to check if exchangenet(v0.21.x) has any features missing
fix the title --> IOV Name Service Rest API
only display endpoint which is relevant for mainnet (cash, info, usernames/owner, usernames/iovstarname)
for the cash/balances endpoint
bnsd/username.Token
entitiies" ' you should sayfor the username/orkun*iov endpoint
for the username/owner endpoint
fix the Models section
We need a REST API endpoint that lists all the msgfees
like we have for escrows, eg http://exchangenet-bnsapi.iov.one/escrow/escrows.
The endpoint should be: http://exchangenet-bnsapi.iov.one/msgfee/msgfees
GET /account/address/nonce/:owner returns nonce based on iov address
GET /account/pubkey/nonce/:owner returns nonce based on iov public key
We need to include an endpoint for balances. We want an endpoint that responds with data like from BNSCLI_TM_ADDR=http://167.172.104.185:31140 bnscli query -path '/wallets' -data C1721181E83376EF978AA4A9A38A5E27C08C7BB2
eg.
{
"Key": "636173683ac1721181e83376ef978aa4a9a38a5e27c08c7bb2",
"Value": {
"metadata": {
"schema": 1
},
"coins": [
{
"whole": 9773,
"fractional": 550000000,
"ticker": "IOV"
}
]
}
}
The endpoint should be /cash/balances
and list all balances when no parameter is given and should list a single balance if given an owner parameter in either hex or bech32 format.
We have too many clusters, and they have confusing names.
Mainnet repo cluster: https://github.com/iov-one/mainnet
The mainnet repo cluster is NOT currently our production cluster; hence it's still a testnet. Once we secure it then Dave will migrate it to be our production cluster.
You just displayed the list of targets but you don't display the actualy starname names
Use the Common Log Format (https://www.graylog.org/post/log-formats-a-complete-guide)
We should use https:// instead of http:// for our testnet URLs (ex: http://bnsapi.iov.one:8000/) cluster in digital ocean #65
The REST API endpoints /username/resolve/:starname and /username/owner/:owner only return the iov-mainnet target even when other targets exist. All targets should be returned. (The bnsd v1.0.0 version of the REST API does not suffer from this bug; see the kraken*dave account at http://exchangenet-bnsapi.iov.one:8000/account/accounts?domainKey=dave.)
We need to investigate if the bnsapi
app can be made compatible with weave v0.21.2
, the mainnet version. If it is compatible then we need an endpoint for usernames
, just like we already have for accounts
.
Summary:
When i am on the index page of the bnspi and I click on a link, it is to a broken page
Steps to Reproduce:
When i am on the index page of the bnspi and I click on a link, it is to a broken page
Expected result:
it should display the endpoint
--> Lets use relative links so we don't care about ip address and ports on the index page
Actual result:
Currently, if you browse to the bnsapi without specifying an endpoint you see
{
"errors": [
"Not Found"
]
}
We need a structured endpoint listing such as cosmos:
Available endpoints:
Endpoints that require arguments:
//63.35.133.166/abci_info?
//63.35.133.166/abci_query?path=_&data=_&height=_&prove=_
//63.35.133.166/block?height=_
//63.35.133.166/block_results?height=_
//63.35.133.166/blockchain?minHeight=_&maxHeight=_
//63.35.133.166/broadcast_evidence?evidence=_
//63.35.133.166/broadcast_tx_async?tx=_
//63.35.133.166/broadcast_tx_commit?tx=_
//63.35.133.166/broadcast_tx_sync?tx=_
//63.35.133.166/commit?height=_
//63.35.133.166/consensus_params?height=_
//63.35.133.166/consensus_state?
//63.35.133.166/dump_consensus_state?
//63.35.133.166/genesis?
//63.35.133.166/health?
//63.35.133.166/net_info?
//63.35.133.166/num_unconfirmed_txs?
//63.35.133.166/status?
//63.35.133.166/subscribe?query=_
//63.35.133.166/tx?hash=_&prove=_
//63.35.133.166/tx_search?query=_&prove=_&page=_&per_page=_
//63.35.133.166/unconfirmed_txs?limit=_
//63.35.133.166/unsubscribe?query=_
//63.35.133.166/unsubscribe_all?
//63.35.133.166/validators?height=_
Acceptance:
curl -X GET "https://bnsapi.cluster-mainnet.iov.one/cash/balances?offset=1" -H "accept: application/json"
yields
{
"errors": [
"offset is in wrong format. send integer"
]
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.