Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add roup project #9025

Merged
merged 7 commits into from
Feb 22, 2024
Merged

Add roup project #9025

merged 7 commits into from
Feb 22, 2024

Conversation

butcher-blaviken
Copy link
Contributor

@butcher-blaviken butcher-blaviken commented Feb 21, 2024

Name (to be shown on DefiLlama):

ROUP

Twitter Link:

https://twitter.com/brc20roup

List of audit links if any:
Website Link:

https://www.rolluper.xyz/en

Logo (High resolution, will be shown with rounded borders):
Current TVL:

Bitcoin:309305.9 USDT
Map Protocol: 309305.9 USDT

Treasury Addresses (if the protocol has treasury)

Bitcoin: https://geniidata.com/ordinals/address/bc1pv5lu5aklz64sye9f4zmnjkfg8j6s2tllu3fem4cs9t0hcrnz5e7qy0qw6e?ref=CU2CG4
Map Protocol: https://www.maposcan.io/address/0x57E9094f501573e6Eb7e19aCe9D8E263D11fc8ba#tokens

Chain:

Bitcoin, Map Protocol

Coingecko ID (so your TVL can appear on Coingecko, leave empty if not listed): (https://api.coingecko.com/api/v3/coins/list)
Coinmarketcap ID (so your TVL can appear on Coinmarketcap, leave empty if not listed): (https://api.coinmarketcap.com/data-api/v3/map/all?listing_status=active,inactive,untracked&start=1&limit=10000)
Short Description (to be shown on DefiLlama):

ROUP is the key channel for rolling up BRC20 assets to Bitcoin Layer2 trading, initiated by the community and with revenues fed back to the community.

Token address and ticker if any:

$Roup Bitcoin
$Roup Mapprotocol 0x5a1c3f3aae616146c7b9bf9763e0aba9bafc5eae

Category (full list at https://defillama.com/categories) *Please choose only one:

Cross chain

Oracle Provider(s): Specify the oracle(s) used (e.g., Chainlink, Band, API3, TWAP, etc.):
Implementation Details: Briefly describe how the oracle is integrated into your project:
Documentation/Proof: Provide links to documentation or any other resources that verify the oracle's usage:
forkedFrom (Does your project originate from another project):

No, it is built on our own

methodology (what is being counted as tvl, how is tvl being calculated):

The TVL is calculated through the Vault address on both Bitcoin and Map protocol, and the total supply of the minted tokens through ROUP on Map Protocol.

Github org/user (Optional, if your code is open source, we can track activity):

@llamatester
Copy link

The adapter at projects/roup exports TVL:

map                       207.22 k

total                    207.22 k 

Copy link
Member

@g1nt0ki g1nt0ki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am tempted to just close this PR, there is zero information about the project, you are counting both the token supply and token balance on a contract, why? there is no comment explaining this.

if roup is a bridge protocol, please provide the BTC address where the brc20 tokens are kept when you mint their equivalent on map protocol

@g1nt0ki g1nt0ki self-assigned this Feb 21, 2024
@llamatester
Copy link

Error while running adapter at projects/roup:

Error: Failed to get https://open-api.unisat.io/v1/indexer/address/bc1pv5lu5aklz64sye9f4zmnjkfg8j6s2tllu3fem4cs9t0hcrnz5e7qy0qw6e/brc20/summary
Truncated error stack:

    at get (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/projects/helper/http.js:32:11)
    at async sumTokens (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/projects/helper/chain/brc20.js:11:34)
    at async getTvl (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:64:23)
    at async /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:160:9
    at async Promise.all (index 0)
    at async Promise.all (index 2)
    at async /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:205:3

@llamatester
Copy link

Error while running adapter at projects/roup:

Error: Failed to get https://open-api.unisat.io/v1/indexer/address/bc1pv5lu5aklz64sye9f4zmnjkfg8j6s2tllu3fem4cs9t0hcrnz5e7qy0qw6e/brc20/summary
Truncated error stack:

    at get (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/projects/helper/http.js:32:11)
    at async sumTokens (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/projects/helper/chain/brc20.js:11:34)
    at async getTvl (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:64:23)
    at async /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:160:9
    at async Promise.all (index 0)
    at async Promise.all (index 2)
    at async /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:205:3

@butcher-blaviken
Copy link
Contributor Author

@g1nt0ki Hello, I provided the BTC addresses, do I need to configure anything else

@g1nt0ki
Copy link
Member

g1nt0ki commented Feb 22, 2024

@butcher-blaviken can you please fill in the project info in the PR description?

@llamatester
Copy link

Error while running adapter at projects/roup:

Error: Failed to get https://open-api.unisat.io/v1/indexer/address/bc1pv5lu5aklz64sye9f4zmnjkfg8j6s2tllu3fem4cs9t0hcrnz5e7qy0qw6e/brc20/summary
Truncated error stack:

    at get (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/projects/helper/http.js:32:11)
    at async Object.sumTokens (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/projects/helper/chain/brc20.js:11:34)
    at async getTvl (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:64:23)
    at async /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:160:9
    at async Promise.all (index 0)
    at async Promise.all (index 2)
    at async /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:205:3

@g1nt0ki g1nt0ki merged commit 740faf9 into DefiLlama:main Feb 22, 2024
1 check failed
@Define101
Copy link
Member

@butcher-blaviken at least provide the website and twitter links .....

@butcher-blaviken
Copy link
Contributor Author

@Define101 ok, done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants