Giter VIP home page Giter VIP logo

go-bitsong's Introduction

License: Apache-2.0

Introduction

What is BitSong?

BitSong is a multifunctional blockchain-based ecosystem built to empower the music industry. It unites artists, fans, distributors in an environment where music, merchandise, and fan loyalty are assets of value. BitSong’s decentralized ecosystem of services providers the global music community with a trustless marketplace for music streaming, Fan Tokens, and NFTs, powered by the BTSG token.

Brief History of BitSong

BitSong was conceived in 2018 by developer and entrepreneur Angelo Recca. Angelo realized that while the digitalization of music has brought many benefits to the industry, it’s also created a new set of problems around the ownership of music and attribution of royalties. He joined forces with Iulian Anghelin and BitSong was born. The initial intention was for BitSong to become an Ethereum-based application where fans could stream music and artists could receive royalties directly. However, after discovering Cosmos and its ambition to become the “Internet of Blockchains,” Angelo and Iulian immediately recognized the full potential of becoming part of a multi-chain environment. After launching the main BitSong blockchain in August 2020, the bitsong-2b mainnet went live on October 21, 2021. Featuring Fan Tokens, NFTs, and music streaming platform, all underpinned by secure, robust, battle-tested blockchain technology, the launch of BitSong marks a turning point in the ongoing development of the music industry.

NOTE: This is alpha software. Please contact us if you aim to run it in production.

Note: Requires Go 1.19.x+

Install BitSong Blockchain

There are many ways you can install BitSong Blockchain Testnet node on your machine.

From Source

  1. Install Go
    wget -q -O - https://git.io/vQhTU | bash -s -- --remove
    wget -q -O - https://git.io/vQhTU | bash -s -- --version 1.19.5
  2. Clone BitSong source code to your machine
    git clone https://github.com/BitSongOfficial/go-bitsong.git
    cd go-bitsong
  3. Compile
      # Install the app into your $GOBIN
      make install
      # Now you should be able to run the following commands:
      bitsongd help
    The latest go-bitsong version is now installed.
  4. Run BitSong
    bitsongd start

Running the test network and using the commands

To initialize configuration and a genesis.json file for your application and an account for the transactions, start by running:

NOTE: In the below commands addresses are are pulled using terminal utilities. You can also just input the raw strings saved from creating keys, shown below. The commands require jq to be installed on your machine.

NOTE: If you have run the tutorial before, you can start from scratch with a bitsongd unsafe-reset-all or by deleting both of the home folders rm -rf ~/.bitsong*

# Initialize configuration files and genesis file
bitsongd init MyValidator --chain-id bitsong-localnet

# Copy the `Address` output here and save it for later use
# [optional] add "--ledger" at the end to use a Ledger Nano S
bitsongd keys add jack

# Add both accounts, with coins to the genesis file
bitsongd add-genesis-account jack 100000000000ubtsg --keyring-backend test

# Generate the transaction that creates your validator
bitsongd gentx jack 10000000ubtsg --keyring-backend test

# Add the generated bonding transaction to the genesis file
bitsongd collect-gentxs
bitsongd validate-genesis

# Now its safe to start `bitsongd`
bitsongd start

You can now start bitsongd by calling bitsongd start. You will see logs begin streaming that represent blocks being produced, this will take a couple of seconds.

Resources

Decentralized Exchanges

Community

License

APACHE 2.0

Versioning

SemVer

BitSong uses SemVer to determine when and how the version changes. According to SemVer, anything in the public API can change at any time before version 1.0.0

To provide some stability to BitSong users in these 0.X.X days, the MINOR version is used to signal breaking changes across a subset of the total public API. This subset includes all interfaces exposed to other processes, but does not include the in-process Go APIs.

go-bitsong's People

Contributors

angelorc avatar bitglad1 avatar ccamel avatar cfl0ws avatar darkeyesz avatar dbpatty avatar edouardlvdl avatar i7495 avatar ilgio avatar jaygaga avatar jleni avatar kwunyeung avatar manacomm avatar marcotradenet avatar ondin777 avatar parrasajad avatar redpenguin-validator avatar riccardom avatar ryusmo avatar simi-dev avatar ssdbkey avatar zartus2019 avatar zenfunkpanda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

go-bitsong's Issues

Change issue fee in fan token module

The issue-fee should be an sdk.Coin string, example: --issue-fee 1ubtsg and not --issue-fee 1

Command:
bitsongd tx fantoken issue --name Angelo --symbol angelo --max-supply 1000 --issue-fee 1000000 --from validator --chain-id test -b block

Bug can't remove liquidity

I have made a bond and chose the specified time and after the bond time ended I did an unbond and I want to remove liquidity I couldn't, all those who use the mobile web especially have the same problem sir

bitsong1j7v4yn6eewcfm07ze8ww6yn97r5y2nc5yghrwn
IMG_20220511_012326
#114

Fantoken update to edit

If I try the command bitsongd tx fantoken update there is confusion over descriptions

Usage:
bitsongd tx fantoken update [symbol] [flags]

Examples:
bitsongd tx token edit <symbol> --mintable=true --from=<key-name> --chain-id=<chain-id> --fees=<fee>

Solution:
change update to edit

Issuing a token w/ the same name twice

In the bigbang-test-2 chain:

If I issue a token w/ an already taken name, it gives me an "Denom Already Exists" error. I created this token:

(Tx Hash: F1EADFF4B01E1A563EF7C58CCE669C0869C95926A44E9DC242D9990A868BC938)

bitsongd tx fantoken issue --issue-fee=1000000ubtsg --max-supply=1000000 --symbol="bug" --description="" --from=hathor --chain-id=bigbang-test-2 --fees=200ubtsg --name="BugToken"

If I check, I can tell I own this token now:

bitsongd query fantoken owner bitsong1uh0ncteup7tles2t6v32cc4adrfjhjzk2jnxpu

  • max_supply: "1000000"
    meta_data:
    base: ft518F03EDBB4A1E66A694B6833A2235067692E8C0
    denom_units:
    • denom: ft518F03EDBB4A1E66A694B6833A2235067692E8C0
    • denom: bug
      exponent: 6
      display: bug
      mintable: true
      name: BugToken
      owner: bitsong1uh0ncteup7tles2t6v32cc4adrfjhjzk2jnxpu

If I try to recreate that same token:

bitsongd tx fantoken issue --issue-fee=1000000ubtsg --max-supply=1000000 --symbol="bug" --description="" --from=hathor --chain-id=bigbang-test-2 --fees=200ubtsg --name="BugToken"

bitsongd query tx --type=hash 0C63C51BB7FE63B6E1BEFC19BD7B52860C57A07E83ADAD799A0FFB6C926B89F1

I get the error: failed to execute message; message index: 0: denom already exists: ft518F03EDBB4A1E66A694B6833A2235067692E8C0

That denom matches my BugToken that I just made. If I rename my token to BuToken,

bitsongd tx fantoken issue --issue-fee=1000000ubtsg --max-supply=1000000 --symbol="bug" --description="" --from=hathor --chain-id=bigbang-test-2 --fees=200ubtsg --name="BuToken"

It works w/ a tx hash of BBEF623C4E6A0217C09B77EA4DCF4C16C1651FD301393F152036F5594417E447

I can check my ownership of both tokens:

bitsongd query fantoken owner bitsong1uh0ncteup7tles2t6v32cc4adrfjhjzk2jnxpu

If I transfer the token to someone else, I still can't make a token w/ a new name.

I can go into the testnet guide and make an Angelo's token even though other people have made that same token. But I can't reuse the same name twice myself.

Bug Sinfonia Testnet

