1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

69 Commits

Author SHA1 Message Date
Bogdan Fazakas
810213c20c Revert "moved artifacts under src so to build starts"
This reverts commit 41fb836a4980f5a447dd9411037bd8f4618b7d24.
2022-01-11 10:35:28 +02:00
Bogdan Fazakas
41fb836a49 moved artifacts under src so to build starts 2022-01-11 09:47:41 +02:00
Bogdan Fazakas
a019491ed2 add used artifacts update imports and removed not used dependancies 2022-01-10 18:36:48 +02:00
mihaisc
bfddea15d5
Fix/update address (#1174)
* update

* small fix
2021-12-23 04:35:42 -08:00
mihaisc
8bcffc00a6
config and encrypt fixes (#1173)
* config and encrypt fixes

* small comment

* fix

* change in PoolCreationParams

* fix

* fixes

* fix fileinfo

* rename fileinfo -> checkFileUrl, add checkDidFiles

* ensure chainId is base 10

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-12-23 03:05:07 -08:00
mihaisc
1e0724abe1
add dispenser (#1170) 2021-12-21 02:04:50 -08:00
mihaisc
602f453985
Feature/didutils (#1163)
* add ddo utils, remove web3 params from some helper

* update web3, some fixes

* fix lint

* remove console logs

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* fixed lint

Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
2021-12-16 17:57:41 +02:00
mihaisc
c71da1d52d
update config url (#1149) 2021-12-10 03:49:21 -08:00
mihaisc
b81eb8fd8c
config (#1139) 2021-12-08 06:35:48 -08:00
Bogdan Fazakas
5e31a7ebcf added tests for NFTDatatoken class and some tweaks 2021-10-25 09:29:45 +03:00
Bogdan Fazakas
d354aff19f fixed lint in config helper 2021-10-21 11:53:44 +03:00
Bogdan Fazakas
09d1ea2970 temporary add address.json file locally until we can get it from contract artifacts 2021-10-21 11:52:06 +03:00
Alex Coseru
f317fdb0b9
bump contracts + add networks (#1059) 2021-10-04 17:10:19 +03:00
Alex Coseru
e934483853
add catenax network config (#1025) 2021-09-16 14:09:32 +03:00
02df3628ea
update Gaia-X RPC (#998) 2021-08-31 12:01:28 +03:00
998e492e69
add single metadataCacheUri for all networks (#919)
* requires Aquarius [`v3.0.0+`](https://github.com/oceanprotocol/aquarius/releases/tag/v3.0.0)
2021-07-30 14:29:28 +02:00
112816ea12
remove leading slash from all nodeUri (#922) 2021-07-22 13:11:14 +02:00
4fd1eae05c
update Polygon Mumbai explorerUri (#911) 2021-07-15 08:50:16 +02:00
2fa91836c1
update Gaia-X values (#906) 2021-07-13 15:02:26 +02:00
dependabot[bot]
5852b0a27d
Bump contracts to 0.6.4 (#837)
* Bump @oceanprotocol/contracts from 0.6.3 to 0.6.4

Bumps [@oceanprotocol/contracts](https://github.com/oceanprotocol/contracts) from 0.6.3 to 0.6.4.
- [Release notes](https://github.com/oceanprotocol/contracts/releases)
- [Changelog](https://github.com/oceanprotocol/contracts/blob/main/CHANGELOG.md)
- [Commits](https://github.com/oceanprotocol/contracts/compare/v0.6.3...v0.6.4)

---
updated-dependencies:
- dependency-name: "@oceanprotocol/contracts"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* use startBlock & chainId from contracts

* export network metadata

* less repetetive network metadata

* switch Polygon mainnet URLs

* typing fixes

* package bumps

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: alexcos20 <alex.coseru@gmail.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-06-22 16:25:20 +02:00
dependabot[bot]
ba64eeb39a
Bump prettier from 2.2.1 to 2.3.0 (#793)
* Bump prettier from 2.2.1 to 2.3.0

Bumps [prettier](https://github.com/prettier/prettier) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.2.1...2.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

* prettier updates

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-05-25 08:27:53 +02:00
Alex Coseru
92b4be0dce
Feature/dispenser (#790)
* add dispenser support

* bump contracts to 0.6.2
2021-05-10 18:42:19 +03:00
mihaisc
a1a7c444c7
Fix address.json import (#765)
* fix json import

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* remove console.log

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* Using common JS export

Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
2021-04-23 13:06:03 +03:00
Alex Coseru
ee7a5489c7
add moonbeamalpha (#751)
* add moonbeamalpha

* bump ocean-contracts

* lock file

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-04-22 19:29:36 +03:00
mihaisc
a39b9a416e
export provider, fix circular dependency (#750)
* export provider, fix circular dependency

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* lock file

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-04-16 13:20:24 +03:00
7201542f7a
add oceanTokenSymbol to ConfigHelper (#670) 2021-03-18 08:22:40 +02:00
b552f2f23e
add explorerUri for each network (#643) 2021-03-08 08:58:42 +02:00
mihaisc
34e40f81d9
Add polygon network (#627)
* add polygon network

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* package-lock

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* Update src/utils/ConfigHelper.ts

* Update ConfigHelper.ts

* Update ComputeFlow.test.ts

Increase sleep time for aqua

* Update Marketplaceflow.test.ts

increase sleep time for aqua

Co-authored-by: Alex Coseru <alex.coseru@gmail.com>
2021-02-23 21:45:40 +02:00
1b7d573434
add subgraphUri 2020-12-10 15:10:45 +01:00
Alex Coseru
70bab98848
add ropsten (#492)
* add ropsten

* bump contracts to 0.5.8

* bump contracts to 0.5.8
2020-12-10 10:56:32 +02:00
alexcos20
d361298039 logs/history speed optimizations 2020-11-06 07:34:23 -08:00
c53fe6ea5f
update metadataCacheUri & providerUri for mainnet 2020-10-23 14:04:23 +02:00
alexcos20
aba652ecc1 add mainnet uri 2020-10-22 05:48:47 -07:00
alexcos20
7558df6aa8 refactor confighelper to use ocean-contracts 2020-10-21 04:28:06 -07:00
Ahmed Ali
d574782b14 handle error messages 2020-10-15 17:52:33 +02:00
d0b4bb537e
metadataStore → metadataCache 2020-10-13 14:49:12 +02:00
alexcos20
eb60a4217f use addresses from contracts 2020-10-12 07:37:39 -07:00
alexcos20
46534324f5 fix type in Metadata 2020-10-02 06:06:25 -07:00
alexcos20
b78a57c59a update to contracts 0.5.3 2020-10-02 05:44:09 -07:00
alexcos20
45f377221c use networkID instead of chainId 2020-10-02 03:52:01 -07:00
alexcos20
92f0f4c92d use networkID instead of chainId 2020-10-02 03:46:39 -07:00
alexcos20
9b7f911934 bump contracts to 0.5.1 2020-10-01 03:57:14 -07:00
alexcos20
1c92c55586 update Rinkeby addresses for 0.5.0 2020-09-30 23:42:35 -07:00
9ed008979a
refactor getting local contract addresses 2020-09-25 12:23:52 +02:00
alexcos20
b0cd59f12c change MetadataContractAddress to metadataContractAddress 2020-09-23 02:28:48 -07:00
alexcos20
730cc31be2 bump contracts to 0.4.4 2020-09-23 02:23:00 -07:00
alexcos20
6ccf7b607e fix lint 2020-09-23 00:45:28 -07:00
alexcos20
6b2c7ea4ce use dtAddress as did 2020-09-23 00:36:46 -07:00
alexcos20
c37c169d6a add decentralized DDO 2020-09-15 01:08:47 -07:00
785aac3137
typing & test tweaks 2020-09-08 20:37:22 +02:00