Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 11:03
    dated synchronize #1612
  • 02:15
    codecov[bot] commented #1511
  • 02:15
    alexbarnsley synchronize #1511
  • 02:15

    alexbarnsley on 2.6-tx-types

    test: multi-sign transaction fo… refactor: multi-sign transactio… test: second signature transact… and 4 more (compare)

  • Jan 22 21:05
    davimello28 commented #1613
  • Jan 22 20:46
    renovate[bot] edited #1588
  • Jan 22 20:46
    renovate[bot] edited #1608
  • Jan 22 20:46
    renovate[bot] edited #1607
  • Jan 22 19:02
    renovate[bot] edited #1588
  • Jan 22 19:02
    renovate[bot] edited #1608
  • Jan 22 19:02
    renovate[bot] edited #1607
  • Jan 22 18:28
    davimello28 commented #1614
  • Jan 22 16:13
    renovate[bot] edited #1608
  • Jan 22 16:13
    renovate[bot] edited #1607
  • Jan 22 15:41
    codecov[bot] commented #1511
  • Jan 22 15:41
    alexbarnsley synchronize #1511
  • Jan 22 15:41

    alexbarnsley on 2.6-tx-types

    test: delegate registration tra… test: call unmocked wallet serv… test: add missing to bridgechai… and 1 more (compare)

  • Jan 22 14:01
    davimello28 labeled #1619
  • Jan 22 14:01
    davimello28 labeled #1618
  • Jan 22 14:00
    davimello28 opened #1619
matrixbot
@matrixbot
Riot-bot posted an image: Hi there and welcome to Riot!
Riot-bot Hi there and welcome to Riot! My name is Riot-bot and I am here to help you get started using Riot. Would you like me to show you around the features of Riot?
Brady
@bradyo

Anybody know why I might be getting this error when requesting peers on port 4001?

curl -X GET http://185.233.104.31:4001/api/peers -H "API-Version: 1"
{"error":"should have required property 'port'","success":false}

The only endpoint I see requiring port param looks like the GET /api/peer/get