I have done swap 2 transaction .. but next swap transaction still error .. i have 2200 BTSG but cannot swap .
Screenshot_2022-05-09-23-17-29-902_com kiwibrowser browser

Can't swap and solution

Screenshot_2022-05-10-01-31-34-776_com yandex browser alpha

when I first tried the swap feature, there was a slight bug, namely the swap failed, and to solve that problem every time I wanted to swap or make a transaction I refreshed the web page,,, and everything was normal and smooth, thank you
this is my address
bitsong1wqm3h0sc9zujeq4zn7ewhsvy6tgj3mcsgud5yv

Sinfonia Testnet bug report

I can't do swap when the step size is too big (170.444444444444 etc).
it doesn't even pop up a "transaction failed" message
my bitsong wallet bitsong1w60q3k507d9phcs7qqezt88w3ux5pzrlajhyd2

image

No bugs

I have done ,swap ,add lp , remove lp ,and bond lp , and I didn't find any bugs and the web is running smoothly

Wallet POP-Up cant close automatic after make transaction

Description

  • When i sucsses deposit/make transaction my asset wallet POP UP cant close automatic, must be close manual is that very uncomfortable
  • if i not close manual i cant make next transaction

Screenshot

image
image

Suggestion

  • Maybe check your code betwen popup wallet and your web , this problem I didn't find it on any other web (on the same network)

Balance not updated for Swap

My bitsong balance is showing 0 BTSG under Swap but shows 10,000 BTSG under Assets. I think this is a bug that need to be fix.

Wallet address: bitsong15nf8v5aj7t86avkcdtz9djlydevmzcsdr0wpyq

{6A1A7E63-8889-4D72-A123-710E4770791D} png
{6EDEA9A4-6BB1-4FEB-82B2-F7942D746BA7} png

Minting fan token amount

I tried to mint some fantoken, when we mint a new fantoken it will add 6 standard decimal and the result could be out of the proposed intentions.

Command

bitsongd tx fantoken mint clay --recipient bitsong1lemmdcgn087pd380p54q0f45pe7vrylcetu529 --amount 1000 --from validator --chain-id test

What I expect

I expect that with this command I will mint 1000 clay. Currently the chain mint 1000000000uclay

I think the best approach is to change the command to accept something like that

..... fantoken mint uclay --amount 1000000000

with that expression the account is sure to get the specified amount.

https://github.com/bitsongofficial/go-bitsong/blob/module/fantoken/x/fantoken/keeper/keeper.go#L166

BitSong Track Metadata

This is the last BitSong Track Metadata implementation

To all Music Providers, we need feedbacks for this issue
If you consider that the structure has to be changed or improved, feel free to comment on the issue

{
  "title": "The show must go on",
  "artists": ["Artist 1", "Artist 2", "Artist 3"],
  "feat": ["Singer 1"],
  "producers": ["Producer 1"],
  "images": [
    { "32x32": "ipfs://Qm........"},
    { "500x500": "ipfs://Qm........"}
  ],
  "sources": [
    { "preview": "ipfs://Qm...." },
    { "hls": "ipfs://Qm...." },
    { "opus": "ipfs://Qm...." },
    { "mp3_low": "ipfs://Qm...." },
    { "mp3_high": "ipfs://Qm...." }
  ],
  "duration": 15001,
  "number": 1,
  "tags": ["tag 1", "tag 2", "tag 3"],
  "genre": "Pop",
  "mood": "Energetic",
  "label": "My best label",
  "credits": "Creative Commons",
  "external_ids": [
    { "youtube": "M7Iwkxy_Hjw" },
    { "spotify": "12487825" }
  ],
  "external_urls": [
    { "youtube": "https://www.youtube.com/watch?v=y6veLh2b1Js" },
    { "soudcloud": "https://soundcloud.com/bangtan/thankyouarmy2020" }
  ]
}

Can't swap on another tokens if the slippage not 10%

