Skip to content

Commit

Permalink
add CONTRIBUTING.md + update chains + add package.json exports
Browse files Browse the repository at this point in the history
  • Loading branch information
clbrge committed Jan 28, 2022
1 parent 94ed43b commit 9060a27
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 3 deletions.
27 changes: 27 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Contributing to svelte-ethers-store

Thanks for your interest in improving svelte-ethers-store! We welcome
contributions of all kinds: from discussion to documentation to
bugfixes to feature improvements.

Please review this document to help to streamline the process and save
everyone's precious time.

## Issues

No software is bug-free. So, if you got an issue, follow these steps:

- Search the [issue list](https://gitlab.com/clb1/svelte-ethers-store/-/issues) for current and old issues.
- If you find an existing issue, please UPVOTE the issue by adding a "thumbs-up reaction". We use this to help prioritize issues!
- If none of that is helping, create an issue with the following information:
- Clear title (shorter is better).
- Describe the issue in clear language.
- Share error logs, screenshots and etc.
- To speed up the issue fixing process, send us a sample repo with the issue you faced.

## Pull Requests (PRs)

We welcome all contributions.

You are encouraged to join the community on
[Discord](https://discord.gg/7yXuwDwaHF) to discuss your PR:
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020-2022 Christophe Le Bars <clb@toort.netk>
Copyright (c) 2020-2022 Christophe Le Bars <clb@toort.net>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 10 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,19 @@
"name": "svelte-ethers-store",
"version": "0.6.3",
"description": "Ethers.js library as a collection of stores for Svelte, Sapper or SvelteKit.",
"license": "MIT",
"repository": "gitlab:clb1/svelte-ethers-store",
"main": "dist/index.js",
"module": "dist/index.mjs",
"svelte": "src/stores.js",
"license": "MIT",
"repository": "gitlab:clb1/svelte-ethers-store",
"exports": {
"./package.json": "./package.json",
".": {
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"svelte": "./src/stores.js"
}
},
"author": {
"name": "Christophe Le Bars",
"email": "<[email protected]>"
Expand Down
24 changes: 24 additions & 0 deletions src/chains.js
Original file line number Diff line number Diff line change
Expand Up @@ -3775,6 +3775,30 @@ const chains = [
}
]
},
{
name: 'UB Smart Chain(testnet)',
chain: 'USC',
network: 'testnet',
rpc: [ 'https://testnet.rpc.uschain.network' ],
faucets: [],
nativeCurrency: { name: 'UBC', symbol: 'UBC', decimals: 18 },
infoURL: 'https://www.ubchain.site',
shortName: 'usctest',
chainId: 99998,
networkId: 99998
},
{
name: 'UB Smart Chain',
chain: 'USC',
network: 'mainnet',
rpc: [ 'https://rpc.uschain.network' ],
faucets: [],
nativeCurrency: { name: 'UBC', symbol: 'UBC', decimals: 18 },
infoURL: 'https://www.ubchain.site/',
shortName: 'usc',
chainId: 99999,
networkId: 99999
},
{
name: 'QuarkChain Mainnet Root',
chain: 'QuarkChain',
Expand Down

0 comments on commit 9060a27

Please sign in to comment.