Brady
@bradyo
I got my question answered in the slack chat
Michael
@michaelthecryptoguy
Good
matrixbot
@matrixbot
Riot-bot Right, let's begin...
Riot-bot Let's start with a quick video that shows you how to start a 1:1 chat
Riot-bot Starting a 1:1 chat
Riot-bot Would you like another tip?
davide pacelli
@pacellidavide_twitter
Hi
do we have any web wallet?
James Booker
@jamesbooker
@faustbrian are you active
James Booker
@jamesbooker_gitlab
nvm
Moustikitos
@Moustikitos
hi there,
are there issues reported with vote transaction type ?
>>> w.downVote("darktoons")
{
  "asset": {
    "votes": [
      "-03a02b9d5fdd1307c2ee4652ba54d492d1fd11a7d1bb3f3a44c4a05e79f19de933"
    ]
  },
  "fee": 57443112,
  "id": "18d2b7c424f11ee4d19eb50c557fbac43813b2f54d784fa288b3201bbcc9476a",
  "recipientId": "DGuuCwJYoEheBAC4PZTBSBasaDHxg2e6j7",
  "senderId": "DGuuCwJYoEheBAC4PZTBSBasaDHxg2e6j7",
  "senderPublicKey": "037926f9f503d71be4780821ee91b7b295b73c40d6b135ebc1947fcbc852ec5415",
  "signature": "3045022100d63a5a1d0970265fdbcd8951b9ca3406de1398fc0ce2a3ab3e9287603ae2c9130220753a97f86730ad977b2607a93eedb390626900e2a0643a94d62416950643c93a",
  "timestamp": 67563413,
  "type": 3
}
{'data': {'accept': [], 'broadcast': [], 'excess': [], 'invalid': ['18d2b7c424f11ee4d19eb50c557fbac43813b2f54d784fa288b3201bbcc9476a']}, 'errors': {'18d2b7c424f11ee4d19eb50c557fbac43813b2f54d784fa288b3201bbcc9476a': [{'type': 'ERR_UNKNOWN', 'message': "Cannot read property 'toFixed' of undefined"}]}}
>>> w.upVote("darktoons")
{
  "asset": {
    "votes": [
      "+03a02b9d5fdd1307c2ee4652ba54d492d1fd11a7d1bb3f3a44c4a05e79f19de933"
    ]
  },
  "fee": 57443112,
  "id": "c02abebc7f2f127255933ed89271800cc215f1471fe966403100d492bdfd260a",
  "recipientId": "DGuuCwJYoEheBAC4PZTBSBasaDHxg2e6j7",
  "senderId": "DGuuCwJYoEheBAC4PZTBSBasaDHxg2e6j7",
  "senderPublicKey": "037926f9f503d71be4780821ee91b7b295b73c40d6b135ebc1947fcbc852ec5415",
  "signature": "304402202897d608cb19920c138d87ed90363a8607f1fd1920a23b55dd4dbc196927ed600220612394041292f60a41ef8a71b50abeac52db1ee35900eb55a6aab27abd8bcd65",
  "timestamp": 67563432,
  "type": 3
}
{'data': {'accept': [], 'broadcast': [], 'excess': [], 'invalid': ['c02abebc7f2f127255933ed89271800cc215f1471fe966403100d492bdfd260a']}, 'errors': {'c02abebc7f2f127255933ed89271800cc215f1471fe966403100d492bdfd260a': [{'type': 'ERR_UNKNOWN', 'message': "Cannot read property 'toFixed' of undefined"}]}}
>>>
on devnet
someone can help about the Cannot read property 'toFixed' of undefined message ? thanks
got no issues with transfer tx :
>>> w.send(1, "DDC7kWToyvfKa8dvRTXitr7o5FHMVKtBve")
{
  "amount": 100000000,
  "asset": {},
  "fee": 717405,
  "id": "7cce94f68297132f8f07e7177e8c9a69d02feb8a1614431f0a5744d272d7309e",
  "recipientId": "DDC7kWToyvfKa8dvRTXitr7o5FHMVKtBve",
  "senderId": "DGuuCwJYoEheBAC4PZTBSBasaDHxg2e6j7",
  "senderPublicKey": "037926f9f503d71be4780821ee91b7b295b73c40d6b135ebc1947fcbc852ec5415",
  "signature": "304502210090e80caf83fb8eb69eb7bc2e822f464558f87eab0cd435cff2513dd68e27f41802203652bc6fee7516b2578f8728ec3e9ef7c9c38dec09c6624552eca350eea6c9d8",
  "timestamp": 67563623,
  "type": 0
}
{'data': {'accept': ['7cce94f68297132f8f07e7177e8c9a69d02feb8a1614431f0a5744d272d7309e'], 'broadcast': ['7cce94f68297132f8f07e7177e8c9a69d02feb8a1614431f0a5744d272d7309e'], 'excess': [], 'invalid': []}}
>>>
cathul3
@cathul3
hey, might not be the place to ask, how do I change the port ark-explorer is running?
right now it keeps trying 80 and getting Error: listen EACCES: permission denied 0.0.0.0:80
I want to go back to default, 4200
Bittylicious
@Bittylicious__twitter
Hello all. We're getting started on the Ark integration with Bittylicious.
We did some work against v1 but are now starting afresh with v2
Is anyone around to give some assistance?
Bittylicious
@Bittylicious__twitter
I'll move over to Slack as that's where all the cool kids appear to be nowadays.
Jesus The Hun
@JesusTheHun
hi, can you store custom data and retrieve it during a canEnterTransactionPool () check ? I would like to enforce a unique ID
Kristjan Kosic
@kristjank
Hi all. Please jump over to https://ark.io.slack and join devnet or help channel
@JesusTheHun for storing custom data its best to develop you own custom transaction. while still in beta, you can test it, add your own verification/validation logic, etc... i recommend you check this tutorial. https://docs.ark.io/tutorials/core/how-to-write-custom-transactions.html
then you can add more custom logic to you verification
Moustikitos
@Moustikitos
hello there, can someone give me the serialization of tx below ?
{
  "amount": 100000000,
  "asset": {},
  "expiration": 0,
  "fee": 127819444,
  "id": "fe96a72d78373ca6c4dc5bc83eba444f7565367a513fce2c9b02bef90b935cbd",
  "network": 30,
  "nonce": 377,
  "recipientId": "D7seWn8JLVwX4nHd9hh2Lf7gvZNiRJ7qLk",
  "senderId": "D7seWn8JLVwX4nHd9hh2Lf7gvZNiRJ7qLk",
  "senderPublicKey": "03a02b9d5fdd1307c2ee4652ba54d492d1fd11a7d1bb3f3a44c4a05e79f19de933",
  "signSignature": "da3bf53b5c07824e2f473b1915d434b1a95b9acd9c4df9f53bc7b7606ccc8a0de876863fa1884e7aa6b6afca30f5a4e06ffaf3d288b5005843794f3c78c9a9c3",
  "signature": "80b22c490d3ac58b505992de2ba4e55458795a82f87bc9d11a209cadd96fa29f34a0143e5fcca3b085388988eac350705ab39951c5430d5bd2ffd0cc32055fc6",
  "timestamp": 82277685,
  "type": 0,
  "typeGroup": 1,
  "vendorField": "test",
  "version": 2
}
thanks
i try to produce valid schnorr signature in python using :
https://github.com/sipa/bips/blob/bip-schnorr/bip-schnorr/reference.py
got this answer :
{'data': {'accept': [], 'broadcast': [], 'excess': [], 'invalid': ['fe96a72d78373ca6c4dc5bc83eba444f7565367a513fce2c9b02bef90b935cbd']}, 'errors': {'fe96a72d78373ca6c4dc5bc83eba444f7565367a513fce2c9b02bef90b935cbd': [{'type': 'ERR_BAD_DATA', 'message': "Transaction didn't pass the verification process."}]}}
i think my issue is in the tx serialization :
ff021e0100000000790100000000000003a02b9d5fdd1307c2ee4652ba54d492d1fd11a7d1bb3f3a44c4a05e79f19de933b45e9e0700000000047465737400e1f50500000000000000001e1dfc69b54c7fe901e91d5a9ab78388645e2427ea80b22c490d3ac58b505992de2ba4e55458795a82f87bc9d11a209cadd96fa29f34a0143e5fcca3b085388988eac350705ab39951c5430d5bd2ffd0cc32055fc6da3bf53b5c07824e2f473b1915d434b1a95b9acd9c4df9f53bc7b7606ccc8a0de876863fa1884e7aa6b6afca30f5a4e06ffaf3d288b5005843794f3c78c9a9c3fe96a72d78373ca6c4dc5bc83eba444f7565367a513fce2c9b02bef90b935cbd
Daniil
@dvneverov
Hi! We are up to using ARK on one of our projects. I have a question about testnet.
Is it possible to start using SDK without deploying relay node?
As it said in public API docs:
"If you are not running a relay yourself you can use https://api.ark.io/api/ to test API calls. Happy developing!", but this one is mainnet API. And we wanted to start developing at testnet.
Also, do you have something like TestNet Faucet, same as in other blockchains to claim free ARKs for testing purposes?
Thanks in advance
Kristjan Kosic
@kristjank
hi @dvneverov
its easy to start local testnet like 2 minutes, it depends what you project includes...
check the updated guides and resources on https://learn.ark.dev
for API (SDK) testing you can use https://api.ark.io/api/ as endpoint or also https://dexplorer.ark.io/api
curl https://dexplorer.ark.io/api/transactions
detailed api documentation is here https://api.ark.dev and sdk docs are at https://sdk.ark.dev
Kristjan Kosic
@kristjank
then you can just check the passwords file and use the API. when running a local testnet node -> just redirect all API calls to it, as it simulates the whole dpos network on a single computer with minimal resources
for devnet api - redirect calls to one of devnet peers or to https://dexplorer.ark.io/api
devnet is running on v.2.6-next
https://devnet.money/ will get you DARK tokens for devnet testing
and Have Fun
Daniil
@dvneverov
@kristjank Have just connected to devnet via sdk, works like a charm. Thank you very much!
Kristjan Kosic
@kristjank
Great @dvneverov