I tried to swap any pair on other token like ' adam clay ' and then enter the slippage from 1 till 7 but didn't work, then i tried on 10 its working
Maybe need some repairs at slippage moment, its very difficult if we need to change slippage and then try to find some slippage if wanna make a success swap
Uploading Screenshot_2022-05-10-00-59-36-07_16c08c2f05c0b6a683890ee237cb1d6f.jpg…

Add Slack application to repo

Hello.

We would like to get notifications of upcoming releases.

It would be a massive help if we could do it through Github's Slack integration.

Could you kindly install it?

Thank you

Core refactor

  • Remove fantoken module
  • Update to sdk-0.45.x
  • Refactor appparams
  • Add PrepareGenesisCmd
  • Add/Fix TestnetCmd
  • Fix simApp
  • Fix simApp/staking
  • Test sim
  • Fix sim Makefile
  • Test minCommission
  • Move UpgradeHanlder
  • Test exported state
  • Test/Fix docker

Fantoken transfer, unknown flag --to

If I try to transfer the ownership of a fantoken I get the following issue

Command:
bitsongd tx fantoken transfer angelo --to $(bitsongd keys show validator2 -a)

Error:
unknown flag: --to

Move chainmodules

Move modules from bitsongofficial/chainmodules to bitsongofficial/go-bitsong

  • Fantoken module

Bug in estimated slippage and slippage tolerance

AE5CD4D2-73B7-45C4-A176-5E3195600255
40263E03-C7B3-4047-AD07-CA607A35596E

I think i found a bug and perhaps it can make a confused for the user. As seen in the picture, in estimated slippage there is no big impact after i changed slippage tolerance from 1% to 5%. Thank you

My address: bitsong1nqyn8g22e8wpjjhll33j2tj36yn7n08yd9e6cz

[bitsong-testnet-3] Contest Winners

Hi there,
this is the official scoreboard of bitsong-testnet-3 contest, prizes, bonuses and methods will be communicated as soon as possible.

Thanks for being part of bitsong-testnet-3

