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

81 Commits

Author SHA1 Message Date
Alex Coseru
e964b2a4a4
refactor signatures (#1395)
* refactor signatures
2022-04-14 16:52:12 +03:00
Miquel A. Cabot
d3246c5ae4 Merge branch 'v4main' into issue-1246-use-confighelper-in-tests 2022-03-22 15:43:48 +01:00
Alex Coseru
c01fb0756c
Feature/contracts alpha 25 (#1358)
* bump to contracts alpha 26

* update gasFeeMultiplier
2022-03-21 14:40:34 +02:00
Miquel A. Cabot
ac5bbf7922 use ip number instead of localhost in config file 2022-03-15 18:44:58 +01:00
mihaisc
d8a7d42a9e
fix moonbase urls (#1337)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-03-14 16:56:55 +02:00
mihaisc
b1eb329a81
fix url (#1325)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-03-03 19:43:54 +02:00
mihaisc
cd3360135c
update config endpoint (#1288)
* update config endpoint

* Update src/utils/ConfigHelper.ts

Co-authored-by: Alex Coseru <alex.coseru@gmail.com>

* Update src/utils/ConfigHelper.ts

Co-authored-by: Alex Coseru <alex.coseru@gmail.com>

* remove celo

* remove catena

Co-authored-by: Alex Coseru <alex.coseru@gmail.com>
2022-02-15 00:06:21 -08:00
Alex Coseru
91a4431938
update to contracts alpha.19 (#1286) 2022-02-14 18:36:15 +02:00
mihaisc
56a3aad20d
heleper+ remove old ibs (#1238)
* heleper+ remove old ibs

* fix tests

* fix gaslimt

* fix approve

* fix

* remove console.log

* upate package-lock
2022-01-25 08:32:55 -08:00
Bogdan Fazakas
5cb548ca59
replaced local artifacts with the published ones (#1232) 2022-01-20 04:39:58 -08:00
Bogdan Fazakas
4d60a16f6e added default contract options and gas in config 2022-01-12 22:56:36 +02:00
455d3343e1 remove os usage 2022-01-11 17:52:28 +00:00
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