Position Address Moniker Last Height Total Precommits Uptime
1 BB51637626760625BA551A920CFB001976575758 retz80 2.400.000 2.395.930 99,83%
2 88A8DAC051D91C675B8477B9932F46EF6AC5078D ChainodeTech 2.400.000 2.395.577 99,82%
3 1FC296C863B7D35B8490D33E182F26ECA2A85914 Validator.Center 2.400.000 2.389.214 99,55%
4 1B8A87FD74F9E2EC3CBA58C74C3FBF7CE33503DC Masternode24.de 2.400.000 2.387.582 99,48%
5 AF7A5074034851EECFE94925D69E2CCD0BE0E8CF novy 2.400.000 2.385.805 99,41%
6 F0EA58E02F7730CAF0AA553E4642B2747BE8FE25 WeStaking 2.400.000 2.382.328 99,26%
7 849D41DFA75B8409C6767541F0773A2589B1EFA4 Wanderer 2.400.000 2.376.725 99,03%
8 DB59BF17869E7AED49702D7949F762DF3157D3EB bitcat 2.400.000 2.376.175 99,01%
9 5327B388B6621268B8ECC438394EA6A7A4915065 melea 2.400.000 2.376.149 99,01%
10 FE1E4770C7074E77A4AA0ACFD3198503A9067159 Easy 2 Stake 2.400.000 2.375.425 98,98%
11 6F9D9409F20E62347BE41FB3A98B4C74D502C861 alexandruast 2.400.000 2.375.097 98,96%
12 B668E23D936B691F5A2553097D0BFA98ED43FBB1 thamar 2.400.000 2.371.103 98,80%
13 FF99FA3D35E36B21BAC8E2EF6ADE69F869214C27 Forbole 2.400.000 2.365.273 98,55%
14 74EC5E3AA767CAF8E1A1B72D5A2B22798E31DD23 Inotel 2.400.000 2.365.249 98,55%
15 CFE042BEBD14326D14D20BBAF7326B733B20EF40 stakewolf 2.400.000 2.358.637 98,28%
16 7C110ACDFD06C2CF30ABC85713C6C888E667C4B8 kytzu 2.400.000 2.358.058 98,25%
17 B2C654F8D1F14615E97D90C74AFC527C695E4E96 Rundax 2.400.000 2.356.267 98,18%
18 C96A720A53A827E255CD1A26B6AFA154E6403620 Simply Staking 2.400.000 2.346.093 97,75%
19 D233393367C1D9F44CF2D7EE59818AC9EE45BE08 ANAMIX 2.400.000 2.334.779 97,28%
20 473F966CE37551CF8BAD1A332C73C6593A834E06 Alibaba 2.400.000 2.324.299 96,85%
21 532ED7535563265282ADC6F6D5E7AB91F8E493AD VGK 2.400.000 2.319.000 96,63%
22 43206544905024558227F6E8386BE8472915EED5 UbikCapital 2.400.000 2.302.603 95,94%
23 454599B94B42B0E79C5A08B50E3B8392BF088C19 Developer 2.400.000 2.290.133 95,42%
24 35344FDFF87BD446610286B5CA21B85ED5277E5E ITA Stakers 2.395.784 2.286.238 95,43%
25 0BCAE214211728D88359676AE4C64032104C69BF Nodeasy.com 2.400.000 2.170.366 90,43%
26 35C1AABBD99178BF0A43A20BCDDBBB97B5BCCAC1 papsan 2.400.000 2.154.712 89,78%
27 CE81854EC2F31F17A3458F281541F902E3654195 Cyberili 2.400.000 2.142.247 89,26%
28 7DFEBC77E20B10C622667CADFF89FBB1D80046D8 Yarri 2.400.000 2.066.691 86,11%
29 D724F3273493402C1D93E3371A177CF0ABC158A8 trixvalidator 2.400.000 1.885.763 78,57%
30 FA54BF722EBF818FA661FAFD7EF9C5AB8DD14969 bi23 2.400.000 1.530.150 63,76%
31 A4C2C8792CF81FE7C0B425427575DF77583047A9 cyberponics 2.400.000 1.517.832 63,24%
32 08DA1357F45DC5121A650D0D19DCC81EC4D3D36C syncnode 1.340.667 1.326.021 -
33 B221CD76961B5C1CE01A3F1724FAC89189F77055 opt52 912.938 911.098 -
34 32814370C52B1F8396EBA39B6F0CAF0A7AA378F5 blonde-code 912.942 910.586 -
35 80CDEF191280A6176C2B45A6628CF9A6B1D3E3FF Crybex 778.138 776.414 -
36 0062292EAFE5925A35C43208590508FAEA943CFC SkyfallData 778.140 772.272 -
37 ADFD2146534CF07A182A0EDABF676753EF315A7B bitangel 743.385 740.369 -
38 BCE2259F1BFF8774B35334030779B8D5BEFF38EC Alive29 521.969 513.932 -
39 484EEE19E6889DC6D9E1FA6D84476B270F471ED5 - 2.388.751 395.112 -
40 3E1BAC170EB6859FCA3B0CBE857318D1DF9926E9 weba.ru 174.339 165.506 -
41 15DF8E66A3EE1725FE0191B30AABED9E0083530A GRom81 155.716 151.776 -
42 80D8FC0F61C1455B7E29CE9EEC11B11BE9395B15 WlanWerner 114.657 114.331 -
43 5D7A96959D6265ADF510AE781077C9F14FB40DCD POS-Bakerz - - -

Bug

I had this error. bitsong19uts2g8t72nzm7antmht0mtjyt7ylym4wmt8ap
My error

Bug/sugestion

Screenshot (62)_LI
Screenshot (61)
I want to track transaction history when I press view all it directs me to mintscan.io osmo and I don't see history or tx hash of transactions I did on Sinfonia testnet. explorer is very important to test, because transaction history is stored properly and makes it easy to check tx hashes. if there is a problem in the transaction. this is my opinion.
bitsong13yez56pph5qnajftfhfnrquqcyl87zxepsuk5w

Makefile update

Add following commands in the Makefile
build-docker-go-bitsong
localnet-start
localnet-stop

bitsongcli transaction question error

When sending transaction through bitsongcli, and instead of y/N just pressing enter - the below error


goroutine 1 [running]:
github.com/cosmos/cosmos-sdk/client/input.GetConfirmation(0xff28e1, 0x33, 0xc0009e7090, 0xc0000f9000, 0xc0009e7018, 0x1)
        /root/go/pkg/mod/github.com/cosmos/[email protected]/client/input/input.go:78 +0x1d9
github.com/cosmos/cosmos-sdk/x/auth/client/utils.CompleteAndBroadcastTxCLI(0xc00093e7d0, 0x1310280, 0xc000944700, 0x2ea, 0x0, 0x30d40, 0x3ff0000000000000, 0x0, 0x7ffc1ad9a78c, 0x11, ...)
        /root/go/pkg/mod/github.com/cosmos/[email protected]/x/auth/client/utils/tx.go:89 +0x995
github.com/cosmos/cosmos-sdk/x/auth/client/utils.GenerateOrBroadcastMsgs(0xc0000f48c0, 0x1316080, 0xc00086dec0, 0x0, 0x0, 0x12e28c0, 0xc000010018, 0xfbe5ce, 0x4, 0x0, ...)
        /root/go/pkg/mod/github.com/cosmos/[email protected]/x/auth/client/utils/tx.go:40 +0x15c
github.com/cosmos/cosmos-sdk/x/staking/client/cli.GetCmdCreateValidator.func1(0xc000887680, 0xc000986990, 0x0, 0x9, 0x0, 0x0)
        /root/go/pkg/mod/github.com/cosmos/[email protected]/x/staking/client/cli/tx.go:60 +0x23e
github.com/spf13/cobra.(*Command).execute(0xc000887680, 0xc000986900, 0x9, 0x9, 0xc000887680, 0xc000986900)
        /root/go/pkg/mod/github.com/spf13/[email protected]/command.go:826 +0x460
github.com/spf13/cobra.(*Command).ExecuteC(0xc0000b6c80, 0x86b0c0, 0xc0000b6c80, 0xfbd5e6)
        /root/go/pkg/mod/github.com/spf13/[email protected]/command.go:914 +0x2fb
github.com/spf13/cobra.(*Command).Execute(...)
        /root/go/pkg/mod/github.com/spf13/[email protected]/command.go:864
github.com/tendermint/tendermint/libs/cli.Executor.Execute(0xc0000b6c80, 0x11b56b8, 0x2, 0xc000035c60)
        /root/go/pkg/mod/github.com/tendermint/[email protected]/libs/cli/setup.go:89 +0x3c
main.main()
        /root/go-bitsong/cmd/bitsongcli/main.go:77 +0x59d

Bug Sinfonia Testnet

I can not add liquidity D9/BTSG pool for the fist time. The second time it is ok.
My wallet : bitsong187z3p9p8dqt6w2y0cs9k53yrus4gjs3jll2pes
000

BitSong Terraform Plugin - 250 DAI

Description:

  • Develop a terraform provider plugin for BitSong to initialize a new cluster based on existing cosmos-sdk scripts.
  • Check the branch feature/terraform, navigate into /networks/ and test all the scripts and the remote directory.
  • Setup a new cluster on AWS and DO, test the environment and change the configuration when need.
  • If you need more details on what exactly we are looking for, please message our core engineers in Discord via #gitcoin

Submission Requirements:

Resources:

Bounty:

  • 250 DAI

Submission Deadline:

  • June 18th

Judging Commencement:

  • June 20st

Bounty Recipients Announced:

  • June 30th

Change fantoken cli description

The command bitsongd tx fantoken use the description Token transaction subcommands

It should be FanToken transaction subcommands

bug report transaksi

i have used all the features and i found a problem while doing the transaction,,,
transactions more than once always fail, and have to refresh again
and try again the transaction then it works, I think its a bug, hope this problem can be fixed before mainet
Screenshot 2022-05-09 235818

Swap dismiss/bug

when I first tried the swap feature, there was a slight bug, namely the swap failed, and to solve that problem every time I wanted to swap or make a transaction I refreshed the web page,,, and everything was normal and smooth, thank you
this is my address
bitsong1wqm3h0sc9zujeq4zn7ewhsvy6tgj3mcsgud5yv
Screenshot_2022-05-10-01-31-34-776_com yandex browser alpha

Add mintable to fantoken issue

Add the flag --mintable in the example of bitsongd tx fantoken issue

Examples:
$ bitsongd tx token issue --name="Kitty Token" --symbol="kitty" --max-supply="1000000000000" --issue-fee="1000000" --description="Kitty Token" --mintable true --from=<key-name> --chain-id=<chain-id> --fees=<fee>

My sugestion

I think the selection of icons such as swap, add liquidity and transfer should be in the main menu to make it look easier and simpler... and my suggestion is that the color selection in the bounds is very faint and almost invisible, it would be better if you did that color change
Screenshot_20220510-055655_Kiwi Browser
Screenshot_20220510-055648_Kiwi Browser
Screenshot_20220510-054700_Kiwi Browser

Bug Report Sinfonia Testnet

i can't do swap on sp 1% & 3% but sp 5% works. please fix.
my address : bitsong13yez56pph5qnajftfhfnrquqcyl87zxepsuk5w
Screenshot (59)

Bug sinfonia testnet "Balance Cant Displayed"

Description

  • I have 2 kinds of BTSG tokens, each of which has a balance, but when I connect the wallet no balance is displayed, I've refreshed the page and the results are the same, maybe this is the first step that the developer must fix

Screenshot

image
image

Suggestion

  • maybe the newly created token is not connected between the wallet and the web
  • Check code between BTSG token to Sinfonia web ( Maybe have fail )

Sinfonia Tesnet Bug report

I want to see the transactions that I have made, on the testnet web image below there are several failed transactions and only marked with the words "broadcasting" . then I pressed the view all button and entered the mintscan.io web from osmosis, but I looked down in the transaction section there was no transaction record at all and it was shown in the image 2 below. then i checked in the keplr wallet there was a token transaction on osmosis testnet it was shown in the image 3 below.

fix this bug, all transactions should be recorded clearly and if it fails the failure should be clearly written on webscan or mintscan.io/osmosis and also written "failed" in the transaction history in the swap menu. and please if the transaction fails, put a mark in the transaction section as "failed" not "broadcasting", if it is written broadcasting it means the transaction is still running but not failed.

I'm confused why there are no transactions written on the mintscan.io web/osmosis, even though the button "view all" goes directly to that web ??

is there any typo coding for the click of a button that goes straight to the web?
or indeed the transaction is not written on mintscan.io/osmosis? but it written on another web scan?
please check it again ...

this my wallet bitsong testnet :
bitsong1e7tpgjy8kfvfsm4f7uypjvsw9hfdqsustpwvm8

this my wallet osmosis :
osmo1pe9gx7yzuzuw8qw60hnhscz2n9p6m2nlwdqu72

2022-05-10 (1)
2022-05-10 (2)
2022-05-10 (3)

Bug report

In transfering screen, if available asset is zero; amount looks -0.025

My adress: bitsong1djytet30fzdf8cq0tm7wx8m8kw8qfzuw7my2hs
image

BITSONG BUG WITH MEDIUM-HIGH LEVEL

LIST OF BUGS I FOUND FROM 104.21.7.58 / testnet.sinfonia.zone
Device for Testing : Macbook M1 Pro
Tool : Openvas and NMAP

  1. TCP Port Opened ( scanned by nmap 104.21.7.58 )
    List port opened : 80,2052,443,2053,2082,2083,2086,2087,2095,8080,2096,8443,8880
    Level Bug : Medium
    Detail : An open port may be an expected configuration. For example, web servers use port 80 to serve websites over http and port 443 to serve websites over https. For a list of commonly used ports see https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers.
    An unexpected open port could give unintended access to applications, data, and private networks. Open ports can also be dangerous when expected services are out of date and exploited through security vulnerabilities.
    Solution : Close the port
  2. Application Error Disclosure
    Link Issue : https://testnet.sinfonia.zone/assets/index.8e544d33.js
    Level Bug : Medium
    CWE Id : 200
    Detail : This page contains an error/warning message that may disclose sensitive information like the location of the file that produced the unhandled exception. This information can be used to launch further attacks against the web application. The alert could be a false positive if the error message is found inside a documentation page.
    Solution : Review the source code of this page. Implement custom error pages. Consider implementing a mechanism to provide a unique error reference/identifier to the client (browser) while logging the details on the server side and not exposing them to the user.
  3. Cross Domain Missconfiguration
    Level bug : medium
    CWE id : 264
    Detail : Web browser data loading may be possible, due to a Cross Origin Resource Sharing (CORS) misconfiguration on the web server
    Solution : Ensure that sensitive data is not available in an unauthenticated manner (using IP address white-listing, for instance).
    Configure the "Access-Control-Allow-Origin" HTTP header to a more restrictive set of domains, or remove all CORS headers entirely, to allow the web browser to enforce the Same Origin Policy (SOP) in a more restrictive manner.
    Reference : https://vulncat.fortify.com/en/detail?id=desc.config.dotnet.html5_overly_permissive_cors_policy
  4. Missing Anti-clickjacking Header
    Level Bug : Medium
    CWE id : 1021
    Detail : The response does not include either Content-Security-Policy with 'frame-ancestors' directive or X-Frame-Options to protect against 'ClickJacking' attacks.
    Solution : Modern Web browsers support the Content-Security-Policy and X-Frame-Options HTTP headers. Ensure one of them is set on all web pages returned by your site/app.
    If you expect the page to be framed only by pages on your server (e.g. it's part of a FRAMESET) then you'll want to use SAMEORIGIN, otherwise if you never expect the page to be framed, you should use DENY. Alternatively consider implementing Content Security Policy's "frame-ancestors" directive.
    Reference : https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options

more issue and bug on bitsong you can check here

Mint/Burn fantoken, change denom to symbol

When you issue a new fantoken, you need to specify the symbol. In my example I issued the symbol angelo it mean that in the state it's stored as uangelo.

bitsongd tx fantoken issue --name Angelo --symbol angelo --max-supply 1000 --issue-fee 1000000

If you want to mint a new fantoken, you must specify the symbol, the current command is accepting the denom and it should be changed with symbol

From:
bitsongd tx fantoken mint uangelo --recipient $(bitsongd keys show validator -a) --amount 1

To:
bitsongd tx fantoken mint angelo --recipient $(bitsongd keys show validator -a) --amount 1


From:
bitsongd tx fantoken burn uangelo --amount 1

To:
bitsongd tx fantoken burn angelo --amount 1

Fantoken transfer, change description

Change the following description

Command:
bitsongd tx fantoken transfer

From:
bitsongd tx token transfer <symbol> --to=<to> --from=<key-name> --chain-id=<chain-id> --fees=<fee>

To:
bitsongd tx fantoken transfer <symbol> --to=<to> --from=<key-name> --chain-id=<chain-id> --fees=<fee>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.